ltearno / pom-explorer

A tool to aid managing lots of maven projects
MIT License
371 stars 65 forks source link

Easily find a specific gav in the graph #27

Open MatanRubin opened 7 years ago

MatanRubin commented 7 years ago

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 commented 7 years ago

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