Skip to content

Instantly share code, notes, and snippets.

@sudhackar
Created October 1, 2018 11:45
Show Gist options
  • Save sudhackar/39d06e4e29a9b18c1713d19c4ac654bf to your computer and use it in GitHub Desktop.
Save sudhackar/39d06e4e29a9b18c1713d19c4ac654bf to your computer and use it in GitHub Desktop.
active process list
digraph foo {
rankdir=LR;
graph [bgcolor=white fontname="Courier" splines=true nodesep=0.0 pad=0.2 ranksep=0.5 center=true];
node [shape=record];
subgraph cluster_sa_ {
label = "PsActive\lProcessHead";
a_flink[label="\l\lflink"];
a_blink[label="\l\lblink"];
};
subgraph cluster_b {
ordering="out";
label="_EPROCESS";
subgraph cluster_sb_ {
label = "Active\lProcess\lLinks";
b_flink[label="\l\lflink"];
b_blink[label="\l\lblink"];
};
};
subgraph cluster_c {
ordering="out";
label="_EPROCESS";
subgraph cluster_sc_ {
label = "Active\lProcess\lLinks";
c_flink[label="\l\lflink"];
c_blink[label="\l\lblink"];
};
};
subgraph cluster_d {
ordering="out";
label="_EPROCESS";
subgraph cluster_sd_ {
label = "Active\lProcess\lLinks";
d_flink[label="\l\lflink"];
d_blink[label="\l\lblink"];
};
};
a_flink -> b_flink [arrowhead=vee, arrowtail=dot, dir=both, tailclip=false, weight=500, minlen=2.5];
b_blink -> a_flink [arrowhead=vee, arrowtail=dot, dir=both, tailclip=false, weight=0];
b_flink -> c_flink [arrowhead=vee, arrowtail=dot, dir=both, tailclip=false, weight=500, minlen=2.5];
c_blink -> b_flink [arrowhead=vee, arrowtail=dot, dir=both, tailclip=false, weight=0];
c_flink -> d_flink [arrowhead=vee, arrowtail=dot, dir=both, tailclip=false, weight=100, minlen=2.5];
d_blink -> c_flink [arrowhead=vee, arrowtail=dot, dir=both, tailclip=false, weight=0];
d_flink -> a_flink:e [arrowhead=vee, arrowtail=dot, dir=both, tailclip=false, weight=500, minlen=2.5, constraint=false];
a_blink -> d_flink:w [arrowhead=vee, arrowtail=dot, dir=both, tailclip=false, weight=0, constraint=false];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment