SoulFire TypeScript SDK 2.10.3
    Preparing search index...
    ScriptEdge: Message<"soulfire.v1.ScriptEdge"> & {
        edgeType: EdgeType;
        id: string;
        order?: number;
        source: string;
        sourceHandle: string;
        target: string;
        targetHandle: string;
    }

    Represents a connection between two nodes in the visual script graph. Edges define how execution flows and how data passes between nodes.

    Type Declaration

    • edgeType: EdgeType

      The type of this edge, determining whether it carries execution flow or data.

      from field: soulfire.v1.EdgeType edge_type = 6;

    • id: string

      Unique identifier for this edge within the script. Format: UUID string.

      from field: string id = 1;

    • Optionalorder?: number

      Explicit order for edges targeting the same multi-input port. Lower values are materialized first. Ignored for non-multi-input ports.

      from field: optional int32 order = 7;

    • source: string

      The ID of the source node where this edge originates. Must reference a valid node ID in the script's nodes list.

      from field: string source = 2;

    • sourceHandle: string

      The handle/port identifier on the source node. Identifies which output port of the source node this edge connects from. Examples: "exec_out", "value", "true", "false".

      from field: string source_handle = 3;

    • target: string

      The ID of the target node where this edge terminates. Must reference a valid node ID in the script's nodes list.

      from field: string target = 4;

    • targetHandle: string

      The handle/port identifier on the target node. Identifies which input port of the target node this edge connects to. Examples: "exec_in", "message", "condition".

      from field: string target_handle = 5;

    from message soulfire.v1.ScriptEdge