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

This framework can respond to node mouse events? If can, how to use? #27

Open
hzy729 opened this issue Jan 18, 2017 · 5 comments
Open

Comments

@hzy729
Copy link

hzy729 commented Jan 18, 2017

This framework can respond to node mouse events? If can, how to use?

@mstefaniuk
Copy link
Owner

Currently there is no way to receive mouse events. What do you mean by respond to?

@hzy729
Copy link
Author

hzy729 commented Jan 19, 2017

respond to mouse Click ,for example :click a node , jump to a url for get info .

@mstefaniuk
Copy link
Owner

URL on node is supported by Graphviz format itself but not supported in my online version. It can be fixed quite quickly. Do you find any other usages of click handlers than following a link?

mstefaniuk added a commit that referenced this issue Jan 23, 2017
@PEZO19
Copy link

PEZO19 commented May 3, 2017

+1 Would be nice to merge (mouse) selected nodes into a big one, and after click on big node it would expand to its original parts. Is it hard to do with current setup? I'd like to help to create this feature.

@mstefaniuk
Copy link
Owner

@PEZO19 This graphviz renderer generates final result from dot source using viz.js. If you want to hide several nodes into one it can be achieved using only by modification of original dot source.
We can consider one simplification that hidden nodes must be already grouped in subgraph and then rendering will replace subgraphs with a node and then clicking on a node will re-render stage with hidden content.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants