Node Graphs (Ramen) #21

Open
opened 2022-08-19 20:59:11 +00:00 by robotcritter · 0 comments
Owner

Node structure

Each node instance needs:

  • Node kind ID
  • Vector of optional input connectors
  • Vector of optional output connectors

User-definable aspects

  • Connectors (pins)
  • Nodes

Requisites

  • Deterministic allocation of node IDs
  • Deterministic way to refer to connections between inputs/outputs
  • Strong error handling for all the operations
  • Prevention of cyclic connections (topological node indices could be used here; node_0 -> node_1 is valid, node_1 -> node_0 is not, etc.)
  • Command pattern for interacting with nodes for undo/redo support, etc.
  • Unit testing
## Node structure Each node instance needs: - Node kind ID - Vector of optional input connectors - Vector of optional output connectors ### User-definable aspects - Connectors (pins) - Nodes ### Requisites - Deterministic allocation of node IDs - Deterministic way to refer to connections between inputs/outputs - Strong error handling for all the operations - Prevention of cyclic connections (topological node indices could be used here; node_0 -> node_1 is valid, node_1 -> node_0 is not, etc.) - Command pattern for interacting with nodes for undo/redo support, etc. - Unit testing
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: cyborg/cyborg#21
No description provided.