Class GraphvizContentTransformer
java.lang.Object
org.eclipse.epsilon.picto.transformers.GraphvizContentTransformer
- All Implemented Interfaces:
ViewContentTransformer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
canTransform
(ViewContent content) getLabel
(ViewContent content) protected static ExternalContentTransformation
static Path
graphvizToImage
(String program, String graphviz, String imageType) static String
graphvizToRawSvg
(String program, String graphviz) static Path
graphvizToSvg
(String program, String graphviz) transform
(ViewContent content, PictoView pictoView)
-
Constructor Details
-
GraphvizContentTransformer
public GraphvizContentTransformer()
-
-
Method Details
-
canTransform
- Specified by:
canTransform
in interfaceViewContentTransformer
-
transform
- Specified by:
transform
in interfaceViewContentTransformer
- Throws:
Exception
-
getLabel
- Specified by:
getLabel
in interfaceViewContentTransformer
-
graphvizToSvg
- Throws:
IOException
-
graphvizToRawSvg
- Throws:
IOException
-
graphvizToImage
public static Path graphvizToImage(String program, String graphviz, String imageType) throws IOException - Throws:
IOException
-
graphviz
protected static ExternalContentTransformation graphviz(String program, String graphviz, String imageType) throws IOException - Throws:
IOException
-