Class DotGenerator
java.lang.Object
com.kazurayam.materialstore.diagram.dot.DotGenerator
generates a DOT script with which you can draw diagrams
of the objects using GraphViz
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
generateDot
(MaterialProductGroup mProductGroup) static String
generateDot
(MaterialProductGroup mProductGroup, Map<String, String> options, boolean standalone) static String
generateDot
(MaterialProduct materialProduct) static String
generateDot
(MaterialProduct materialProduct, Map<String, String> options, boolean standalone) static String
generateDot
(MaterialList materialList) static String
generateDot
(MaterialList materialList, Map<String, String> options, boolean standalone) static String
generateDot
(Material material, boolean standalone) static String
generateDotOfMPGBeforeZip
(MaterialProductGroup mProductGroup) static String
generateDotOfMPGBeforeZip
(MaterialProductGroup mProductGroup, Map<String, String> options, boolean standalone) static int
runDotCommand
(Path dotFile, Path outFile) static BufferedImage
-
Field Details
-
INDENT
- See Also:
-
-
Constructor Details
-
DotGenerator
public DotGenerator()
-
-
Method Details
-
generateDot
-
generateDot
public static String generateDot(MaterialList materialList, Map<String, String> options, boolean standalone) -
generateDot
-
generateDot
public static String generateDot(MaterialProduct materialProduct, Map<String, String> options, boolean standalone) throws MaterialstoreException- Throws:
MaterialstoreException
-
generateDot
- Throws:
MaterialstoreException
-
generateDotOfMPGBeforeZip
public static String generateDotOfMPGBeforeZip(MaterialProductGroup mProductGroup, Map<String, String> options, boolean standalone) -
generateDotOfMPGBeforeZip
-
generateDot
public static String generateDot(MaterialProductGroup mProductGroup, Map<String, String> options, boolean standalone) throws MaterialstoreException- Throws:
MaterialstoreException
-
generateDot
- Throws:
MaterialstoreException
-
toImage
- Throws:
MaterialstoreException
-
runDotCommand
- Throws:
MaterialstoreException
-