Skip to content

FEATURE - varying width flows #95

@SubjunctiveQuaver

Description

@SubjunctiveQuaver

It would be great if there was a feature for flows to be of varying width from the left node to the right node. While this does suggest that values are not being directly conserved, it would be used to show a change in units or weightings.

This will allow for rebalancing of node sizes where the default flows are misrepresenting the actual throughput of the nodes (e.g. some flows are important but tiny in size due to low volume). Another use case would be to represent flows as a % of the total input/output of each node.

An example of what you would be able to do is:

// Old, misrepresented because A2, B2 cost 100x as much as A1, B1
A1 [500] B1
A1 [5] B2
A2 [3] B1
A2 [2] B2
// New, with A2 and B2 weights implicitly set to 100
A1 [500, 500] B1
A1 [5, 500] B2
A2 [300, 3] B1
A2 [200, 200] B2

// Final amounts reflect relative importance of nodes:
// A1: 500+5=505
// A2: 300+200=500
// Total left: 505+500=1,005
// B1: 500+3=503
// B2: 500+200=700
// Total right: 503+700=1,203

// Total unweighted throughput balances
// A1 (weight 1): (500+5)/1=505
// A2 (weight 100): (300+200)/100=5
// Total left: 505+5=510
// B1 (weight 1): (500+3)/1=503
// B2 (weight 100): (500+200)/100=7
// Total right: 503+7=510

See an example here of an implementation I found on Tableau.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions