Available State Shapes

you can choose from the 20 shapes available in Workflow Dashboard

../_images/all_shapes.png

Tip

The workflow above generated by setting for each state a given shape using the shape attribute in state description (see State Configuration), then added the fellowing configuration to the workflow dscription: {autoColor:false, noState:#h, stroke:1.5, default:#f9f9f9, linkHead:n, linkStyle:dot, tree:t, direction:lr,} For more details see Workflow Configuration

JSON State Shape values

In this fellowing table you’ll find the shape values that you can use in workflow and state customizations, note that:

  • The JSON shape values are case sensitive

  • If a value is wrong or not in this list, then the parent default shape will be selected.

Shape

JSON Value

Rectangle

rect

Rounded Rectangle

roundRect

Circle

circle

Ellipse

ellipse

Diamond

diamond

Off Page Up

offPageU

Off Page Down

offPageD

Data

data

Manual

manual

Termination

termination

Preparation

preparation

Card

card

Delay

delay

Document

document

Stored Data

storedData

Display

display

Paper Tape

paperTape

Process

process

Message From

messageFrom

Message To

messageTo

Automatic Sate Shapes Behavior

In this table you can find how automatic option selects a shape according to state specifications, listed by priority: for instance the shape Termination is selected prior the shape Preparation

Tip

The automatic option is actually experimental, because of combination of actions, automatic transitions, preconditions and postcondition may not always select appropriate shape

State

Selected shape

no state

Circle

State without successor

Termination

State with precondition

Preparation

State with postcondition

Diamond

State with Convert to PDF format action

Document

State with action

Rectangle

Default state

Manual operation