Skip to content

Instantly share code, notes, and snippets.

@mbeale
Created February 1, 2017 00:21
Show Gist options
  • Save mbeale/7311e8d27f84825f9abc1480ecd900c8 to your computer and use it in GitHub Desktop.
Save mbeale/7311e8d27f84825f9abc1480ecd900c8 to your computer and use it in GitHub Desktop.
viz.js
# http://www.graphviz.org/content/cluster
digraph G {
subgraph cluster_level_1 {
style=filled;
color=lightgrey;
node [style=filled,color=white];
integration_0[label="integration"];
custom_space_0[label="custom_space"];
first_metric_0[label="first_metric"];
alert_0[label="alert"];
collaborator_0[label="collaborator"];
composite_0[label="composite"];
lost_0[label="lost"];
converted_0[label="converted"];
label = "step 1";
}
subgraph cluster_level_2 {
node [style=filled];
integration_1[label="integration"];
custom_space_1[label="custom_space"];
first_metric_1[label="first_metric"];
alert_1[label="alert"];
collaborator_1[label="collaborator"];
composite_1[label="composite"];
lost_1[label="lost"];
converted_1[label="converted"];
label = "step 2";
color=blue
}
subgraph cluster_level_3 {
style=filled;
color=lightgrey;
node [style=filled,color=white];
integration_2[label="integration"];
custom_space_2[label="custom_space"];
first_metric_2[label="first_metric"];
alert_2[label="alert"];
collaborator_2[label="collaborator"];
lost_2[label="lost"];
converted_2[label="converted"];
label = "step 3";
}
subgraph cluster_level_4 {
node [style=filled];
custom_space_3[label="custom_space"];
alert_3[label="alert"];
collaborator_3[label="collaborator"];
lost_3[label="lost"];
converted_3[label="converted"];
label = "step 4";
color=blue
}
subgraph cluster_level_5 {
style=filled;
color=lightgrey;
node [style=filled,color=white];
composite_4[label="composite"];
alert_4[label="alert"];
lost_4[label="lost"];
converted_4[label="converted"];
label = "step 5";
}
subgraph cluster_level_6 {
node [style=filled];
lost_5[label="lost"];
converted_5[label="converted"];
label = "step 6";
color=blue
}
signups[label="1818 Signups"];
signups -> lost_0[label="586"];
signups -> converted_0[label="2"];
signups -> integration_0[label="1018"]
integration_0 -> converted_1[label="1"]
integration_0 -> lost_1[label="570"]
integration_0 -> first_metric_1[label="350"]
integration_0 -> custom_space_1[label="91"]
integration_0 -> alert_1[label="4"]
integration_0 -> collaborator_1[label="2"]
first_metric_1 -> converted_2[label="11"]
first_metric_1 -> lost_2[label="204"]
first_metric_1 -> custom_space_2[label="117"]
first_metric_1 -> collaborator_2[label="20"]
first_metric_1 -> alert_2[label="17"]
first_metric_1 -> integration_2[label="2"]
custom_space_1 -> converted_2[label="1"]
custom_space_1 -> lost_2[label="86"]
custom_space_1 -> alert_2[label="2"]
custom_space_1 -> integration_2[label="2"]
custom_space_1 -> first_metric_2[label="22"]
signups -> custom_space_0[label="48"]
custom_space_0 -> lost_1[label="25"]
custom_space_0 -> first_metric_1[label="18"]
custom_space_0 -> integration_1[label="5"]
custom_space_2 -> converted_3[label="6"]
custom_space_2 -> lost_3[label="87"]
custom_space_2 -> alert_3[label="15"]
custom_space_2 -> collaborator_3[label="16"]
signups -> first_metric_0[label="69"]
first_metric_0 -> custom_space_1[label="22"]
first_metric_0 -> lost_1[label="32"]
first_metric_0 -> alert_1[label="4"]
first_metric_0 -> integration_1[label="9"]
first_metric_0 -> composite_1[label="2"]
collaborator_2 -> custom_space_3[label="9"]
collaborator_2 -> converted_3[label="2"]
collaborator_2 -> lost_3[label="9"]
custom_space_3 -> converted_4[label="4"]
custom_space_3 -> lost_4[label="9"]
alert_2 -> converted_3[label="2"]
alert_2 -> lost_3[label="13"]
alert_2 -> custom_space_3[label="4"]
alert_3 -> converted_4[label="4"]
alert_3 -> lost_4[label="9"]
alert_3 -> composite_4[label="2"]
alert_1 -> lost_2[label="4"]
alert_1 -> custom_space_2[label="4"]
signups -> collaborator_0[label="5"]
collaborator_0 -> first_metric_1[label="3"]
collaborator_0 -> lost_1[label="2"]
integration_2 -> converted_3[label="1"]
integration_2 -> lost_3[label="3"]
collaborator_3 -> converted_4[label="5"]
collaborator_3 -> lost_4[label="11"]
collaborator_3 -> alert_4[label="3"]
collaborator_1 -> lost_2[label="2"]
first_metric_2 -> collaborator_3[label="3"]
first_metric_2 -> converted_3[label="2"]
first_metric_2 -> lost_3[label="19"]
integration_1 -> first_metric_2[label="2"]
integration_1 -> lost_2[label="9"]
integration_1 -> custom_space_2[label="3"]
alert_4 -> converted_5[label="1"]
alert_4 -> lost_5[label="2"]
composite_4 -> converted_5[label="1"]
composite_4 -> lost_5[label="1"]
composite_1 -> lost_2[label="2"]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment