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

Easily find a specific gav in the graph #27

Open
MatanRubin opened this issue Nov 24, 2016 · 1 comment
Open

Easily find a specific gav in the graph #27

MatanRubin opened this issue Nov 24, 2016 · 1 comment

Comments

@MatanRubin
Copy link
Contributor

Hi,
Great project, thanks for making it!
It would be great if you could easily search for a GAV within the graph and the center the graph on it, show only its direct links, etc.

Matan

@ltearno
Copy link
Owner

ltearno commented Dec 8, 2016

Great idea, for the next version ;)

Meanwhile, i guess you are already using the customizable javascript functions to display your specific GAV project with a specific color and size, as in this example :

node: function(node) {
  var size = 21 + node.links.length * 0;
  var color = 0xffffff;
  if(node.data.groupId=="com.mycompany" && node.data.artifactId=="my-artifact") {
    color = 0xff2211;
    size = 100; // very big !!!
  }
  return { size:size, color:color };
},

Is that enough for the moment ?
Thanks

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

2 participants