MAIDR JavaScript API
    Preparing search index...

    Interface FlowPoint

    One weighted flow of a sankey, alluvial or chord diagram.

    A flow names both of its ends, so the nodes are derived from the edges and a separate node list would be a second source of truth for something the data already says -- the treemap's reasoning about paths, applied to a graph. Each is placed one column past the furthest node feeding it, and a column is in order of first appearance, unless the layer says where they were drawn (FlowOptions.columns).

    { source: 'Coal', target: 'Electricity', value: 34 }
    
    interface FlowPoint {
        source: string | number;
        target: string | number;
        value: number;
    }
    Index

    Properties

    Properties

    source: string | number

    The node the flow leaves.

    target: string | number

    The node it arrives at.

    value: number

    How much flows.