algonim
    Preparing search index...

    Displays an interconnected network of Nodes.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    roots: Node | Iterable<Node, any, any> | undefined = undefined

    Nodes from which drawing begins. When drawing, outgoing edges are automatically followed to discover more nodes to draw.

    defaultBorder: Border = ...

    Border used when a node doesn't specify its own.

    edgeLineStyle: Partial<LineStyle> = {}

    Style applied to lines of edges, including the arrow heads.

    edgeArrowStyle: Partial<ArrowStyle> = {}

    Style applied to arrow heads of edges.

    textStyle: Partial<FontStyle> = {}

    Style applied to node content.

    Methods

    • Creates and connects nodes based on a layout object. Also sets these as the roots.

      Parameters

      Returns { [key: string]: Node }