-
Notifications
You must be signed in to change notification settings - Fork 79
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
[change] Show node labels only after hitting a certain zoom level #148
Labels
Comments
totallynotvaishnav
added a commit
that referenced
this issue
Sep 20, 2022
totallynotvaishnav
added a commit
that referenced
this issue
Sep 20, 2022
totallynotvaishnav
added a commit
to totallynotvaishnav/netjsongraph.js
that referenced
this issue
Nov 15, 2022
totallynotvaishnav
added a commit
that referenced
this issue
Nov 16, 2022
I am reopening this because I found out how to do this: graph.echarts.on('graphRoam', function(e) {
console.log(graph.echarts.getOption().series[0].zoom);
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently, when we zoom out too much the labels of the nodes look cluttered and they are unreadable. We should allow the library to configure the level of zoom at which we want to start seeing node labels.
The text was updated successfully, but these errors were encountered: