Skip to content
This repository was archived by the owner on Nov 7, 2018. It is now read-only.

Conversation

fuzzcan
Copy link

@fuzzcan fuzzcan commented Mar 21, 2014

Incoming source links to a node are sorted by the angle between the
source and target nodes, rather than their difference in y. It produces
cleaner diagrams, and has a customizable weighting factor to give more
weight to the x difference between nodes. The default value of 3 seems
to work well.

Without sorting fix - most obvious at the "Electricity Generation" node:
olddiagram

With the fix - better sorting at all nodes, especially "Electricity Generation" and "Conversion Losses":
fixeddiagram

Incoming source links to a node are sorted by the angle between the
source and target nodes, rather than their difference in y. It produces
cleaner diagrams, and has a customizable weighting factor to give more
weight to the x difference between nodes. The default value of 3 seems
to work well.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant