Process Flowchart: Difference between revisions

From QPR ProcessAnalyzer Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(91 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Flowchart Analysis draws the process flow as a flowchart, where the boxes represent the event types (activities) and the arrows are flows (transitions between consecutive events). The flowchart also visualizes case/event counts, durations and costs for the events and flows. The visibility settings of the Flowchart Analysis help to show only the most important event types and flows, and the ones which occur less often can be hidden.
The Process Flowchart visualizes eventlogs as a process flow, where boxes represent the [[Process_Mining_Concepts#Event_type|event types]] (activities) and arrows are [[Process_Mining_Concepts#Flow|flows]] (transitions between consecutive events). Flowchart also shows measures/KPI's calculated for the event types and flows, such as case/event counts, durations or costs. Visibility settings of the flowchart help to visualize only the main event types and flows, and the ones which occur less often can be hidden.


[[File:FlowchartAnalysis.png]]
Event type name is by default shown as the first text line in the event type box, but it can also be hidden to show customized text. Event type measures can be mapped to Label, 2nd label and 3rd label, which are shown in the next lines in the box. Flows are shown as arrows connecting the event types, and the arrow is also indicating the process flow direction. Flow measures can be mapped to Label, 2nd label and 3rd label, which are shown in separate lines in the middle of the flow. The starting and ending flows are shown as dashed lines. When an event type is hovered, its incoming (light blue) and outgoing  (dark blue) flows are highlighted.


== Model Settings ==
There are two kinds of flowcharts available: ''Snowflake flowchart'' and ''In-memory flowchart''. The latter performs processing using the in-memory calculation engine (requiring to load models into memory). Both flowcharts have similar functionality, except available event type and flow measures are different, as the Snowflake flowchart has same measures available as the [[Snowflake_Chart|Snowflake chart]]. Also in Snowflake flowchart, a filter can be set for each individual event and flow measure.
The '''Model Settings''' button opens a menu where the QPR ProcessAnalyzer '''Model''' can be changed. The drop-down list shows all model in the system in format: ''[Project - Model]''. When a model is opened, the default filter is selected.


The Model Settings menu also contain the '''Filter''' selection. The filter list contains all filters in the currently open model. The filter contains one or several criteria (i.e. ''filter rules'') that determines which cases and events taken into account when all the analysis are calculated and shown.
== Visibility settings ==
[[File:FlowchartAnalysis.png|right|550px]]
Often the real-life processes are very complex, and trying to show all realized event types and flows don't provide a very illustrative presentation. This is why the flowchart shows only the most important event types and flows, which is based on the variations as follows: You will choose the number of most common variations, and only the event types and flows that appear in those most common variations are shown. Variations are a natural way to draw the flowchart, because variations represent a continuous flow of cases from start to end.


Right side of the Filter list, there is menu containing options '''Edit Filter''. and '''Delete Filter'''. The Edit Filter opens a popup menu where the filter name and privacy settings can be changed. The privacy options are '''Private''', '''Public''' and '''Model Default'''. Private filters can be seen only by the user itself. Public filters can be seen by anyone. Model default filter is the one used when the model is opened. There can be only on model default filter per model, so the previous model default filter is changed to public when another filter is set as a model default.
There is a numeric box in the bottom left of the flowchart, where the shown number of top variations can be specified using the keyboard. In addition, there are the '''+''' and '''-''' buttons to increase and decrease the shown variations. When the buttons are pressed, each time the new event types or flows appear or disappear in the flowchart. Note that some variations are skipped, if they don't provide new event types or flows to the flowchart. This is why the stepper may change in more than in a single variation steps.


The Model Settings menu shows all filter rules of the currently active filter. Individual filter rules can be removed using the recycle bin icon.
Note that the visibility settings and filtering are different things: even though visibility of event types and flows is limited, all the shown measures are calculated based on the entire eventlog (not just for the shown variations). The eventlog may be filtered by the filter rules either in the dashboard header or in the flowchart settings. Note that the behavior can be changed using the [[#Flowchart_general_settings|Exclude hidden variations]] setting, which will link the shown variations and the filtering.


When filter rules are changed (new created or existing removed), the filter list shows '''(Unsaved Filter)''', denoting that the currently used filter is not saved, and it can be saved by clicking the '''Save as new Filter''' in the filter menu.
== Zooming and filtering ==
The flowchart can be moved by mouse dragging (i.e. keep the left mouse button pressed while moving the mouse cursor). Use the mouse wheel to zoom in and out while the cursor is over the flowchart. You can also use the '''+''' and '''-''' buttons on the bottom right corner, which increase and decrease the zoom level by 10% in each step.


There are two resets of the zoom and position available, '''Window width''' and '''100% zoom''', which can be toggled by clicking the '''Reset zoom''' button in the bottom right. When zoom is 100%, Window width mode is activated, and when zoom is other than 100%, 100% zoom is activated.


Event type and flow based [[Process_Mining_Concepts#Filter_and_Filter_Rule|filter rules]] can be created from the flowchart by selecting the event types and flows. When selecting only event types, you can create a filter which includes and excludes cases containing any the selected event types. In addition, you can include and exclude the selected event types (i.e. filter the events based on event types). When selecting only flows (or both event types and flows), you can create a filter to include only cases containing the selected flows and event types.


Status indicators show how many percent of cases and events from the total number of cases and events are shown in the currently used filter. To see the amounts, hover the mouse over the indicators.
== Event type and flow KPI's ==


== Visibility Settings ==
Flowchart is able to show and visualize measures calculated for the event types and flows. First define the measure either from the ready-made measures/KPI's or write a custom expression. Then map the measure to the flowchart, e.g. show it as a measure value or visualize the measure using colors.
Using the Visibility Settings you can define the minimum volume of flows and event types from the total amount of flows and events to be shown on the flowchart. Hovering the mouse over the percentage value will show the number of flows and event types out of the total numbers that are visible. Note that a flow is never shown without its start and end event type. In this case the missing event type is made visible.


== Panning and Zooming ==
For event types, the following visualizations are available:
Click and drag the flowchart to pan. Use the mouse wheel to zoom in and out. You can also use the + and - buttons on the bottom right corner to zoom. On touch devices, use the pinch gesture.<br>
* '''Color''': Event type box background color is determined based on this measure. The lowest measure value gets the lightest blue, the highest value gets the darkest blue, and other values get scaled colors between the extremes.
The following keyboard shortcuts are in use:
* '''Label''': Measure value is shown below the event type name in the event type box. There can be several measures mapped to this, which are shown in the same line separated by a pipe (|) character.
* '''Ctrl+0''': set the zoom to 100%.
* '''2nd label''': Measure value is shown below the Label. Like the Label, there can be several measures mapped to this.
* '''Shift+Z''': fit the flowchart into view.
* '''3rd label''': Measure value is shown below the 2nd label. Like the Label, there can be several measures mapped to this.
* '''+'''' and '''-''': zoom in and out.
* '''Cursor keys''': scroll the flowchart.
* '''PageUp''' and '''PageDown''' keys: scroll the flowchart vertically up and down.


== Selecting Event Types and Flows ==
For flows, the following visualizations are available:
Clicking an event type or a flow will select it. To select multiple event types and/or flows, hold down the Ctrl key on your keyboard and click on event types and flows. You can also select multiple event types and/or flows by first pressing and holding down the left mouse button and then dragging the mouse to have a rectangular selection tool to be activated. Pressing Ctrl + A will select all flowchart event types and flows. Note that with the Radial graph layout, only the event type that is in the center of the graph can be selected and the popup menu opened for that event type. Every time an event type or a flow is selected in the flowchart, SelectedActivities and SelectedTransitions context variables will be updated with the identifiers of the selected objects.
* '''Flow thickness''': Flow line thickness is determined based on this measure. The lowest available value is shown as the thinnest line, the highest value is shown as the thickest line, and other values with thicknesses between the extremes.
* '''Color''': Color of the flow line. The lowest available value is shown as the lightest gray, the highest value is shown as the darkest gray, and other values get scaled colors between the extremes.
* '''Label''': Measure value is shown in the middle of the flow. There can be several measures mapped to this, which are shown in the same line separated by a pipe (|) character.
* '''2nd label''': Measure value is shown below the Label. Like the Label, there can be several measures mapped to this.
* '''3rd label''': Measure value is shown below the 2nd label. Like the Label, there can be several measures mapped to this.


== Popup Menu ==
== Flowchart general settings ==
Right-clicking with the mouse or using a long press on a touch device will bring up the popup menu. Selecting an action from the popup menu will target the action to the currently selected event types and/or flows.
Flowchart settings can be opened by clicking the flowchart so that it gets selected, and then clicking the settings button on the top right of the flowchart. Flowchart has the following settings in the '''General''' tab:
* '''Diagram initial zoom''': Zoom level used when the dashboard containing the flowchart is opened. Available options:
** '''Window size''': Flowchart fits to the visible screen entirely while being as large as possible.
** '''Window width''': Flowchart width takes the entire area width. If height is greater than area, the top part of the flowchart is visible. In other case, flowchart is positioned vertically in the middle of the canvas.
** '''50/80/100/120/150/200% zoom''': Flowchart zoom level is set to the defined percentage and top of the flowchart is aligned with the top of the canvas. If this would lead to empty space below the flowchart, position the flowchart in the center of the canvas instead.
* '''Exclude hidden event types''': For the event type and flow measure calculations, adds an event type filter to include only the shown event types (added as the last filter rule). This filter affects especially the flow measures calculation, because not visible event types are excluded and flows go between the visible event types.
* '''Exclude hidden variations''': For the event type and flow measure calculations, adds a variation filter to include only the shown variations (added as the last filter rule).
* '''Show event type names''': Shows or hides event type names that are visible in the event type boxes.
* '''Highlight incoming and outgoing flows''': When enabled, incoming and outgoing flows are highlighted when an event type is hovered with the mouse.
* '''Allow multiselect event types and flows''': When enabled, several event types and flows can be selected at the same time. When disabled, only one event type or flow can be selected at a time.
* '''Allow zooming flowchart''': Zooming the flowchart is allowed (using the mouse wheel and the zoom buttons). When not allowed, the zoom controls are not visible.
* '''Allow moving flowchart''': Moving the flowchart in the canvas is allowed (using the mouse drag).
* '''Title''': User defined title visible above the flowchart.
* '''On-screen settings''': Event type and flow measure parameters can be defined as on-screen settings, similar to in [[QPR_ProcessAnalyzer_Chart#On-screen_Settings|charts]].
* '''Export''': The flowchart can be exported as png or svg image file.
* '''Event type mapping''': Defines the event attribute used as the event type for this flowchart, to visualize the process flow from different angles (e.g., the social mining usecase). For more information about the event type mapping, see [[QPR_ProcessAnalyzer_Chart#Analyzed_Data|chart settings]]. This setting is available only for the Snowflake flowchart. When the mapping is used, ''Cases by Event Attribute'' and ''Events by Attribute'' type of filter rules are created when event types are selected (instead of event type filter rules), to avoid the mismatch if charts have different event type selections.


== Left Side Pane ==
== Flowchart layout settings ==
Clicking the Model and Analysis Buttons on the top left corner of the QPR ProcessAnalyzer Presentation Object will open a pane that can be used to change the model and filter, to view information about the model, to define settings for the data shown on the flowchart, and to change the layout algorithm used for the flowchart.
'''Layout''' tab has following settings:
<br/>
* '''Show legend''': The legend, explaining the event type and flow measures, is shown in the top left corner of the flowchart.
<br/>
* '''Show variation stepper''': Variation stepper, to set the shown number of event types and flows, is shown in the bottom left corner of the flowchart.
By default, the pane closes when you click outside the pane. To have the pane visible when doing selections on the flowchart, click the slider on the pane header:<br/>
* '''Show zoom buttons''': Zoom controls are shown in the right bottom corner of the flowchart.
[[File:PAPOFreezePane.png]]
* '''Start/end symbol color''': Color of the process start and end symbols in the flowchart.
Other layout settings are same as in the [[QPR ProcessAnalyzer Chart#Layout Settings|chart]].


=== Model Page ===
== Flowchart advanced settings ==
The Model page shows the currently open model in the format "<Project Name> - <Model Name>". '''To change the model''', click on the model name and select a model from the drop-down menu that opens. In addition to the model drop-down menu, you can also '''select the filter''' to use by clicking on the '''Filter''' menu and selecting the filter from the drop-down menu that opens.<br>
'''Advanced''' tab has following settings:
* '''Model''': Select [[QPR ProcessAnalyzer Project Workspace#Models|model]] that is shown by the flowchart. This model selection overrides the model selection in the main header, allowing to create dashboards showing flowcharts from several models.
* '''Cases Sample Size''' (Snowflake): Defines how many cases are randomly selected when determining variations. When not defined, sampling is not applied. Sampling is only applied for the variation calculation, and it's never applied for the event type and flow calculation. Purpose of sampling is to improve performance because instead of entire dataset only a subset is used in the variation calculation.
* '''Visible Case Attributes''': Case attributes that are shown in the case attribute selector lists. This setting can be used to hide unneeded attributes for simplicity.
* '''Visible Event Attributes''': Similar setting as the previous, except for the event attribute selector lists.
* '''Visible Event Types''': Similar setting as the previous, except for the event type selector lists.
* '''Linked Settings''': Same functionality for flowcharts as for [[QPR_ProcessAnalyzer_Chart#Linked_settings|Linked Settings in Charts]]. When referring to event measures and flow measures, use types ''eventtypemeasure'' and ''flowmeasure''.
* '''Chart Settings (editable)''': Contain the flowchart settings in the json format. Editing the json is also possible.


=== Information Page ===
== Visualize KPI's with conditional formatting ==
This page displays additional information about the currently selected objects or the context of the whole flowchart displayed in PAPO if there are no other selections currently.
For details how to define conditional formatting, see the [[QPR_ProcessAnalyzer_Table#Conditional_formatting|documentation for tables]]. For conditional formatting of event types, the following formatting types are available:
* '''Model Information'''
* '''backgroundColor''': Color of the event type box background.
:: Model Information is displayed if there are no current selections in PAPO.
* '''borderColor''': Color of the event type box border.
:: Model Information displays the "A1-comment" details of the shown flowchart including:
* '''textColor''': Color of the textual information shown in the event type boxes.
:::* Duration for generating the flowchart.
:::* Model name
:::* Project name
:::* Filter name
:::* Model size metrics
:::* Filter size metrics including sampling details
:: Model Information displays also all the [[QPR ProcessAnalyzer Analysis Parameters|Analysis Parameters]]' values used to generate the analysis.
* '''Filter Rule Information'''
:: Displays the filter rule information for the filter rule selected in the filter rule section of the filter panel.
:: Displays the same text as the text that is displayed in the filter rule section of the filter panel.
* '''Event Type Information'''
:: Event type information is shown only if the model has at least one case attribute.
:: For every selected event type, the following information is made available:
:::* A pie chart displaying profiling analysis results for the event type based on selected case attribute.
:::* You can click on any value in the pie chart or its legend in order to set the context variable named: Selected<case attribute name> to be equal to the clicked value.
:::: NOTE: ContextVariablePrefix is added to the variable name if specified for PAPO.
::: The colors used for different values are the same across all the simultaneously displayed pie charts.
:: Count: The number of unique cases and the total number of cases going through this event type separated by "/".
:: Value: The value of unique cases and the total value of cases going through this event type separated by "/".
:: Profiling analysis configuration:
:::* By default, the selected case attribute is determined by the backend ProcessAnalyzer service.
:::* You can change the selected case attribute from the Attribute drop-down menu shown on top.
:::* The selected case attribute is shared by all the profiling analyses performed for all the event types within the selection.
* '''Flow Information'''
:: For every selected flow, the following information is made available:
:::* A bar chart displaying duration analysis results for the flow grouped by the selected granularity.
:::* Count: The number of unique cases and the total number of cases going through this flow separated by "/".
:::* Avg. Duration: Average duration of all the unique occurrences of the selected flow.
:::* Median Duration: Median duration of all the unique occurrences of the selected flow.
:::* Std. Deviation: Standard deviation of all the unique occurrences of the selected flow.
:::* Value: The value of unique cases and the total value of cases going through this flow separated by "/".
:: Duration analysis configuration:
:::* By default, the selected group by granularity is set to be "Day".
:::* You can change the selected group by granularity from an UI control.
:::: The control is displayed next to the topmost displayed duration analysis chart.
:::* The selected group by granularity is shared by all the duration analyses performed for all the flows within the selection.
:::* Available group by granularities are: Second, Minute, Hour, Day, Week, Month, Quarter.


=== Settings Page ===
For conditional formatting of flows, the following formatting types are available:
On the Settings page, you can configure which information is shown in the flowchart. The following settings are available:
* '''color''': Color of the flow line.
* '''Case Count KPI'''
* '''textColor''': Color of the textual information shown in the flows.
::'''Show on Event Types''': Makes the flowchart display the event type occurrence count and the percentage of occurrences within all the cases in the view. These are shown below the event type name for all the event types as "<percentage> % (<count>)"
:: '''Show on Flows''': Makes the flowchart display the flow occurrence count and the percentage of occurrences within all the cases in the view. These are shown on top of flow detail texts for all the flows as "<percentage> % (<count>)"
* '''Duration KPI'''
:: '''Show on Flows''': Makes the flowchart display the duration for flows below the shown cost for all the flows. When enabled, allows selecting duration mode among the following choices:
::: '''Median''': Median duration will be shown.
::: '''Average''': Average duration will be shown.
::: '''Average Weighted by Cost''': As "Average" but in addition the calculation will be weighted using the costs of the event type or flow as the weight.
* '''Cost KPI'''
:: '''Show on Event Types''': Makes the flowchart display the cost for event types above the event type name for all the event types.
:: '''Show on Flow''': Makes the flowchart display cost for flows below the amounts for all the flows.
::: '''Total''': Total cost will be shown as element cost.
::: '''Average''': Average cost will be shown as element cost.
* '''Transition Type'''
:: '''Unique Only''': When enabled, data will be displayed in the Unique Only mode, i.e. only one occurrence per each case is counted, so that the generic flow of the process is shown, as well as the amount of occurrences of each event type. When disabled, all occurrences are counted, thus revealing if a certain step or a flow in the process is repeated several times impacting the process performance. This settign affects the values in both event types and flows.
* '''Graph Layout'''
:: '''Layout method''': Layout method to use in the flowchart. Options are '''Grid''', '''Tree''', '''Force Directed''', '''Layered Digraph''' (default), '''Circular''' and '''Radial'''. Note that when the '''Radial''' layout is used, only a single flow can be selected in the flowchart (no multiselection is possible).
:: '''Horizontal''': Use vertical (top to bottom) or horizontal (left to right) direction for layouts. Only '''Tree''' and L'''ayered Digraph''' layout methods support this setting.
:: '''Radial Layers''': Number of layers to display when '''Radial''' layout is used.


== See Also ==
Below is an example of event type background color (green when >10000, yellow when 5000-10000 and red when <5000). Add the following code to the conditional formatting of the event type measure that determines the background colors:
* [[QPR_ProcessAnalyzer_Presentation_Object (PAPO)|QPR ProcessAnalyzer Presentation Object (PAPO)]]
<pre>
* [[Case_Analysis (PAPO)|Case Analysis]]
{
* [[Duration_Analysis (PAPO)|Duration Analysis]]
  "backgroundColor": {
* [[Event_Analysis (PAPO)|Event Analysis]]
    "rules": [
* [[Profiling_Analysis (PAPO)|Profiling Analysis]]
      {
* [[Flowchart_Influence_Analysis (PAPO)|Flowchart Influence Analysis]]
        "color": "#EF5254",
* [[Influence_Analysis_for_Case_Attributes (PAPO)|Influence Analysis for Case Attributes]]
        "value": 10000,
* [[Variation_Analysis (PAPO)|Variation Analysis]]
        "comparison": ">="
 
      },
__NOTOC__
      {
 
        "color": "#FFD851",
[[Category: QPR UI]]
        "value": 5000,
        "comparison": ">="
      },
      {
        "color": "#68DD8F"
      }
    ]
  }
}
</pre>

Latest revision as of 21:33, 2 November 2024

The Process Flowchart visualizes eventlogs as a process flow, where boxes represent the event types (activities) and arrows are flows (transitions between consecutive events). Flowchart also shows measures/KPI's calculated for the event types and flows, such as case/event counts, durations or costs. Visibility settings of the flowchart help to visualize only the main event types and flows, and the ones which occur less often can be hidden.

Event type name is by default shown as the first text line in the event type box, but it can also be hidden to show customized text. Event type measures can be mapped to Label, 2nd label and 3rd label, which are shown in the next lines in the box. Flows are shown as arrows connecting the event types, and the arrow is also indicating the process flow direction. Flow measures can be mapped to Label, 2nd label and 3rd label, which are shown in separate lines in the middle of the flow. The starting and ending flows are shown as dashed lines. When an event type is hovered, its incoming (light blue) and outgoing (dark blue) flows are highlighted.

There are two kinds of flowcharts available: Snowflake flowchart and In-memory flowchart. The latter performs processing using the in-memory calculation engine (requiring to load models into memory). Both flowcharts have similar functionality, except available event type and flow measures are different, as the Snowflake flowchart has same measures available as the Snowflake chart. Also in Snowflake flowchart, a filter can be set for each individual event and flow measure.

Visibility settings

FlowchartAnalysis.png

Often the real-life processes are very complex, and trying to show all realized event types and flows don't provide a very illustrative presentation. This is why the flowchart shows only the most important event types and flows, which is based on the variations as follows: You will choose the number of most common variations, and only the event types and flows that appear in those most common variations are shown. Variations are a natural way to draw the flowchart, because variations represent a continuous flow of cases from start to end.

There is a numeric box in the bottom left of the flowchart, where the shown number of top variations can be specified using the keyboard. In addition, there are the + and - buttons to increase and decrease the shown variations. When the buttons are pressed, each time the new event types or flows appear or disappear in the flowchart. Note that some variations are skipped, if they don't provide new event types or flows to the flowchart. This is why the stepper may change in more than in a single variation steps.

Note that the visibility settings and filtering are different things: even though visibility of event types and flows is limited, all the shown measures are calculated based on the entire eventlog (not just for the shown variations). The eventlog may be filtered by the filter rules either in the dashboard header or in the flowchart settings. Note that the behavior can be changed using the Exclude hidden variations setting, which will link the shown variations and the filtering.

Zooming and filtering

The flowchart can be moved by mouse dragging (i.e. keep the left mouse button pressed while moving the mouse cursor). Use the mouse wheel to zoom in and out while the cursor is over the flowchart. You can also use the + and - buttons on the bottom right corner, which increase and decrease the zoom level by 10% in each step.

There are two resets of the zoom and position available, Window width and 100% zoom, which can be toggled by clicking the Reset zoom button in the bottom right. When zoom is 100%, Window width mode is activated, and when zoom is other than 100%, 100% zoom is activated.

Event type and flow based filter rules can be created from the flowchart by selecting the event types and flows. When selecting only event types, you can create a filter which includes and excludes cases containing any the selected event types. In addition, you can include and exclude the selected event types (i.e. filter the events based on event types). When selecting only flows (or both event types and flows), you can create a filter to include only cases containing the selected flows and event types.

Event type and flow KPI's

Flowchart is able to show and visualize measures calculated for the event types and flows. First define the measure either from the ready-made measures/KPI's or write a custom expression. Then map the measure to the flowchart, e.g. show it as a measure value or visualize the measure using colors.

For event types, the following visualizations are available:

  • Color: Event type box background color is determined based on this measure. The lowest measure value gets the lightest blue, the highest value gets the darkest blue, and other values get scaled colors between the extremes.
  • Label: Measure value is shown below the event type name in the event type box. There can be several measures mapped to this, which are shown in the same line separated by a pipe (|) character.
  • 2nd label: Measure value is shown below the Label. Like the Label, there can be several measures mapped to this.
  • 3rd label: Measure value is shown below the 2nd label. Like the Label, there can be several measures mapped to this.

For flows, the following visualizations are available:

  • Flow thickness: Flow line thickness is determined based on this measure. The lowest available value is shown as the thinnest line, the highest value is shown as the thickest line, and other values with thicknesses between the extremes.
  • Color: Color of the flow line. The lowest available value is shown as the lightest gray, the highest value is shown as the darkest gray, and other values get scaled colors between the extremes.
  • Label: Measure value is shown in the middle of the flow. There can be several measures mapped to this, which are shown in the same line separated by a pipe (|) character.
  • 2nd label: Measure value is shown below the Label. Like the Label, there can be several measures mapped to this.
  • 3rd label: Measure value is shown below the 2nd label. Like the Label, there can be several measures mapped to this.

Flowchart general settings

Flowchart settings can be opened by clicking the flowchart so that it gets selected, and then clicking the settings button on the top right of the flowchart. Flowchart has the following settings in the General tab:

  • Diagram initial zoom: Zoom level used when the dashboard containing the flowchart is opened. Available options:
    • Window size: Flowchart fits to the visible screen entirely while being as large as possible.
    • Window width: Flowchart width takes the entire area width. If height is greater than area, the top part of the flowchart is visible. In other case, flowchart is positioned vertically in the middle of the canvas.
    • 50/80/100/120/150/200% zoom: Flowchart zoom level is set to the defined percentage and top of the flowchart is aligned with the top of the canvas. If this would lead to empty space below the flowchart, position the flowchart in the center of the canvas instead.
  • Exclude hidden event types: For the event type and flow measure calculations, adds an event type filter to include only the shown event types (added as the last filter rule). This filter affects especially the flow measures calculation, because not visible event types are excluded and flows go between the visible event types.
  • Exclude hidden variations: For the event type and flow measure calculations, adds a variation filter to include only the shown variations (added as the last filter rule).
  • Show event type names: Shows or hides event type names that are visible in the event type boxes.
  • Highlight incoming and outgoing flows: When enabled, incoming and outgoing flows are highlighted when an event type is hovered with the mouse.
  • Allow multiselect event types and flows: When enabled, several event types and flows can be selected at the same time. When disabled, only one event type or flow can be selected at a time.
  • Allow zooming flowchart: Zooming the flowchart is allowed (using the mouse wheel and the zoom buttons). When not allowed, the zoom controls are not visible.
  • Allow moving flowchart: Moving the flowchart in the canvas is allowed (using the mouse drag).
  • Title: User defined title visible above the flowchart.
  • On-screen settings: Event type and flow measure parameters can be defined as on-screen settings, similar to in charts.
  • Export: The flowchart can be exported as png or svg image file.
  • Event type mapping: Defines the event attribute used as the event type for this flowchart, to visualize the process flow from different angles (e.g., the social mining usecase). For more information about the event type mapping, see chart settings. This setting is available only for the Snowflake flowchart. When the mapping is used, Cases by Event Attribute and Events by Attribute type of filter rules are created when event types are selected (instead of event type filter rules), to avoid the mismatch if charts have different event type selections.

Flowchart layout settings

Layout tab has following settings:

  • Show legend: The legend, explaining the event type and flow measures, is shown in the top left corner of the flowchart.
  • Show variation stepper: Variation stepper, to set the shown number of event types and flows, is shown in the bottom left corner of the flowchart.
  • Show zoom buttons: Zoom controls are shown in the right bottom corner of the flowchart.
  • Start/end symbol color: Color of the process start and end symbols in the flowchart.

Other layout settings are same as in the chart.

Flowchart advanced settings

Advanced tab has following settings:

  • Model: Select model that is shown by the flowchart. This model selection overrides the model selection in the main header, allowing to create dashboards showing flowcharts from several models.
  • Cases Sample Size (Snowflake): Defines how many cases are randomly selected when determining variations. When not defined, sampling is not applied. Sampling is only applied for the variation calculation, and it's never applied for the event type and flow calculation. Purpose of sampling is to improve performance because instead of entire dataset only a subset is used in the variation calculation.
  • Visible Case Attributes: Case attributes that are shown in the case attribute selector lists. This setting can be used to hide unneeded attributes for simplicity.
  • Visible Event Attributes: Similar setting as the previous, except for the event attribute selector lists.
  • Visible Event Types: Similar setting as the previous, except for the event type selector lists.
  • Linked Settings: Same functionality for flowcharts as for Linked Settings in Charts. When referring to event measures and flow measures, use types eventtypemeasure and flowmeasure.
  • Chart Settings (editable): Contain the flowchart settings in the json format. Editing the json is also possible.

Visualize KPI's with conditional formatting

For details how to define conditional formatting, see the documentation for tables. For conditional formatting of event types, the following formatting types are available:

  • backgroundColor: Color of the event type box background.
  • borderColor: Color of the event type box border.
  • textColor: Color of the textual information shown in the event type boxes.

For conditional formatting of flows, the following formatting types are available:

  • color: Color of the flow line.
  • textColor: Color of the textual information shown in the flows.

Below is an example of event type background color (green when >10000, yellow when 5000-10000 and red when <5000). Add the following code to the conditional formatting of the event type measure that determines the background colors:

{
  "backgroundColor": {
    "rules": [
      {
        "color": "#EF5254",
        "value": 10000,
        "comparison": ">="
      },
      {
        "color": "#FFD851",
        "value": 5000,
        "comparison": ">="
      },
      {
        "color": "#68DD8F"
      }
    ]
  }
}