Expand description
A node in the physical track graph.
ModulesΒ§
- commands π
- connection π
- manager π
StructsΒ§
- Connection
- Node
Connections - Keeps track of node connections. Stores them in a vector, with
alloc_mapkeeping track of which spaces in the vector are allocated and which are not. Empty spaces are marked with Option::None in the inner vector. - Remove
Connection For - Removes a nodeβs connection with
segmentand despawns it if no connections remain - Track
Node - A node in the physical track graph.
EnumsΒ§
ConstantsΒ§
- MAX_
CONNECTIONS π - STATIC_
CONNECTIONS π
FunctionsΒ§
- on_
node_ press_ window - Observer that listens for pointer presses on nodes and opens editing windows