Class BpmnVisualModelWriter

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected BpmnGraph vmodel
      The visual model.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected static void getVisualElements​(com.mxgraph.model.mxCell parent, java.util.List<VNode> nodes, java.util.List<VEdge> edges)
      Recursively finds the visual elements.
      void writeVisualModel​(java.io.PrintStream out)
      Writes the visual model.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • vmodel

        protected BpmnGraph vmodel
        The visual model.
    • Constructor Detail

      • BpmnVisualModelWriter

        public BpmnVisualModelWriter​(BpmnGraph vmodel)
        Creates a visual model writer.
        Parameters:
        vmodel - The visual model.
    • Method Detail

      • writeVisualModel

        public void writeVisualModel​(java.io.PrintStream out)
        Writes the visual model.
        Specified by:
        writeVisualModel in interface IBpmnVisualModelWriter
        Parameters:
        out - The output.
        vmodel - The visual model.
      • getVisualElements

        protected static final void getVisualElements​(com.mxgraph.model.mxCell parent,
                                                      java.util.List<VNode> nodes,
                                                      java.util.List<VEdge> edges)
        Recursively finds the visual elements.
        Parameters:
        parent - The parent node.
        nodes - List of thre nodes.
        edges - List of the edges.