Class Workflow2Graphviz


  • public class Workflow2Graphviz
    extends Object
    Convert a Workflow to Graphviz
    Since:
    2.0
    Author:
    Laurent Jourdren
    • Constructor Detail

      • Workflow2Graphviz

        public Workflow2Graphviz​(AbstractWorkflow workflow,
                                 DataFile dotFile,
                                 DataFile imageFile)
        Public constructor.
        Parameters:
        workflow - the workflow
        dotFile - output dot file
        imageFile - 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.