MAIDR JavaScript API
    Preparing search index...

    Function directedGraphLayer

    • Builds the layer.

      An edge that starts or ends on a group -- subgraph --> node in a flowchart, a transition into a composite state -- is drawn from the group as a whole, so it is read as an edge from the nodes the group ends on, or to the nodes it starts on. A group no node sits in has nothing to open and is left out, as a directed graph derives its scopes from its nodes.

      Parameters

      Returns MaidrLayer | null

      The layer, or null when the diagram has no nodes