Variable StyleDefaultConst Experimental

StyleDefault: {
    DEFAULT_FILL_COLOR: string;
    DEFAULT_FONT_COLOR: string;
    DEFAULT_FONT_FAMILY: string;
    DEFAULT_FONT_SIZE: number;
    DEFAULT_MARGIN: number;
    DEFAULT_OVERLAY_FILL_COLOR: string;
    DEFAULT_OVERLAY_FILL_OPACITY: number;
    DEFAULT_OVERLAY_FONT_COLOR: string;
    DEFAULT_OVERLAY_FONT_SIZE: number;
    DEFAULT_OVERLAY_STROKE_COLOR: string;
    DEFAULT_OVERLAY_STROKE_WIDTH: number;
    DEFAULT_STROKE_COLOR: string;
    GROUP_FILL_COLOR: string;
    LANE_LABEL_FILL_COLOR: string;
    LANE_LABEL_SIZE: number;
    MESSAGE_FLOW_MARKER_END_FILL_COLOR: string;
    MESSAGE_FLOW_MARKER_START_FILL_COLOR: string;
    POOL_LABEL_FILL_COLOR: string;
    POOL_LABEL_SIZE: number;
    SEQUENCE_FLOW_CONDITIONAL_FROM_ACTIVITY_MARKER_FILL_COLOR: string;
    SHAPE_ACTIVITY_BOTTOM_MARGIN: number;
    SHAPE_ACTIVITY_LEFT_MARGIN: number;
    SHAPE_ACTIVITY_MARKER_ICON_MARGIN: number;
    SHAPE_ACTIVITY_MARKER_ICON_SIZE: number;
    SHAPE_ACTIVITY_TOP_MARGIN: number;
    SHAPE_ARC_SIZE: number;
    STROKE_WIDTH_THICK: number;
    STROKE_WIDTH_THIN: number;
    SUB_PROCESS_TRANSACTION_INNER_RECT_ARC_SIZE: number;
    SUB_PROCESS_TRANSACTION_INNER_RECT_OFFSET: number;
    TEXT_ANNOTATION_BORDER_LENGTH: number;
    TEXT_ANNOTATION_FILL_COLOR: string;
} = ...

Store all rendering defaults used by bpmn-visualization.

WARN: You may use it to customize the BPMN Theme as suggested in the examples. But be aware that the way the default BPMN theme can be modified is subject to change.

Type declaration

  • DEFAULT_FILL_COLOR: string
  • DEFAULT_FONT_COLOR: string
  • DEFAULT_FONT_FAMILY: string
  • DEFAULT_FONT_SIZE: number
  • DEFAULT_MARGIN: number
  • DEFAULT_OVERLAY_FILL_COLOR: string
  • DEFAULT_OVERLAY_FILL_OPACITY: number
  • DEFAULT_OVERLAY_FONT_COLOR: string
  • DEFAULT_OVERLAY_FONT_SIZE: number
  • DEFAULT_OVERLAY_STROKE_COLOR: string
  • DEFAULT_OVERLAY_STROKE_WIDTH: number
  • DEFAULT_STROKE_COLOR: string
  • GROUP_FILL_COLOR: string
  • LANE_LABEL_FILL_COLOR: string
  • LANE_LABEL_SIZE: number
  • MESSAGE_FLOW_MARKER_END_FILL_COLOR: string
  • MESSAGE_FLOW_MARKER_START_FILL_COLOR: string
  • POOL_LABEL_FILL_COLOR: string
  • POOL_LABEL_SIZE: number
  • SEQUENCE_FLOW_CONDITIONAL_FROM_ACTIVITY_MARKER_FILL_COLOR: string
  • SHAPE_ACTIVITY_BOTTOM_MARGIN: number

    Margin between the bottom of markers and the bottom of the activity.

  • SHAPE_ACTIVITY_LEFT_MARGIN: number

    Margin between the left of icon and the left of the activity.

  • SHAPE_ACTIVITY_MARKER_ICON_MARGIN: number

    Spacing between 2 markers.

  • SHAPE_ACTIVITY_MARKER_ICON_SIZE: number

    Theoretical width of a marker. Used to position the markers when there are several markers.

  • SHAPE_ACTIVITY_TOP_MARGIN: number

    Margin between the top of icon and the top of the activity.

  • SHAPE_ARC_SIZE: number
  • STROKE_WIDTH_THICK: number
  • STROKE_WIDTH_THIN: number
  • SUB_PROCESS_TRANSACTION_INNER_RECT_ARC_SIZE: number
  • SUB_PROCESS_TRANSACTION_INNER_RECT_OFFSET: number
  • TEXT_ANNOTATION_BORDER_LENGTH: number
  • TEXT_ANNOTATION_FILL_COLOR: string