Class GraphvizContentTransformer
java.lang.Object
org.eclipse.epsilon.picto.transformers.GraphvizContentTransformer
- All Implemented Interfaces:
ViewContentTransformer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanTransform(ViewContent content) getLabel(ViewContent content) protected static ExternalContentTransformationstatic PathgraphvizToImage(String program, String graphviz, String imageType) static StringgraphvizToRawSvg(String program, String graphviz) static PathgraphvizToSvg(String program, String graphviz) transform(ViewContent content, PictoView pictoView)
-
Constructor Details
-
GraphvizContentTransformer
public GraphvizContentTransformer()
-
-
Method Details
-
canTransform
- Specified by:
canTransformin interfaceViewContentTransformer
-
transform
- Specified by:
transformin interfaceViewContentTransformer- Throws:
Exception
-
getLabel
- Specified by:
getLabelin 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
-