MAIDR JavaScript API
    Preparing search index...

    Interface EChartsGraphEdge

    One link of a graph series.

    interface EChartsGraphEdge {
        node1: EChartsGraphNode;
        node2: EChartsGraphNode;
        getValue: (dimension: string) => number | null | undefined;
        getVisual?: (key: string) => unknown;
        getLayout?: () => unknown;
    }
    Index

    Properties

    The node the link leaves.

    The node it arrives at.

    getValue: (dimension: string) => number | null | undefined

    One of the link's own dimensions -- 'value' is the flow.

    getVisual?: (key: string) => unknown

    One resolved visual of the link -- 'fromSymbol' and 'toSymbol' are the marks drawn at its node1 and node2 ends, after a link's own symbol has overridden the series' edgeSymbol.

    getLayout?: () => unknown

    Where the link was drawn: its two ends, node1's first, then the control point of a curved link -- in the chart's pixels.