Expand description
Graph topology types for flow-based development networks.
This module defines the static structure of a network: nodes, ports, edges, and the conditions that govern packet flow (salvo conditions).
Structs§
- Edge
- A connection between two ports in the graph.
- Graph
- The static topology of a flow-based network.
- Node
- A processing unit in the graph with input and output ports.
- Port
- A port on a node where packets can enter or exit.
- PortRef
- A reference to a specific port on a specific node.
- Salvo
Condition - A condition that defines when packets can trigger an epoch or be sent.
Enums§
- Graph
Validation Error - Errors that can occur during graph validation
- MaxSalvos
- Specifies the maximum number of times a salvo condition can trigger.
- Packet
Count - Specifies how many packets to take from a port in a salvo.
- Port
Slot Spec - Specifies the capacity of a port (how many packets it can hold).
- Port
State - A predicate on the state of a port, used in salvo conditions.
- Port
Type - Whether a port is for input or output.
- Salvo
Condition Term - A boolean expression over port states, used to define when salvos can trigger.
Functions§
- evaluate_
salvo_ condition - Evaluates a salvo condition term against the current port packet counts.
Type Aliases§
- Node
Name - The name of a node in the graph.
- Port
Name - The name of a port on a node.
- Salvo
Condition Name - The name of a salvo condition.