ConstructionKit::GraphData
Inherits JSON::Serializable < Reference < Object
The graph data structure (nodes + edges), used at every scope level
Constructors
new(pull : JSON::PullParser)
Sourcenew(nodes : Array(ConstructionKit::Node) = [] of Node, edges : Array(ConstructionKit::Edge) = [] of Edge)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
edges
SourceFind all edges coming from a specific node+port
Find all edges going into a specific node+port
nodes
Source