question

Maryam H2 avatar image
0 Likes"
Maryam H2 asked Maryam H2 commented

Sankey Diagram in Healthcare Environment

Hi-

I've created a simple model to visualize the flows using the Sankey diagram:

1- I see the legends in the diagram do not show up correctly. Why is that?

2- How we can put a group of objects under one Milestone, meaning if the person choose each of the objects in that group it should be counted toward the same flow.

The model is attached.

model_sankey_diagram.fsm

Thanks

FlexSim 22.1.0
milestone collectorsankey diagramobject group
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Jordan Johnson avatar image
0 Likes"
Jordan Johnson answered Maryam H2 commented

Hi,

Unfortunately, the Sankey diagram (from the Base Chart Types section) can't directly draw the data in a Milestone Collector. The table format of the Milestone collector isn't compatible with the format required by the Sankey diagram, which is why the legend looks strange.
https://docs.flexsim.com/en/22.1/Reference/Dashboard/Charts/SankeyDiagram/SankeyDiagram.html

In Standard FlexSim, in the Milestone section, there is a chart that draws milestone data as as Sankey diagram. That chart is a Chart Template, and under the hood, it uses a Process Flow and an additional Statistics Collector to transform the data in a Milestone Collector into a format the Sankey diagram can use.

Based on your model, it looks like you are collecting milestones by listening to events. Instead of using events, I'd use the Milestone activity, and place it in the Process Flow. That way, no matter which location the person acquires, they still are at the next step. Something like this:

model-sankey-diagram_1.fsm


· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Maryam H2 avatar image Maryam H2 commented ·
Got it, thanks!
0 Likes 0 ·