Subgraph.link

Links two edge slots within this subgraph.

The updated out-edge's color will be automatically set to match slot's'.

  1. err_t link(NodeType* node, InEdge* slot)
  2. err_t link(NodeType* node, InEdge slot)
    struct Subgraph
    @nogc nothrow pragma(inline)
    link
    (
    string member
    NodeType
    )
    (
    NodeType* node
    ,)
  3. err_t link(NodeType* node, size_t index, InEdge* slot)
  4. err_t link(NodeType* node, size_t index, InEdge slot)

Parameters

node NodeType*

Node being updated.

slot InEdge

Target slot.