Available State Shapes
you can choose from the 20 shapes available in Workflow Dashboard
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 |
|
Rounded Rectangle |
|
Circle |
|
Ellipse |
|
Diamond |
|
Off Page Up |
|
Off Page Down |
|
Data |
|
Manual |
|
Termination |
|
Preparation |
|
Card |
|
Delay |
|
Document |
|
Stored Data |
|
Display |
|
Paper Tape |
|
Process |
|
Message From |
|
Message To |
|
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 |
Document |
State with action |
Rectangle |
Default state |
Manual operation |