
com.github.ferstl.depgraph.GraphFormat Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of depgraph-maven-plugin Show documentation
Show all versions of depgraph-maven-plugin Show documentation
This Maven plugin generates dependency graphs on single modules or in an aggregated form
on multi-module projects. The graphs are represented by .dot files. In case that Graphviz
is installed on the machine where this plugin is run, the .dot file can be directly converted
into all supported image files.
package com.github.ferstl.depgraph;
public enum GraphFormat {
DOT, GML;
public static GraphFormat forName(String name) {
try {
return valueOf(name.toUpperCase());
} catch (IllegalArgumentException e) {
throw new IllegalArgumentException("Unsupported output format: " + name, e);
}
}
public String getFileExtension() {
return "." + name().toLowerCase();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy