apache / apache/maven-dependency-plugin

[MDEP-314] MDEP: GraphMLNodeVisitor Suitable for yED and Fancy Graphics (m-d-p 2.2)

Open
#757 3 comments 0 reactions 0 assignees View on GitHub
enhancement priority:minor
Dominant language
Java
Stars
175
Forks
196
Avg merge
19h 30m
Merged PRs (30d)
5

Description

**[Aldrin Leal](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=aldrinleal)** opened **[MDEP-314](https://issues.apache.org/jira/browse/MDEP-314?redirect=false)** and commented

This attachment is a patch between 2.2 in order to add latest yED compatibility, as well as colors to output.

If needed, I could write a given doc page on how to use that. Once you generate them, open yEd, load the resulting .gml file, and then Under Layout | Tree, select Layout Style as "Compact".

A workable result is here:

http://imageshack.us/photo/my-images/804/pessoa.png/

Note it doesn't covers some situations, so perhaps it would be interesting to add it as a new graph serializer. However, note this is inconsistent - As it needs AWT (for Font and Boundary Metrics, it might run into issues on a headless instance).

---

**Attachments:**
- [GraphmlDependencyNodeVisitor-mdep.txt](https://issues.apache.org/jira/secure/attachment/12715002/GraphmlDependencyNodeVisitor-mdep.txt) (_3.77 kB_)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the attached GraphmlDependencyNodeVisitor-mdep.txt patch and the existing graph serializer entry point in the Maven dependency plugin. Check the generated .gml output with yEd using the described Compact tree layout, and consider the noted AWT and headless-instance concern. Done means the intended yED compatibility and colored output are supported without introducing unresolved runtime issues.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.