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

  • ExperimentalDEFAULT_FILL_COLOR: string
  • ExperimentalDEFAULT_FONT_COLOR: string
  • ExperimentalDEFAULT_FONT_FAMILY: string
  • ExperimentalDEFAULT_FONT_SIZE: number
  • ExperimentalDEFAULT_MARGIN: number
  • ExperimentalDEFAULT_OVERLAY_FILL_COLOR: string
  • ExperimentalDEFAULT_OVERLAY_FILL_OPACITY: number
  • ExperimentalDEFAULT_OVERLAY_FONT_COLOR: string
  • ExperimentalDEFAULT_OVERLAY_FONT_SIZE: number
  • ExperimentalDEFAULT_OVERLAY_STROKE_COLOR: string
  • ExperimentalDEFAULT_OVERLAY_STROKE_WIDTH: number
  • ExperimentalDEFAULT_STROKE_COLOR: string
  • ExperimentalGROUP_FILL_COLOR: string
  • ExperimentalLANE_LABEL_FILL_COLOR: string
  • ExperimentalLANE_LABEL_SIZE: number
  • ExperimentalMESSAGE_FLOW_MARKER_END_FILL_COLOR: string
  • ExperimentalMESSAGE_FLOW_MARKER_START_FILL_COLOR: string
  • ExperimentalPOOL_LABEL_FILL_COLOR: string
  • ExperimentalPOOL_LABEL_SIZE: number
  • ExperimentalSEQUENCE_FLOW_CONDITIONAL_FROM_ACTIVITY_MARKER_FILL_COLOR: string
  • ExperimentalSHAPE_ACTIVITY_BOTTOM_MARGIN: number

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

  • ExperimentalSHAPE_ACTIVITY_LEFT_MARGIN: number

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

  • ExperimentalSHAPE_ACTIVITY_MARKER_ICON_MARGIN: number

    Spacing between 2 markers.

  • ExperimentalSHAPE_ACTIVITY_MARKER_ICON_SIZE: number

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

  • ExperimentalSHAPE_ACTIVITY_TOP_MARGIN: number

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

  • ExperimentalSHAPE_ARC_SIZE: number
  • ExperimentalSTROKE_WIDTH_THICK: number
  • ExperimentalSTROKE_WIDTH_THIN: number
  • ExperimentalSUB_PROCESS_TRANSACTION_INNER_RECT_ARC_SIZE: number
  • ExperimentalSUB_PROCESS_TRANSACTION_INNER_RECT_OFFSET: number
  • ExperimentalTEXT_ANNOTATION_BORDER_LENGTH: number
  • ExperimentalTEXT_ANNOTATION_FILL_COLOR: string