Internal function to create the correct style structure for the 'BPMN' element.
create_element_style(
elementIds,
stroke_color = NULL,
stroke_width = NULL,
stroke_opacity = NULL,
font_color = NULL,
font_family = NULL,
font_size = NULL,
font_bold = NULL,
font_italic = NULL,
font_strike_through = NULL,
font_underline = NULL,
font_opacity = NULL,
opacity = NULL
)A list representing the style for the specified BPMN elements.
The IDs of the BPMN elements to style.
The stroke color for the element. It can be any HTML color name or HEX code, or special keywords.
The stroke width for the element, in pixels (1 to 50).
If the set value is less than 1, the used value is 1.
If the set value is greater than 50, the used value is 50.
To hide the stroke, set the stroke_color property to none.
The stroke opacity for the element, ranging from 0 to 100.
The font color for the element. It can be any HTML color name or HEX code, or special keywords.
The font family for the element.
The font size for the element, in pixels.
Should the font be bold? (default: FALSE)
Should the font be italic? (default: FALSE)
Should the font have a strike-through style? (default: FALSE)
Should the font be underlined? (default: FALSE)
The font opacity for the element, ranging from 0 to 100.
The opacity for the element, ranging from 0 to 100.
defaultThis keyword allows you to reset a style property of the BPMN element to its initial value.
When applied to color properties, it bypasses the color specified in the 'BPMN' source if 'BPMN in Color' support is enabled. Instead, it uses the color defined in the default style of the 'BPMN' element..
inheritApplies the value from the immediate parent element.
noneNo color (used to hide strokes). Not available for font_color.
swimlaneApplies the value from the nearest parent element with type ShapeBpmnElementKind.LANE or ShapeBpmnElementKind.POOL.