Class BpmnAutoLayout


  • public class BpmnAutoLayout
    extends Object

    Auto layouts a BPMN model, with the help of different BPMN processors.

    Modified from Flowable Engine

    Note that in the Javadoc a lot of different process are mentioned. The following list will clarify the different meanings.

    • Process element: Can be any element which describes a process in BPMN. So, in the most cases it can be a process or sub process
    • TProcess: The BPMN element of a process
    • TSubProcess: The BPMN element of a sub process
    Author:
    Joram Barrez, Clemens Toegel
    • Constructor Detail

      • BpmnAutoLayout

        public BpmnAutoLayout​(javax.xml.bind.JAXBElement<org.omg.spec.bpmn.model.TDefinitions> tDefinitionsJAXBElement,
                              boolean horizontal)
    • Method Detail

      • execute

        public void execute()
        Method to setup the visualization of a given BPMN file
      • layoutHandler

        public void layoutHandler​(org.omg.spec.bpmn.model.TBaseElement flowElementsContainer)
        Method to handle different flow element containers
        Parameters:
        flowElementsContainer - the container of flow elements -> can be either TProcess or TSubProcess at the moment
      • handleSequenceFlow

        public void handleSequenceFlow()
        Method to handle the sequence flow