Class Port
Represents a connection point on a node where edges can attach. Ports define the interface for data flow between nodes.
public record Port : IEquatable<Port>
- Inheritance
-
Port
- Implements
- Inherited Members
Properties
Id
Unique identifier for the port within its node.
public required string Id { get; init; }
Property Value
Label
Optional display label for the port.
public string? Label { get; init; }
Property Value
Position
The position of the port on the node. If null, defaults to Left for inputs and Right for outputs.
public PortPosition? Position { get; init; }
Property Value
Type
The data type that this port accepts or produces. Used for connection validation.
public required string Type { get; init; }