Class FlowchartToBpmnConverterSettings

    • Method Detail

      • alwaysCenterPorts

        public boolean alwaysCenterPorts()
        Whether to always place in and out ports at the center of a BPMN shape's side. Defaults to false. Some BPMN tools only allow BPMN edges to connect to specific points on the shape. This setting may improve compatibility with such tools.
        Returns:
        Whether to always center ports on the shape's side.
      • axisAlignDiagonalConnections

        public boolean axisAlignDiagonalConnections()
        When enabled, converts waypoints of BPMNEdge that form a non axis-aligned diagonal path to an axis-aligned path. This is done by approximating the diagonal path with a series of axis-aligned segments. May be useful for tools that don't support diagonal connections.
        Returns:
        Whether to convert diagonal connections to axis-aligned connections.
      • includeDefaultValuesInXml

        public boolean includeDefaultValuesInXml()
        Whether to include values for attributes in the XML output even if they are equal to their default value. May improve compatibility with some tools that do not respect the default values as per the BPMN 2 standard.
        Returns:
        Whether to include default values in the XML output.
      • inlineEventDefinitionReferences

        public boolean inlineEventDefinitionReferences()
        When enabled, affects events with eventDefinitionReferences. Creates a copy of the referenced event and inlines it via eventDefinitions. May be useful for tools that don't support that part of the BPMN spec. Defaults to false.
        Returns:
        Whether to inline event definition references.
      • locale

        public Locale locale()
        Gets the locale to use for localized messages in the BPMN diagram.
        Returns:
        The locale to use for the BPMN diagram, never null.