Skip to content
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

Sankey highlight entire link path #156

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

nredell
Copy link

@nredell nredell commented Oct 15, 2016

I found this functionality--on mouseover, highlight a link's entire path when it runs through multiple nodes--useful when I needed to trace a number of individual links/variables through an entire network.

These changes add an optional "LinkName" argument which will support highlighting an individual variable's entire path through the Sankey diagram.
These changes allow someone to see a given variable's path the the entire diagram. A subtitle that contains the link/variable name was added to the tooltip.
Changed 'ds.' typos to .d3.' Changed the mouseout on link highlight to return the link to normal opacity.
Final commit for this functionality...the LinkName appears in parentheses when the argument is specified and is absent when it's not.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants