-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to line up paths #15
Comments
How to change link color. |
Hi @mattbue ! You'll want your data arranged so that each row is a full path.... So you'll want an extra column like so: Hope this makes sense? |
Also, sorry for the late response. I haven't been getting notifications to my email for these for some reason 😢 |
@zinko There is an option to change link color to a single color and then it should let you select it. |
Seeing that this library is using d3-sankey underneath, I don't understand why there's this requirement of an additional column? If you add the author's data to the example page over at d3 you'll get this: If you try to solve this with an extra column in this plugin, then you end up having all sources going through that hop before reaching the right side and that is not always the case. This is actually the exact problem I'm facing myself and there seems to be no way around it even to the d3 library supports that use case. I think there is somewhat of a limitation in this plugin 🤔. |
Hi,
I'm trying to use this plugin to visualize an energy distribution beginning from feeding point going to buildings and ending on the floors. Data is coming from mariadb table:
This results the following diagram:
What needs to be changed so that the 'paths' are lined up?
The text was updated successfully, but these errors were encountered: