element_51.modelΒΆ
Records for node types and graphs.
Every record is immutable and refuses unknown fields. The JSON these produce is the format the browser layer reads, so field names are a contract with rust/element-51-core/src/model.rs.
Functions
|
Whether an output of type source may feed an input of type target. |
|
Find the input name of a node type, rows that grow included. |
|
Whether value is something a port of type kind can carry. |
|
Read the row number from a port name. |
Classes
|
The nodes and links the user has built. |
|
A link from an output port to an input port. |
|
Base for every record in this project: immutable, no unknown fields. |
|
The shape of a node: its name and its ports, in drawing order. |
|
A node placed in the graph. |
|
One input or output of a node type. |
|
One end of a link: a port on a node in the graph. |
|
The type of a port. |
|
A node type whose inputs grow as they are linked. |