SoulFire TypeScript SDK 2.10.3
    Preparing search index...

    Type Alias PortTypeMetadata

    PortTypeMetadata: Message<"soulfire.v1.PortTypeMetadata"> & {
        color: string;
        compatibleFrom: PortType[];
        displayName: string;
        edgeStyle: EdgeStyle;
        handleShape: HandleShape;
        portType: PortType;
    }

    Metadata for a port type, enabling data-driven port rendering.

    Type Declaration

    • color: string

      Display color for this port type (hex color code, e.g., "#22c55e").

      from field: string color = 2;

    • compatibleFrom: PortType[]

      List of port types that can be implicitly converted to this type. Used for connection validation. Empty means only exact matches allowed.

      from field: repeated soulfire.v1.PortType compatible_from = 4;

    • displayName: string

      Human-readable name for this port type.

      from field: string display_name = 3;

    • edgeStyle: EdgeStyle

      Visual style for edges of this port type.

      from field: soulfire.v1.EdgeStyle edge_style = 6;

    • handleShape: HandleShape

      Shape of the handle for this port type in the visual editor.

      from field: soulfire.v1.HandleShape handle_shape = 5;

    • portType: PortType

      The port type this metadata applies to.

      from field: soulfire.v1.PortType port_type = 1;

    from message soulfire.v1.PortTypeMetadata