The "Show Dependency Graph" is nice (including the "Classpath" view) but less readable than a simple:
What about displaying this "Dependency Tree" using a JTree or something similar?
Even better: this "Dependency Tree" could be used to display Jars in the "Project" view.
Reassigning to default owner.
Doing this in the Projects view does not look like it would work well; subnodes of artifacts are already the JAR contents. But I can at least improve indirect dependencies to show their trail, in the tool tip.
Integrated into 'main-golden'
User: Jesse Glick <email@example.com>
Log: Noted in #181517: display dependency trail (where nontrivial) in a tool tip.
What about putting the dependency tree in the Artifact Detail view instead of a tooltip?
The Artifact Detail window is used for artifacts, whereas only dependencies have a trail. (A dependency is an artifact, plus a trail, plus a scope, etc.)
*** Bug 204681 has been marked as a duplicate of this bug. ***
Possible NetFIX candidate.
How about providing some more layouts?
In DependencyGraphScene.cleanLayout() you could use several other layouts.
//Variant a) Hierarchical GraphLayout
GraphLayout layoutGraph = GraphLayoutFactory.createHierarchicalGraphLayout(this, true, false);
//Variant b) Tree GraphLayout vertical
GraphLayout layoutTreeVertical = GraphLayoutFactory.createTreeGraphLayout(10, 10, 50, 50, true);
//Variant c) Tree GraphLayout horizontal
GraphLayout layoutTreeHorizontal = GraphLayoutFactory.createTreeGraphLayout(10, 10, 50, 50, false);
//Variant d) default layout in 7.3
layout = new FruchtermanReingoldLayout(this, panel);
Created attachment 135908 [details]
I like to propose a patch. The patch introduces popupmenu items which allow the user to switch the used layout algorithm. See screenshot.
@Milos: Please review and commit. (The patch is a candidate for post-NB74)
Created attachment 135909 [details]
Patch in action
layouts in graph is related to issue issue 235504
patch applied with minor finetuning (zoom to fit after changing layout and make all layouts animated)