# Process mining with Network diagram in Vega

**URL:** <https://discuss.elastic.co/t/process-mining-with-network-diagram-in-vega/121228>\
**Category:** Kibana\
**Created:** [February 23, 2018, 2:19pm UTC](https://discuss.elastic.co/t/process-mining-with-network-diagram-in-vega/121228 "2018-02-23T14:19:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cristian](https://avatars.discourse-cdn.com/v4/letter/c/a698b9/32.png) [@Cristian](https://discuss.elastic.co/u/Cristian)\
**Post date:** [February 23, 2018, 2:19pm UTC](https://discuss.elastic.co/t/process-mining-with-network-diagram-in-vega/121228/1 "2018-02-23T14:19:46Z")

</div>

Hi All!  
Dont know where to post this question. Trying here.

I would like to analyze a process. I have a digital footprint where I have a row representing an order. I see the status, the point in the process, previous point in the process, time stamp, previous point timestamp, and a lot of different attributes. New rows are created for any change in the process so if the order moves on to the next point this is a new row.

Is it possible to plot this in some kind of network diagram in Vega? The process is not linear, thus, an order can be sent back in the process.

What I need to know:  
At any given point in time I would like to know how many orders there are at different points in the process. How many orders were sent to and from a point in the process and to where.

Any suggestions?

Br  
Cris

---

<div class="post-metadata">

**Author:** ![nyuriks](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nyuriks/32/26171_2.png) [@nyuriks](https://discuss.elastic.co/u/nyuriks)\
**Post date:** [February 23, 2018, 5:30pm UTC](https://discuss.elastic.co/t/process-mining-with-network-diagram-in-vega/121228/2 "2018-02-23T17:30:58Z")

</div>

@Cristian it seems your data structure is fairly well suited for a network diagram because for each item you have both the start and the end nodes. Take a look at the [Vega examples page](https://vega.github.io/vega/examples/), see which graph is better suited for your needs and try to modify it to fit your data. If your data is public, you could post it somewhere (e.g. as a gist), and I might write a blog post about it (no promises).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [March 23, 2018, 5:31pm UTC](https://discuss.elastic.co/t/process-mining-with-network-diagram-in-vega/121228/3 "2018-03-23T17:31:09Z")

</div>

Closed on March 23, 2018, 5:31pm UTC

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
