Interface IWorkflowBpmnLayoutSettings
-
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
WorkflowBpmnLayoutSettings
public interface IWorkflowBpmnLayoutSettings extends Serializable
Layout settings that affect how the BPMN diagram for the workflow is created.- Since:
- 8.4.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
associationColor()
The default color forassociations
, as a hex RGB value, e.g.int
boundaryEventColor()
The default color forboundary events
, as a hex RGB value, e.g.double
boundaryEventDiameter()
The default diameter ofboundary events
in the BPMN diagram.double
boundaryEventTextAnnotationDistance()
The distance between aboundary event
and itstext annotation
.WorkflowBpmnTextLayoutSettings
boundaryEventTextSettings()
The default text settings for (the label of)boundary events
in the BPMN diagram.boolean
collapseSubProcesses()
Whether to set theexpanded
attribute of aBPMN shape
to false forSubProcess
.boolean
colorize()
When true, addscolors
to the BPMN diagram, as specified by the BPMN in Color Specification.int
complexGatewayColor()
The default color forcomplex gateways
, as a hex RGB value, e.g.double
complexGatewayHeight()
The default height ofcomplex gateways
in the BPMN diagram.double
complexGatewayTextAnnotationDistance()
The distance between acomplex gateways
and itstext annotation
.WorkflowBpmnTextLayoutSettings
complexGatewayTextSettings()
The default text settings for (the label of)complex gateways
in the BPMN diagram.double
complexGatewayWidth()
The default width ofcomplex gateways
in the BPMN diagram.double
crossFlowDirectionSpacing()
Spacing in the direction orthogonal to the flow.int
dataObjectColor()
The default color fordata objects
, as a hex RGB value, e.g.double
dataObjectHeight()
The default height ofdata objects
in the BPMN diagram.double
dataObjectTextAnnotationDistance()
The distance between adata object
and itstext annotation
.WorkflowBpmnTextLayoutSettings
dataObjectTextSettings()
The default text settings for (the label of)data objects
in the BPMN diagram.double
dataObjectWidth()
The default width ofdata objects
in the BPMN diagram.int
dataStoreColor()
The default color fordata stores
, as a hex RGB value, e.g.double
dataStoreHeight()
The default height ofdata stores
in the BPMN diagram.double
dataStoreTextAnnotationDistance()
The distance between adata store
and itstext annotation
.WorkflowBpmnTextLayoutSettings
dataStoreTextSettings()
The default text settings for (the label of)data stores
in the BPMN diagram.double
dataStoreWidth()
The default width ofdata stores
in the BPMN diagram.double
defaultFlowMarkerLength()
The length from the start of adefault
sequence flow
to the end of the default flow marker (a slash).ECardinalDirection2D
direction()
The flow direction in which the model should be laid out.int
endEventColor()
The default color forend events
, as a hex RGB value, e.g.double
endEventDiameter()
The default diameter ofend events
in the BPMN diagram.double
endEventTextAnnotationDistance()
The distance between anend event
and itstext annotation
.WorkflowBpmnTextLayoutSettings
endEventTextSettings()
The default text settings for (the label of)start events
in the BPMN diagram.int
eventBasedGatewayColor()
The default color forevent based gateways
, as a hex RGB value, e.g.double
eventBasedGatewayHeight()
The default height ofevent based gateways
in the BPMN diagram.double
eventBasedGatewayTextAnnotationDistance()
The distance between aevent based gateways
and itstext annotation
.WorkflowBpmnTextLayoutSettings
eventBasedGatewayTextSettings()
The default text settings for (the label of)event based gateways
in the BPMN diagram.double
eventBasedGatewayWidth()
The default width ofevent based gateways
in the BPMN diagram.int
exclusiveGatewayColor()
The default color forexclusive gateways
, as a hex RGB value, e.g.double
exclusiveGatewayHeight()
The default height ofexclusive gateways
in the BPMN diagram.double
exclusiveGatewayTextAnnotationDistance()
The distance between aexclusive gateways
and itstext annotation
.WorkflowBpmnTextLayoutSettings
exclusiveGatewayTextSettings()
The default text settings for (the label of)exclusive gateways
in the BPMN diagram.double
exclusiveGatewayWidth()
The default width ofexclusive gateways
in the BPMN diagram.double
flowDirectionSpacing()
Spacing in the direction of the flow.Length
fontSizeUnit()
The unit for font sizes in the BPMN diagram.int
inclusiveGatewayColor()
The default color forinclusive gateways
, as a hex RGB value, e.g.double
inclusiveGatewayHeight()
The default height ofinclusive gateways
in the BPMN diagram.double
inclusiveGatewayTextAnnotationDistance()
The distance between ainclusive gateways
and itstext annotation
.WorkflowBpmnTextLayoutSettings
inclusiveGatewayTextSettings()
The default text settings for (the label of)inclusive gateways
in the BPMN diagram.double
inclusiveGatewayWidth()
The default width ofinclusive gateways
in the BPMN diagram.int
intermediateCatchEventColor()
The default color forintermediate catch events
, as a hex RGB value, e.g.double
intermediateCatchEventDiameter()
The default diameter ofintermediate catch events
in the BPMN diagram.double
intermediateCatchEventTextAnnotationDistance()
The distance between anintermediate catch event
and itstext annotation
.WorkflowBpmnTextLayoutSettings
intermediateCatchEventTextSettings()
The default text settings for (the label of)intermediate catch events
in the BPMN diagram.int
intermediateThrowEventColor()
The default color forintermediate throw events
, as a hex RGB value, e.g.double
intermediateThrowEventDiameter()
The default diameter ofintermediate throw events
in the BPMN diagram.double
intermediateThrowEventTextAnnotationDistance()
The distance between anintermediate throw event
and itstext annotation
.WorkflowBpmnTextLayoutSettings
intermediateThrowEventTextSettings()
The default text settings for (the label of)intermediate throw events
in the BPMN diagram.WorkflowBpmnTextLayoutSettings
laneTextSettings()
The default text settings for (the label of)lanes
in the BPMN diagram.double
nameDistance()
The distance between anamed element
and its name.ICardinalDirection2DMapDouble
nonAbstractTaskMinPadding()
The minimum amount of padding to apply tonon-abstract
tasks in the BPMN diagram.double
otherTextAnnotationDistance()
The distance between anelement
and itstext annotation
.int
parallelGatewayColor()
The default color forparallel gateways
, as a hex RGB value, e.g.double
parallelGatewayHeight()
The default height ofparallel gateways
in the BPMN diagram.double
parallelGatewayTextAnnotationDistance()
The distance between aparallel gateways
and itstext annotation
.WorkflowBpmnTextLayoutSettings
parallelGatewayTextSettings()
The default text settings for (the label of)parallel gateways
in the BPMN diagram.double
parallelGatewayWidth()
The default width ofparallel gateways
in the BPMN diagram.double
participantHeaderPadding()
The padding for the header of aparticipant
(sometimes called pool) in the BPMN diagram.WorkflowBpmnTextLayoutSettings
participantTextSettings()
The default text settings for (the label of)participants
in the BPMN diagram.int
sequenceFlowColor()
The default color forsequence flows
, as a hex RGB value, e.g.double
sequenceFlowLabelSpacing()
When placing a label next to a sequence flow, the spacing between the sequence flow line and the label text.WorkflowBpmnTextLayoutSettings
sequenceFlowTextSettings()
The default text settings for (the label of)sequence flows
in the BPMN diagram.int
startEventColor()
The default color forstart events
, as a hex RGB value, e.g.double
startEventDiameter()
The default diameter ofstart events
in the BPMN diagram.double
startEventTextAnnotationDistance()
The distance between astart event
and itstext annotation
.WorkflowBpmnTextLayoutSettings
startEventTextSettings()
The default text settings for (the label of)start events
in the BPMN diagram.double
subProcessHeaderPadding()
The padding for the header of asub process
in the BPMN diagram.double
subProcessNameAlignmentOffset()
Controls the alignment of asub process
's name in the BPMN diagram in the horizontal direction, together withsubProcessNameAlignmentRatio
.double
subProcessNameAlignmentRatio()
Controls the alignment of asub process
's name in the BPMN diagram in the horizontal direction, together withsubProcessNameAlignmentOffset
.double
subProcessTextAnnotationDistance()
The distance between asub process
and itstext annotation
.WorkflowBpmnTextLayoutSettings
subProcessTextSettings()
The default text settings for (the label of)sub processes
in the BPMN diagram.int
taskColor()
The default color fortasks
, as a hex RGB value, e.g.double
taskHeight()
The default height oftasks
in the BPMN diagram.ICardinalDirection2DMapDouble
taskPadding()
The padding to apply to tasks in the BPMN diagram.double
taskTextAnnotationDistance()
The distance between atask
and itstext annotation
.WorkflowBpmnTextLayoutSettings
taskTextSettings()
The default text settings for (the label of)tasks
in the BPMN diagram.double
taskWidth()
The default width oftasks
in the BPMN diagram.int
textAnnotationColor()
The default color fortext annotations
, as a hex RGB value, e.g.ICardinalDirection2DMapDouble
textAnnotationPadding()
The padding to apply to text annotations in the BPMN diagram.WorkflowBpmnTextLayoutSettings
textAnnotationTextSettings()
The default text settings for (the text of)text annotations
in the BPMN diagram.
-
-
-
Method Detail
-
associationColor
int associationColor()
The default color forassociations
, as a hex RGB value, e.g. 0xFF0000 for red.- Returns:
- The default color for associations.
-
boundaryEventColor
int boundaryEventColor()
The default color forboundary events
, as a hex RGB value, e.g. 0xFF0000 for red.- Returns:
- The default color for boundary events.
-
boundaryEventDiameter
double boundaryEventDiameter()
The default diameter ofboundary events
in the BPMN diagram. BPMN diagrams represent events as circles.- Returns:
- The default diameter of events in the BPMN diagram.
-
boundaryEventTextAnnotationDistance
double boundaryEventTextAnnotationDistance()
The distance between aboundary event
and itstext annotation
.- Returns:
- The distance between a boundary event and its text annotation.
-
boundaryEventTextSettings
WorkflowBpmnTextLayoutSettings boundaryEventTextSettings()
The default text settings for (the label of)boundary events
in the BPMN diagram.- Returns:
- The default text settings for boundary events in the BPMN diagram.
-
collapseSubProcesses
boolean collapseSubProcesses()
Whether to set theexpanded
attribute of aBPMN shape
to false forSubProcess
. May improve the readability of the BPMN diagram in general, and may also improve compatibility with some tools that prefer collapsed subprocesses.- Returns:
- Whether to collapse mark subprocesses.
-
colorize
boolean colorize()
When true, addscolors
to the BPMN diagram, as specified by the BPMN in Color Specification. When false, do not add colors.- Returns:
- True if the BPMN diagram should be colorized, false otherwise.
-
complexGatewayColor
int complexGatewayColor()
The default color forcomplex gateways
, as a hex RGB value, e.g. 0xFF0000 for red.- Returns:
- The default color for event based gateways.
-
complexGatewayHeight
double complexGatewayHeight()
The default height ofcomplex gateways
in the BPMN diagram. BPMN diagrams represent complex gateways as rhombi.- Returns:
- The default height of complex gateways in the BPMN diagram.
-
complexGatewayTextAnnotationDistance
double complexGatewayTextAnnotationDistance()
The distance between acomplex gateways
and itstext annotation
.- Returns:
- The distance between a complex gateway and its text annotation.
-
complexGatewayTextSettings
WorkflowBpmnTextLayoutSettings complexGatewayTextSettings()
The default text settings for (the label of)complex gateways
in the BPMN diagram.- Returns:
- The default text settings for complex gateways in the BPMN diagram.
-
complexGatewayWidth
double complexGatewayWidth()
The default width ofcomplex gateways
in the BPMN diagram. BPMN diagrams represent complex gateways as rhombi.- Returns:
- The default width of complex gateways in the BPMN diagram.
-
crossFlowDirectionSpacing
double crossFlowDirectionSpacing()
Spacing in the direction orthogonal to the flow. Flow direction here refers todirection()
.- Returns:
- The spacing in the direction of the flow.
-
dataObjectColor
int dataObjectColor()
The default color fordata objects
, as a hex RGB value, e.g. 0xFF0000 for red.- Returns:
- The default color for data objects.
-
dataObjectHeight
double dataObjectHeight()
The default height ofdata objects
in the BPMN diagram. BPMN diagrams represent data objects as rectangles.- Returns:
- The default height of data objects in the BPMN diagram.
-
dataObjectTextAnnotationDistance
double dataObjectTextAnnotationDistance()
The distance between adata object
and itstext annotation
.- Returns:
- The distance between a data object and its text annotation.
-
dataObjectTextSettings
WorkflowBpmnTextLayoutSettings dataObjectTextSettings()
The default text settings for (the label of)data objects
in the BPMN diagram.- Returns:
- The default text settings for data objects in the BPMN diagram.
-
dataObjectWidth
double dataObjectWidth()
The default width ofdata objects
in the BPMN diagram. BPMN diagrams represent data objects as rectangles.- Returns:
- The default width of data objects in the BPMN diagram.
-
dataStoreColor
int dataStoreColor()
The default color fordata stores
, as a hex RGB value, e.g. 0xFF0000 for red.- Returns:
- The default color for data stores.
-
dataStoreHeight
double dataStoreHeight()
The default height ofdata stores
in the BPMN diagram. BPMN diagrams represent data stores as rectangular shapes.- Returns:
- The default height of data stores in the BPMN diagram.
-
dataStoreTextAnnotationDistance
double dataStoreTextAnnotationDistance()
The distance between adata store
and itstext annotation
.- Returns:
- The distance between a data store and its text annotation.
-
dataStoreTextSettings
WorkflowBpmnTextLayoutSettings dataStoreTextSettings()
The default text settings for (the label of)data stores
in the BPMN diagram.- Returns:
- The default text settings for data stores in the BPMN diagram.
-
dataStoreWidth
double dataStoreWidth()
The default width ofdata stores
in the BPMN diagram. BPMN diagrams represent data stores as rectangular shapes.- Returns:
- The default width of data stores in the BPMN diagram.
-
defaultFlowMarkerLength
double defaultFlowMarkerLength()
The length from the start of adefault
sequence flow
to the end of the default flow marker (a slash). This is used e.g. to offset labels on the sequence flow so that they don't overlap with the default flow marker.- Returns:
- The default length from the start of a flow to the end of the default flow marker.
-
direction
ECardinalDirection2D direction()
The flow direction in which the model should be laid out. Items are aligned along theaxis
, and in the specifieddirection
.A concept closely related to the flow direction is the cross flow direction. The cross flow direction is the direction orthogonal to the flow, facing left when looking in the flow direction.
- When the flow direction is the positive x direction, the cross flow direction is the positive y direction.
- When the flow direction is the negative x direction, the cross flow direction is the negative y direction.
- When the flow direction is the positive y direction, the cross flow direction is the negative x direction.
- When the flow direction is the negative y direction, the cross flow direction is the positive x direction.
For example:
^ cross flow direction | | | | -----------------------------> flow direction | | |
- Returns:
- The direction in which the model should be laid out, never null.
-
endEventColor
int endEventColor()
The default color forend events
, as a hex RGB value, e.g. 0xFF0000 for red.- Returns:
- The default color for end events.
-
endEventDiameter
double endEventDiameter()
The default diameter ofend events
in the BPMN diagram. BPMN diagrams represent events as circles.- Returns:
- The default diameter of events in the BPMN diagram.
-
endEventTextAnnotationDistance
double endEventTextAnnotationDistance()
The distance between anend event
and itstext annotation
.- Returns:
- The distance between an end event and its text annotation.
-
endEventTextSettings
WorkflowBpmnTextLayoutSettings endEventTextSettings()
The default text settings for (the label of)start events
in the BPMN diagram.- Returns:
- The default text settings for end events in the BPMN diagram.
-
eventBasedGatewayColor
int eventBasedGatewayColor()
The default color forevent based gateways
, as a hex RGB value, e.g. 0xFF0000 for red.- Returns:
- The default color for event based gateways.
-
eventBasedGatewayHeight
double eventBasedGatewayHeight()
The default height ofevent based gateways
in the BPMN diagram. BPMN diagrams represent event based gateways as rhombi.- Returns:
- The default height of event based gateways in the BPMN diagram.
-
eventBasedGatewayTextAnnotationDistance
double eventBasedGatewayTextAnnotationDistance()
The distance between aevent based gateways
and itstext annotation
.- Returns:
- The distance between an event based gateway and its text annotation.
-
eventBasedGatewayTextSettings
WorkflowBpmnTextLayoutSettings eventBasedGatewayTextSettings()
The default text settings for (the label of)event based gateways
in the BPMN diagram.- Returns:
- The default text settings for event based gateways in the BPMN diagram.
-
eventBasedGatewayWidth
double eventBasedGatewayWidth()
The default width ofevent based gateways
in the BPMN diagram. BPMN diagrams represent event based gateways as rhombi.- Returns:
- The default width of event based gateways in the BPMN diagram.
-
exclusiveGatewayColor
int exclusiveGatewayColor()
The default color forexclusive gateways
, as a hex RGB value, e.g. 0xFF0000 for red.- Returns:
- The default color for exclusive gateways.
-
exclusiveGatewayHeight
double exclusiveGatewayHeight()
The default height ofexclusive gateways
in the BPMN diagram. BPMN diagrams represent exclusive gateways as rhombi.- Returns:
- The default height of exclusive gateways in the BPMN diagram.
-
exclusiveGatewayTextAnnotationDistance
double exclusiveGatewayTextAnnotationDistance()
The distance between aexclusive gateways
and itstext annotation
.- Returns:
- The distance between an exclusive gateway and its text annotation.
-
exclusiveGatewayTextSettings
WorkflowBpmnTextLayoutSettings exclusiveGatewayTextSettings()
The default text settings for (the label of)exclusive gateways
in the BPMN diagram.- Returns:
- The default text settings for exclusive gateways in the BPMN diagram.
-
exclusiveGatewayWidth
double exclusiveGatewayWidth()
The default width ofexclusive gateways
in the BPMN diagram. BPMN diagrams represent exclusive gateways as rhombi.- Returns:
- The default width of exclusive gateways in the BPMN diagram.
-
flowDirectionSpacing
double flowDirectionSpacing()
Spacing in the direction of the flow. Flow direction here refers todirection()
.- Returns:
- The spacing in the direction of the flow.
-
fontSizeUnit
Length fontSizeUnit()
The unit for font sizes in the BPMN diagram. Often pixels, but can also be points or other units. As per the BPMN spec, the font size is a unitless number in some unspecified unit. This is the unit that determines how that unitless number is calculated.- Returns:
- The unit for font sizes in the BPMN diagram.
-
inclusiveGatewayColor
int inclusiveGatewayColor()
The default color forinclusive gateways
, as a hex RGB value, e.g. 0xFF0000 for red.- Returns:
- The default color for inclusive gateways.
-
inclusiveGatewayHeight
double inclusiveGatewayHeight()
The default height ofinclusive gateways
in the BPMN diagram. BPMN diagrams represent inclusive gateways as rhombi.- Returns:
- The default height of inclusive gateways in the BPMN diagram.
-
inclusiveGatewayTextAnnotationDistance
double inclusiveGatewayTextAnnotationDistance()
The distance between ainclusive gateways
and itstext annotation
.- Returns:
- The distance between an inclusive gateway and its text annotation.
-
inclusiveGatewayTextSettings
WorkflowBpmnTextLayoutSettings inclusiveGatewayTextSettings()
The default text settings for (the label of)inclusive gateways
in the BPMN diagram.- Returns:
- The default text settings for inclusive gateways in the BPMN diagram.
-
inclusiveGatewayWidth
double inclusiveGatewayWidth()
The default width ofinclusive gateways
in the BPMN diagram. BPMN diagrams represent inclusive gateways as rhombi.- Returns:
- The default width of inclusive gateways in the BPMN diagram.
-
intermediateCatchEventColor
int intermediateCatchEventColor()
The default color forintermediate catch events
, as a hex RGB value, e.g. 0xFF0000 for red.- Returns:
- The default color for intermediate catch events.
-
intermediateCatchEventDiameter
double intermediateCatchEventDiameter()
The default diameter ofintermediate catch events
in the BPMN diagram. BPMN diagrams represent events as circles.- Returns:
- The default diameter of events in the BPMN diagram.
-
intermediateCatchEventTextAnnotationDistance
double intermediateCatchEventTextAnnotationDistance()
The distance between anintermediate catch event
and itstext annotation
.- Returns:
- The distance between an intermediate catch event and its text annotation.
-
intermediateCatchEventTextSettings
WorkflowBpmnTextLayoutSettings intermediateCatchEventTextSettings()
The default text settings for (the label of)intermediate catch events
in the BPMN diagram.- Returns:
- The default text settings for intermediate catch events in the BPMN diagram.
-
intermediateThrowEventColor
int intermediateThrowEventColor()
The default color forintermediate throw events
, as a hex RGB value, e.g. 0xFF0000 for red.- Returns:
- The default color for intermediate throw events.
-
intermediateThrowEventDiameter
double intermediateThrowEventDiameter()
The default diameter ofintermediate throw events
in the BPMN diagram. BPMN diagrams represent events as circles.- Returns:
- The default diameter of events in the BPMN diagram.
-
intermediateThrowEventTextAnnotationDistance
double intermediateThrowEventTextAnnotationDistance()
The distance between anintermediate throw event
and itstext annotation
.- Returns:
- The distance between an intermediate throw event and its text annotation.
-
intermediateThrowEventTextSettings
WorkflowBpmnTextLayoutSettings intermediateThrowEventTextSettings()
The default text settings for (the label of)intermediate throw events
in the BPMN diagram.- Returns:
- The default text settings for intermediate throw events in the BPMN diagram.
-
laneTextSettings
WorkflowBpmnTextLayoutSettings laneTextSettings()
The default text settings for (the label of)lanes
in the BPMN diagram.- Returns:
- The default text settings for lanes in the BPMN diagram.
-
nameDistance
double nameDistance()
The distance between anamed element
and its name.- Returns:
- The distance between a named element and its name.
-
nonAbstractTaskMinPadding
ICardinalDirection2DMapDouble nonAbstractTaskMinPadding()
The minimum amount of padding to apply tonon-abstract
tasks in the BPMN diagram. Used e.g. to make room for the marker icon that indicates the task's type, such as a gear icon for a service task, or a user icon for a user task.- Returns:
- The minimum padding for non-abstract tasks in the BPMN diagram.
-
otherTextAnnotationDistance
double otherTextAnnotationDistance()
The distance between anelement
and itstext annotation
. This is used when none of the more specific distances are applicable, such asstartEventTextAnnotationDistance()
.- Returns:
- The distance between an element and its text annotation.
-
parallelGatewayColor
int parallelGatewayColor()
The default color forparallel gateways
, as a hex RGB value, e.g. 0xFF0000 for red.- Returns:
- The default color for parallel gateways.
-
parallelGatewayHeight
double parallelGatewayHeight()
The default height ofparallel gateways
in the BPMN diagram. BPMN diagrams represent parallel gateways as rhombi.- Returns:
- The default height of parallel gateways in the BPMN diagram.
-
parallelGatewayTextAnnotationDistance
double parallelGatewayTextAnnotationDistance()
The distance between aparallel gateways
and itstext annotation
.- Returns:
- The distance between a parallel gateway and its text annotation.
-
parallelGatewayTextSettings
WorkflowBpmnTextLayoutSettings parallelGatewayTextSettings()
The default text settings for (the label of)parallel gateways
in the BPMN diagram.- Returns:
- The default text settings for parallel gateways in the BPMN diagram.
-
parallelGatewayWidth
double parallelGatewayWidth()
The default width ofparallel gateways
in the BPMN diagram. BPMN diagrams represent parallel gateways as rhombi.- Returns:
- The default width of parallel gateways in the BPMN diagram.
-
participantHeaderPadding
double participantHeaderPadding()
The padding for the header of aparticipant
(sometimes called pool) in the BPMN diagram. The header contains the name of the participant and is rendered either to the left or on top of the participant's lanes, depending on theflow direction
. The BPMN spec does not specify a padding, some tools work with arbitrary values, some tools require a specific value.- Returns:
- The padding for the header of a participant in the BPMN diagram.
-
participantTextSettings
WorkflowBpmnTextLayoutSettings participantTextSettings()
The default text settings for (the label of)participants
in the BPMN diagram.- Returns:
- The default text settings for participants in the BPMN diagram.
-
sequenceFlowColor
int sequenceFlowColor()
The default color forsequence flows
, as a hex RGB value, e.g. 0xFF0000 for red.- Returns:
- The default color for sequence flows.
-
sequenceFlowLabelSpacing
double sequenceFlowLabelSpacing()
When placing a label next to a sequence flow, the spacing between the sequence flow line and the label text.- Returns:
- The spacing between the sequence flow line and the label text.
-
sequenceFlowTextSettings
WorkflowBpmnTextLayoutSettings sequenceFlowTextSettings()
The default text settings for (the label of)sequence flows
in the BPMN diagram.- Returns:
- The default text settings for sequence flows in the BPMN diagram.
-
startEventColor
int startEventColor()
The default color forstart events
, as a hex RGB value, e.g. 0xFF0000 for red.- Returns:
- The default color for start events.
-
startEventDiameter
double startEventDiameter()
The default diameter ofstart events
in the BPMN diagram. BPMN diagrams represent events as circles.- Returns:
- The default diameter of events in the BPMN diagram.
-
startEventTextAnnotationDistance
double startEventTextAnnotationDistance()
The distance between astart event
and itstext annotation
.- Returns:
- The distance between a start event and its text annotation.
-
startEventTextSettings
WorkflowBpmnTextLayoutSettings startEventTextSettings()
The default text settings for (the label of)start events
in the BPMN diagram.- Returns:
- The default text settings for start events in the BPMN diagram.
-
subProcessHeaderPadding
double subProcessHeaderPadding()
The padding for the header of asub process
in the BPMN diagram. The header contains the name of the sub process and is rendered below the top edge of the sub process. This is the padding from the top edge of the sub process to the top edge of the name in the header.- Returns:
- The padding for the header of a sub process in the BPMN diagram.
-
subProcessNameAlignmentOffset
double subProcessNameAlignmentOffset()
Controls the alignment of asub process
's name in the BPMN diagram in the horizontal direction, together withsubProcessNameAlignmentRatio
. Defaults to 0, which corresponds to no offset.To determine the position of the name, the name is first positioned according to the ration, the offset by given amount.
- The ration is a value between 0 and 1, where 0 means the name is aligned to the left edge of the sub process, and 1 means the name is aligned to the right edge of the sub process.
- The offset is an absolute value in pixels, which is added to the position of the name after it has been aligned. A positive offset moves the name to the right, a negative offset moves it to the left.
- Returns:
- The alignment offset of the sub process name in the BPMN diagram.
-
subProcessNameAlignmentRatio
double subProcessNameAlignmentRatio()
Controls the alignment of asub process
's name in the BPMN diagram in the horizontal direction, together withsubProcessNameAlignmentOffset
. Defaults to 0.5, which centers the name.To determine the position of the name, the name is first positioned according to the ration, the offset by given amount.
- The ration is a value between 0 and 1, where 0 means the name is aligned to the left edge of the sub process, and 1 means the name is aligned to the right edge of the sub process.
- The offset is an absolute value in pixels, which is added to the position of the name after it has been aligned. A positive offset moves the name to the right, a negative offset moves it to the left.
- Returns:
- The alignment ratio of the sub process name in the BPMN diagram.
-
subProcessTextAnnotationDistance
double subProcessTextAnnotationDistance()
The distance between asub process
and itstext annotation
.- Returns:
- The distance between a sub process and its text annotation.
-
subProcessTextSettings
WorkflowBpmnTextLayoutSettings subProcessTextSettings()
The default text settings for (the label of)sub processes
in the BPMN diagram.- Returns:
- The default text settings for sub processes in the BPMN diagram.
-
taskColor
int taskColor()
The default color fortasks
, as a hex RGB value, e.g. 0xFF0000 for red.- Returns:
- The default color for start events.
-
taskHeight
double taskHeight()
The default height oftasks
in the BPMN diagram. BPMN diagrams represent tasks as rectangles.- Returns:
- The default height of tasks in the BPMN diagram.
-
taskPadding
ICardinalDirection2DMapDouble taskPadding()
The padding to apply to tasks in the BPMN diagram. This is the padding of the text inside the task box, not the padding around the task box itself.+---------------------------------------+ | | | north padding | | +-------------------+ | | | | | | west | | east | | padding | label text | padding | | | | | | | | | | +-------------------+ | | south padding | | | +---------------------------------------+ Text annotation
TheBpmnShape
of theTask
containsBounds
, these describe the size of the task box, including the padding. The BPMN shape also contains aBpmnLabel
, which also contains nestedBounds
, these describe the size of the label text inside the text box (without the padding).- Returns:
- The padding to apply to tasks in the BPMN diagram.
-
taskTextAnnotationDistance
double taskTextAnnotationDistance()
The distance between atask
and itstext annotation
.- Returns:
- The distance between a task and its text annotation.
-
taskTextSettings
WorkflowBpmnTextLayoutSettings taskTextSettings()
The default text settings for (the label of)tasks
in the BPMN diagram.- Returns:
- The default text settings for tasks in the BPMN diagram.
-
taskWidth
double taskWidth()
The default width oftasks
in the BPMN diagram. BPMN diagrams represent tasks as rectangles.- Returns:
- The default width of tasks in the BPMN diagram.
-
textAnnotationColor
int textAnnotationColor()
The default color fortext annotations
, as a hex RGB value, e.g. 0xFF0000 for red.- Returns:
- The default color for text annotations.
-
textAnnotationPadding
ICardinalDirection2DMapDouble textAnnotationPadding()
The padding to apply to text annotations in the BPMN diagram. This is the padding of the text inside the annotation box, not the padding around the annotation box itself.+---------------------------------------+ | | | north padding | | +-------------------+ | | | | | | west | | east | | padding | text annotation | padding | | | | | | | | | | +-------------------+ | | south padding | | | +---------------------------------------+ Task
TheBpmnShape
of theTextAnnotation
containsBounds
, which describe the size of the text annotation box, including the padding. The BPMN shape also contains aBpmnLabel
, which also contains nestedBounds
, which describe the size of the text inside the annotation box (without the padding).- Returns:
- The padding to apply to text annotations in the BPMN diagram.
-
textAnnotationTextSettings
WorkflowBpmnTextLayoutSettings textAnnotationTextSettings()
The default text settings for (the text of)text annotations
in the BPMN diagram.- Returns:
- The default text settings for text annotations in the BPMN diagram.
-
-