featherbit UI
    Preparing search index...

    Function splitEdge

    • Splits a node_id.port edge endpoint into its node id and port.

      Splits on the last dot so node ids containing dots stay intact; an endpoint with no dot yields the default port out.

      Parameters

      • endpoint: string

        Endpoint string such as upstream.error or listener.out.

      Returns [string, string]

      Tuple of [nodeId, port].

      TypeScript counterpart of parse_edge_endpoint in src/graph/engine.rs — the two must agree for policies to round-trip between UI and gateway.