visualcomparisonofbusinessprocess flowcharts · visualcomparisonofbusinessprocess flowcharts...

51
Visual Comparison of Business Process Flowcharts Bernhard Häussner Julius-Maximilians-Universität Würzburg Institut für Informatik Lehrstuhl für Informatik I Algorithmen, Komplexität und wissensbasierte Systeme Advisors: Prof. Dr. Alexander Wolff Fabian Lipp, M. Sc. 2018-03-18

Upload: others

Post on 25-Aug-2020

8 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: VisualComparisonofBusinessProcess Flowcharts · VisualComparisonofBusinessProcess Flowcharts BernhardHäussner Julius-Maximilians-UniversitätWürzburg InstitutfürInformatik LehrstuhlfürInformatikI

Visual Comparison of Business ProcessFlowcharts

Bernhard Häussner

Julius-Maximilians-Universität WürzburgInstitut für Informatik

Lehrstuhl für Informatik IAlgorithmen, Komplexität und wissensbasierte Systeme

Advisors:Prof. Dr. Alexander Wolff

Fabian Lipp, M. Sc.

2018-03-18

Page 2: VisualComparisonofBusinessProcess Flowcharts · VisualComparisonofBusinessProcess Flowcharts BernhardHäussner Julius-Maximilians-UniversitätWürzburg InstitutfürInformatik LehrstuhlfürInformatikI

What are Business Process Flowcharts?

hunger

bake

xor

black brown

eatsob

contentdone

Example for an event-driven process chain (EPC) as described byW.M.P. van der Aalst 1999. The process of making and

consuming pie.

Page 3: VisualComparisonofBusinessProcess Flowcharts · VisualComparisonofBusinessProcess Flowcharts BernhardHäussner Julius-Maximilians-UniversitätWürzburg InstitutfürInformatik LehrstuhlfürInformatikI

Why? Motivation from industry needs

I Adaption of commercial off-the-shelf (COTS) software[Komplex-e]

I Workflows are documented, managed and compared as digitalbusiness process models. [de Moor and Delugach 2006]

I Merging organizational units

Page 4: VisualComparisonofBusinessProcess Flowcharts · VisualComparisonofBusinessProcess Flowcharts BernhardHäussner Julius-Maximilians-UniversitätWürzburg InstitutfürInformatik LehrstuhlfürInformatikI

Why? Motivation from industry needs

I Adaption of commercial off-the-shelf (COTS) software[Komplex-e]

I Workflows are documented, managed and compared as digitalbusiness process models. [de Moor and Delugach 2006]

I Merging organizational units

Page 5: VisualComparisonofBusinessProcess Flowcharts · VisualComparisonofBusinessProcess Flowcharts BernhardHäussner Julius-Maximilians-UniversitätWürzburg InstitutfürInformatik LehrstuhlfürInformatikI

Why? Motivation from industry needs

I Adaption of commercial off-the-shelf (COTS) software[Komplex-e]

I Workflows are documented, managed and compared as digitalbusiness process models. [de Moor and Delugach 2006]

I Merging organizational units

Page 6: VisualComparisonofBusinessProcess Flowcharts · VisualComparisonofBusinessProcess Flowcharts BernhardHäussner Julius-Maximilians-UniversitätWürzburg InstitutfürInformatik LehrstuhlfürInformatikI

Automatic process model matching

I AI algorithms can give a similarity score [Dijkman et al. 2011]

I A process model matching contest yielded various results[Antunes et al. 2015]

I Results are never completely correct, making human visualcomparison necessary

Page 7: VisualComparisonofBusinessProcess Flowcharts · VisualComparisonofBusinessProcess Flowcharts BernhardHäussner Julius-Maximilians-UniversitätWürzburg InstitutfürInformatik LehrstuhlfürInformatikI

Automatic process model matching

I AI algorithms can give a similarity score [Dijkman et al. 2011]I A process model matching contest yielded various results

[Antunes et al. 2015]

I Results are never completely correct, making human visualcomparison necessary

Page 8: VisualComparisonofBusinessProcess Flowcharts · VisualComparisonofBusinessProcess Flowcharts BernhardHäussner Julius-Maximilians-UniversitätWürzburg InstitutfürInformatik LehrstuhlfürInformatikI

Automatic process model matching

I AI algorithms can give a similarity score [Dijkman et al. 2011]I A process model matching contest yielded various results

[Antunes et al. 2015]I Results are never completely correct, making human visual

comparison necessary

Page 9: VisualComparisonofBusinessProcess Flowcharts · VisualComparisonofBusinessProcess Flowcharts BernhardHäussner Julius-Maximilians-UniversitätWürzburg InstitutfürInformatik LehrstuhlfürInformatikI

Business process flowcharts are graph drawings

I Business processes are basically graphs

I With nodes and edgesI Use graph drawing for layouting

Page 10: VisualComparisonofBusinessProcess Flowcharts · VisualComparisonofBusinessProcess Flowcharts BernhardHäussner Julius-Maximilians-UniversitätWürzburg InstitutfürInformatik LehrstuhlfürInformatikI

Business process flowcharts are graph drawings

I Business processes are basically graphsI With nodes and edges

I Use graph drawing for layouting

Page 11: VisualComparisonofBusinessProcess Flowcharts · VisualComparisonofBusinessProcess Flowcharts BernhardHäussner Julius-Maximilians-UniversitätWürzburg InstitutfürInformatik LehrstuhlfürInformatikI

Business process flowcharts are graph drawings

I Business processes are basically graphsI With nodes and edgesI Use graph drawing for layouting

Page 12: VisualComparisonofBusinessProcess Flowcharts · VisualComparisonofBusinessProcess Flowcharts BernhardHäussner Julius-Maximilians-UniversitätWürzburg InstitutfürInformatik LehrstuhlfürInformatikI

Sugiyama [1981] graph drawing is suitable for businessprocess flowcharts

Five steps of layered graphdrawing:

I Cycle breakingI Layer assignmentI Vertex orderingI Horizontal positioningI Edge drawing

Page 13: VisualComparisonofBusinessProcess Flowcharts · VisualComparisonofBusinessProcess Flowcharts BernhardHäussner Julius-Maximilians-UniversitätWürzburg InstitutfürInformatik LehrstuhlfürInformatikI

Visual graph comparisons are not easy

a

b

f

i

c

d

g

h

A graph.

f g

a

bi

c

d

h

The same graph?

Page 14: VisualComparisonofBusinessProcess Flowcharts · VisualComparisonofBusinessProcess Flowcharts BernhardHäussner Julius-Maximilians-UniversitätWürzburg InstitutfürInformatik LehrstuhlfürInformatikI

Can we also use graph comparisons?

I Not a whole lot of literature on visual graph comparison

I Biologists draw metabolic pathways, which are series ofchemical reactions. [Schreiber 2003]

I Merging of graphs with Semantic Graph Visualiser (SGV)[Andrews et al. 2009]

I New idea: Bringing vertices to the same height

Page 15: VisualComparisonofBusinessProcess Flowcharts · VisualComparisonofBusinessProcess Flowcharts BernhardHäussner Julius-Maximilians-UniversitätWürzburg InstitutfürInformatik LehrstuhlfürInformatikI

Can we also use graph comparisons?

I Not a whole lot of literature on visual graph comparisonI Biologists draw metabolic pathways, which are series of

chemical reactions. [Schreiber 2003]

I Merging of graphs with Semantic Graph Visualiser (SGV)[Andrews et al. 2009]

I New idea: Bringing vertices to the same height

Page 16: VisualComparisonofBusinessProcess Flowcharts · VisualComparisonofBusinessProcess Flowcharts BernhardHäussner Julius-Maximilians-UniversitätWürzburg InstitutfürInformatik LehrstuhlfürInformatikI

Can we also use graph comparisons?

I Not a whole lot of literature on visual graph comparisonI Biologists draw metabolic pathways, which are series of

chemical reactions. [Schreiber 2003]I Merging of graphs with Semantic Graph Visualiser (SGV)

[Andrews et al. 2009]

I New idea: Bringing vertices to the same height

Page 17: VisualComparisonofBusinessProcess Flowcharts · VisualComparisonofBusinessProcess Flowcharts BernhardHäussner Julius-Maximilians-UniversitätWürzburg InstitutfürInformatik LehrstuhlfürInformatikI

Can we also use graph comparisons?

I Not a whole lot of literature on visual graph comparisonI Biologists draw metabolic pathways, which are series of

chemical reactions. [Schreiber 2003]I Merging of graphs with Semantic Graph Visualiser (SGV)

[Andrews et al. 2009]I New idea: Bringing vertices to the same height

Page 18: VisualComparisonofBusinessProcess Flowcharts · VisualComparisonofBusinessProcess Flowcharts BernhardHäussner Julius-Maximilians-UniversitätWürzburg InstitutfürInformatik LehrstuhlfürInformatikI

Bringing vertices to the same height

1

23

4

5

6 8 7

3′

1′

8′

4′ 2′ 7′

5′

6′

A graph with “constraints”between similar nodes

Page 19: VisualComparisonofBusinessProcess Flowcharts · VisualComparisonofBusinessProcess Flowcharts BernhardHäussner Julius-Maximilians-UniversitätWürzburg InstitutfürInformatik LehrstuhlfürInformatikI

Bringing vertices to the same height

I Inserting space between layers

I Problem: Crossings of constraintsI Solution: select as many non crossing constraints as possibleI But how?

Page 20: VisualComparisonofBusinessProcess Flowcharts · VisualComparisonofBusinessProcess Flowcharts BernhardHäussner Julius-Maximilians-UniversitätWürzburg InstitutfürInformatik LehrstuhlfürInformatikI

Bringing vertices to the same height

I Inserting space between layersI Problem: Crossings of constraints

I Solution: select as many non crossing constraints as possibleI But how?

Page 21: VisualComparisonofBusinessProcess Flowcharts · VisualComparisonofBusinessProcess Flowcharts BernhardHäussner Julius-Maximilians-UniversitätWürzburg InstitutfürInformatik LehrstuhlfürInformatikI

Bringing vertices to the same height

I Inserting space between layersI Problem: Crossings of constraintsI Solution: select as many non crossing constraints as possible

I But how?

Page 22: VisualComparisonofBusinessProcess Flowcharts · VisualComparisonofBusinessProcess Flowcharts BernhardHäussner Julius-Maximilians-UniversitätWürzburg InstitutfürInformatik LehrstuhlfürInformatikI

Bringing vertices to the same height

I Inserting space between layersI Problem: Crossings of constraintsI Solution: select as many non crossing constraints as possibleI But how?

Page 23: VisualComparisonofBusinessProcess Flowcharts · VisualComparisonofBusinessProcess Flowcharts BernhardHäussner Julius-Maximilians-UniversitätWürzburg InstitutfürInformatik LehrstuhlfürInformatikI

Bringing vertices to the same height

1

23

4

5

6 8 7

3′

1′

8′

4′ 2′ 7′

5′

6′

Two graphs with similarities

Page 24: VisualComparisonofBusinessProcess Flowcharts · VisualComparisonofBusinessProcess Flowcharts BernhardHäussner Julius-Maximilians-UniversitätWürzburg InstitutfürInformatik LehrstuhlfürInformatikI

Bringing vertices to the same height

1

23

4

5

6 8 7

3′

1′

8′

4′ 2′ 7′

5′

6′

Two graphs with similarities

1

2

3

4

5

6

78

18

742

5

6

3

We only need to look at layers

Page 25: VisualComparisonofBusinessProcess Flowcharts · VisualComparisonofBusinessProcess Flowcharts BernhardHäussner Julius-Maximilians-UniversitätWürzburg InstitutfürInformatik LehrstuhlfürInformatikI

Bringing vertices to the same height

1

2

3

4

5

6

78

18

742

5

6

3

We only need to look at layers

Page 26: VisualComparisonofBusinessProcess Flowcharts · VisualComparisonofBusinessProcess Flowcharts BernhardHäussner Julius-Maximilians-UniversitätWürzburg InstitutfürInformatik LehrstuhlfürInformatikI

Bringing vertices to the same height

1

2

3

4

5

6

78

18

742

5

6

3

We only need to look at layers

Page 27: VisualComparisonofBusinessProcess Flowcharts · VisualComparisonofBusinessProcess Flowcharts BernhardHäussner Julius-Maximilians-UniversitätWürzburg InstitutfürInformatik LehrstuhlfürInformatikI

Bringing vertices to the same height

1

2

3

4

5

6

78

18

742

5

6

3

We only need to look at layers

I We can only bring one oftwo crossing lines to thesame level

I Line crossings form aconflict graph

I Just need to find amaximum independent set

I NP complete?

Page 28: VisualComparisonofBusinessProcess Flowcharts · VisualComparisonofBusinessProcess Flowcharts BernhardHäussner Julius-Maximilians-UniversitätWürzburg InstitutfürInformatik LehrstuhlfürInformatikI

Bringing vertices to the same height

1

2

3

4

5

6

78

18

742

5

6

3

We only need to look at layers

1 3 2 4

7

5 6

8

Conflict graph

Page 29: VisualComparisonofBusinessProcess Flowcharts · VisualComparisonofBusinessProcess Flowcharts BernhardHäussner Julius-Maximilians-UniversitätWürzburg InstitutfürInformatik LehrstuhlfürInformatikI

Permutation graphs

I Permutation graphs [Even et al. 1972]I Vertices: elements of a permutationI Edges: pairs of elements that are reversed by the permutationI The conflict graphs are permutation graphs

Page 30: VisualComparisonofBusinessProcess Flowcharts · VisualComparisonofBusinessProcess Flowcharts BernhardHäussner Julius-Maximilians-UniversitätWürzburg InstitutfürInformatik LehrstuhlfürInformatikI

Bringing vertices to the same height

1

2

3

4

5

6

78

18

742

5

6

3

The permutation reads as 3, 1,8, 7, 4, 2, 5, 6

1 3 2 4

7

5 6

8

Permutation graph

Page 31: VisualComparisonofBusinessProcess Flowcharts · VisualComparisonofBusinessProcess Flowcharts BernhardHäussner Julius-Maximilians-UniversitätWürzburg InstitutfürInformatik LehrstuhlfürInformatikI

Finding an independent set

I (Maximum) independent sets are (longest) increasingsubsequences

I Can be found in O(n log n) timeI Algorithm uses ideas from Aldous and Diaconis 1999 and

Kim 1990

Page 32: VisualComparisonofBusinessProcess Flowcharts · VisualComparisonofBusinessProcess Flowcharts BernhardHäussner Julius-Maximilians-UniversitätWürzburg InstitutfürInformatik LehrstuhlfürInformatikI

Example

1

2

3

4

5

6

78

18

742

5

6

3

The permutation reads as 3, 1,8, 7, 4, 2, 5, 6

1 3 2 4

7

5 6

8

Permutation graph

Other examples:3, 8, 7, 4, 5, 6, 1, 2

4, 2, 3, 1

Page 33: VisualComparisonofBusinessProcess Flowcharts · VisualComparisonofBusinessProcess Flowcharts BernhardHäussner Julius-Maximilians-UniversitätWürzburg InstitutfürInformatik LehrstuhlfürInformatikI

Result

1

23

4

5

6 8 7

3′

1′

8′

4′ 2′ 7′

5′

6′

The graphs adjusted accordingto the longest increasing

subsequence

1

2

3

4

5

678

18

7

425

6

3

The adjusted layers

Page 34: VisualComparisonofBusinessProcess Flowcharts · VisualComparisonofBusinessProcess Flowcharts BernhardHäussner Julius-Maximilians-UniversitätWürzburg InstitutfürInformatik LehrstuhlfürInformatikI

Possible improvement: interpolation

Adjusted by adding space Adjusted by spreading to fillthe space

Page 35: VisualComparisonofBusinessProcess Flowcharts · VisualComparisonofBusinessProcess Flowcharts BernhardHäussner Julius-Maximilians-UniversitätWürzburg InstitutfürInformatik LehrstuhlfürInformatikI

Another variant: adjusted scrolling

Page 36: VisualComparisonofBusinessProcess Flowcharts · VisualComparisonofBusinessProcess Flowcharts BernhardHäussner Julius-Maximilians-UniversitätWürzburg InstitutfürInformatik LehrstuhlfürInformatikI

Demo

Page 37: VisualComparisonofBusinessProcess Flowcharts · VisualComparisonofBusinessProcess Flowcharts BernhardHäussner Julius-Maximilians-UniversitätWürzburg InstitutfürInformatik LehrstuhlfürInformatikI

Evaluation

I A tool was developed using JUNG [O’Madadhain et al. 2005]and KIELER

I Includes Andrews et al.’s SGV comparison with merged graphsI Works on EPCs, including those from Komplex-e and the

2015 process model matching contest

Page 38: VisualComparisonofBusinessProcess Flowcharts · VisualComparisonofBusinessProcess Flowcharts BernhardHäussner Julius-Maximilians-UniversitätWürzburg InstitutfürInformatik LehrstuhlfürInformatikI

Evaluation

I A tool was developed using JUNG [O’Madadhain et al. 2005]and KIELER

I Includes Andrews et al.’s SGV comparison with merged graphs

I Works on EPCs, including those from Komplex-e and the2015 process model matching contest

Page 39: VisualComparisonofBusinessProcess Flowcharts · VisualComparisonofBusinessProcess Flowcharts BernhardHäussner Julius-Maximilians-UniversitätWürzburg InstitutfürInformatik LehrstuhlfürInformatikI

Evaluation

I A tool was developed using JUNG [O’Madadhain et al. 2005]and KIELER

I Includes Andrews et al.’s SGV comparison with merged graphsI Works on EPCs, including those from Komplex-e and the

2015 process model matching contest

Page 40: VisualComparisonofBusinessProcess Flowcharts · VisualComparisonofBusinessProcess Flowcharts BernhardHäussner Julius-Maximilians-UniversitätWürzburg InstitutfürInformatik LehrstuhlfürInformatikI

Comparing the numbers

I SGV: height: -11% to +48%, on average +6%

I SGV: width: +38% to +258%, on average +128%I Height adjustment: height: +3% to 46%, on average +22%I Height adjustment: width: no change

Page 41: VisualComparisonofBusinessProcess Flowcharts · VisualComparisonofBusinessProcess Flowcharts BernhardHäussner Julius-Maximilians-UniversitätWürzburg InstitutfürInformatik LehrstuhlfürInformatikI

Comparing the numbers

I SGV: height: -11% to +48%, on average +6%I SGV: width: +38% to +258%, on average +128%

I Height adjustment: height: +3% to 46%, on average +22%I Height adjustment: width: no change

Page 42: VisualComparisonofBusinessProcess Flowcharts · VisualComparisonofBusinessProcess Flowcharts BernhardHäussner Julius-Maximilians-UniversitätWürzburg InstitutfürInformatik LehrstuhlfürInformatikI

Comparing the numbers

I SGV: height: -11% to +48%, on average +6%I SGV: width: +38% to +258%, on average +128%I Height adjustment: height: +3% to 46%, on average +22%

I Height adjustment: width: no change

Page 43: VisualComparisonofBusinessProcess Flowcharts · VisualComparisonofBusinessProcess Flowcharts BernhardHäussner Julius-Maximilians-UniversitätWürzburg InstitutfürInformatik LehrstuhlfürInformatikI

Comparing the numbers

I SGV: height: -11% to +48%, on average +6%I SGV: width: +38% to +258%, on average +128%I Height adjustment: height: +3% to 46%, on average +22%I Height adjustment: width: no change

Page 44: VisualComparisonofBusinessProcess Flowcharts · VisualComparisonofBusinessProcess Flowcharts BernhardHäussner Julius-Maximilians-UniversitätWürzburg InstitutfürInformatik LehrstuhlfürInformatikI

User study

I Tested on two participants first

I Learnings were incorporated into a final questionnaire of42 questions

I Three different example processes were pickedI 13 participants (8 CS, 3 Econ., 2 others)

Result: slightly more generous answers for height adjustmentand adjusted scrolling vs. merged layout, but only smallsample size.

Page 45: VisualComparisonofBusinessProcess Flowcharts · VisualComparisonofBusinessProcess Flowcharts BernhardHäussner Julius-Maximilians-UniversitätWürzburg InstitutfürInformatik LehrstuhlfürInformatikI

User study

I Tested on two participants firstI Learnings were incorporated into a final questionnaire of

42 questions

I Three different example processes were pickedI 13 participants (8 CS, 3 Econ., 2 others)

Result: slightly more generous answers for height adjustmentand adjusted scrolling vs. merged layout, but only smallsample size.

Page 46: VisualComparisonofBusinessProcess Flowcharts · VisualComparisonofBusinessProcess Flowcharts BernhardHäussner Julius-Maximilians-UniversitätWürzburg InstitutfürInformatik LehrstuhlfürInformatikI

User study

I Tested on two participants firstI Learnings were incorporated into a final questionnaire of

42 questionsI Three different example processes were picked

I 13 participants (8 CS, 3 Econ., 2 others)Result: slightly more generous answers for height adjustmentand adjusted scrolling vs. merged layout, but only smallsample size.

Page 47: VisualComparisonofBusinessProcess Flowcharts · VisualComparisonofBusinessProcess Flowcharts BernhardHäussner Julius-Maximilians-UniversitätWürzburg InstitutfürInformatik LehrstuhlfürInformatikI

User study

I Tested on two participants firstI Learnings were incorporated into a final questionnaire of

42 questionsI Three different example processes were pickedI 13 participants (8 CS, 3 Econ., 2 others)

Result: slightly more generous answers for height adjustmentand adjusted scrolling vs. merged layout, but only smallsample size.

Page 48: VisualComparisonofBusinessProcess Flowcharts · VisualComparisonofBusinessProcess Flowcharts BernhardHäussner Julius-Maximilians-UniversitätWürzburg InstitutfürInformatik LehrstuhlfürInformatikI

Future Work

I Smart use of colors to highlight similar elements

I Extension of the longest increasing subsequence algorithm tothe weighted problem

I Improvement of constraint visualisationI n : m matchings

Page 49: VisualComparisonofBusinessProcess Flowcharts · VisualComparisonofBusinessProcess Flowcharts BernhardHäussner Julius-Maximilians-UniversitätWürzburg InstitutfürInformatik LehrstuhlfürInformatikI

Future Work

I Smart use of colors to highlight similar elementsI Extension of the longest increasing subsequence algorithm to

the weighted problem

I Improvement of constraint visualisationI n : m matchings

Page 50: VisualComparisonofBusinessProcess Flowcharts · VisualComparisonofBusinessProcess Flowcharts BernhardHäussner Julius-Maximilians-UniversitätWürzburg InstitutfürInformatik LehrstuhlfürInformatikI

Future Work

I Smart use of colors to highlight similar elementsI Extension of the longest increasing subsequence algorithm to

the weighted problemI Improvement of constraint visualisation

I n : m matchings

Page 51: VisualComparisonofBusinessProcess Flowcharts · VisualComparisonofBusinessProcess Flowcharts BernhardHäussner Julius-Maximilians-UniversitätWürzburg InstitutfürInformatik LehrstuhlfürInformatikI

Future Work

I Smart use of colors to highlight similar elementsI Extension of the longest increasing subsequence algorithm to

the weighted problemI Improvement of constraint visualisationI n : m matchings