Dungeon Architect  17.0.0
DungeonArchitect.Graphs.GraphSchema Class Reference

The graph schema defines the rules of the theme graph More...

Inheritance diagram for DungeonArchitect.Graphs.GraphSchema:
DungeonArchitect.Editors.Flow.FlowExecGraphSchema DungeonArchitect.Editors.SnapFlow.SnapEdExecutionGraphSchema DungeonArchitect.Editors.SnapFlow.SnapEdGrammarGraphSchema DungeonArchitect.Graphs.ThemeGraphSchema

Public Member Functions

virtual bool CanCreateLink (GraphPin output, GraphPin input)
 Checks if a link between the two nodes can be created More...
 
virtual bool CanCreateLink (GraphPin output, GraphPin input, out string errorMessage)
 

Detailed Description

The graph schema defines the rules of the theme graph

Definition at line 8 of file GraphSchema.cs.

Member Function Documentation

◆ CanCreateLink() [1/2]

virtual bool DungeonArchitect.Graphs.GraphSchema.CanCreateLink ( GraphPin  output,
GraphPin  input 
)
virtual

Checks if a link between the two nodes can be created

Parameters
outputThe pin from which the link originates and goes out
inputThe pin where the link points to
Returns
true, if the link is allowed, false otherwise

Definition at line 16 of file GraphSchema.cs.

◆ CanCreateLink() [2/2]

virtual bool DungeonArchitect.Graphs.GraphSchema.CanCreateLink ( GraphPin  output,
GraphPin  input,
out string  errorMessage 
)
virtual

Parameters
outputThe pin from which the link originates and goes out
inputThe pin where the link points to
errorMessage
Returns
true, if the link is allowed, false otherwise

Reimplemented in DungeonArchitect.Graphs.ThemeGraphSchema, DungeonArchitect.Editors.SnapFlow.SnapEdGrammarGraphSchema, DungeonArchitect.Editors.SnapFlow.SnapEdExecutionGraphSchema, and DungeonArchitect.Editors.Flow.FlowExecGraphSchema.

Definition at line 29 of file GraphSchema.cs.


The documentation for this class was generated from the following file: