algonim
    Preparing search index...

    Graph node with a position that can contain any value.

    Index

    Constructors

    Properties

    connections: Set<Node> = ...

    Set of other nodes to draw outgoing edges to. If this node is also in the other node's connection set, then the edge is bidirectional.

    position: Point = ...

    Position of the center of the node relative to the top-left corner of the model's drawing area.

    value: any = null

    Content drawn in the node.

    hideValue: boolean = false

    Whether to hide the value. Useful if the value is not always relevant.

    border: Border | null = null

    Border around value. Border is designed to be stateless, so multiple nodes are free to share border instances.

    Methods

    • Adds all nodes reachable via outgoing edges to the given set, always including this one.

      Parameters

      Returns void