Welcome to yEd Q&A!
Here you can ask questions and receive answers from other members of the community and yEd developers. And you can tell us your most wanted feature requests.


XSL stylesheet from JDepend XML output to graphml

0 votes

I'm looking to create a stylesheet that I can use to import the jdepend-report.xml produced by maven into yEd.  Jdepend comes with a sample stylesheet for Graphviz (see clarkware.com/software/JDepend.html).  How would a similar stylesheet for graphml look?  

in Help by

1 Answer

0 votes

Try this stylesheet. After importing, use "Tools" -> "Fit Node to Label" (with default settings) and run "Layout" -> Hierarchical".

Note: This stylesheet models JDepend metrics as custom properties. However, yEd's "XML+XSL" import filter only supports custom properties as of version 3.12 (which is not yet released but will be soon). So, either wait for 3.12 or use ANT (or another transformer) to convert your report to GraphML and open the resulting GraphML as usual in yEd.

by [yWorks] (161k points)
edited by
Legal Disclosure | Privacy Policy