GoJS API
/ to search
    Preparing search index...

    Enumeration LayeredDigraphLayering

    This enumeration specifies how LayeredDigraphLayout.assignLayers assigns each node of the graph to a layer. Used for LayeredDigraphLayout.layeringOption.

    since

    3.0

    Index

    Enumeration Members

    LongestPathSink: 11

    Assign layers using longest path sink layering, so that nodes are placed in the latest layer possible possibly resulting in longer links to nodes at the last/deepest layers.

    LongestPathSource: 12

    Assign layers using longest path source layering, so that nodes without any predecessors are placed in the first layer possibly resulting in longer links from nodes at the first/shallowest layers.

    OptimalLinkLength: 10

    Assign layers using optimal link length layering, so that links tend to cross the fewest number of layers.