Class Workflow2Graphviz
- java.lang.Object
-
- fr.ens.biologie.genomique.eoulsan.core.workflow.Workflow2Graphviz
-
public class Workflow2Graphviz extends Object
Convert a Workflow to Graphviz- Since:
- 2.0
- Author:
- Laurent Jourdren
-
-
Constructor Summary
Constructors Constructor Description Workflow2Graphviz(AbstractWorkflow workflow, DataFile dotFile, DataFile imageFile)
Public constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
saveDotFile()
Convert and save the workflow as a Graphviz file.boolean
saveImageFile()
Convert and save the workflow as an image file.
-
-
-
Constructor Detail
-
Workflow2Graphviz
public Workflow2Graphviz(AbstractWorkflow workflow, DataFile dotFile, DataFile imageFile)
Public constructor.- Parameters:
workflow
- the workflowdotFile
- output dot fileimageFile
- output image file
-
-
Method Detail
-
saveDotFile
public void saveDotFile() throws IOException
Convert and save the workflow as a Graphviz file.- Throws:
IOException
- if an error occurs while creating the output file
-
saveImageFile
public boolean saveImageFile()
Convert and save the workflow as an image file.
-
-