Annotate output graph with a parallelogram node with the model name.
- Legacy-Id: 183
This commit is contained in:
parent
1c9bf9b1ca
commit
15a3474aed
|
@ -13,5 +13,15 @@ do
|
||||||
then
|
then
|
||||||
python modelviz.py $d
|
python modelviz.py $d
|
||||||
fi
|
fi
|
||||||
done > models.dot
|
done | unflatten -f -l 10 | gvpr -c '
|
||||||
unflatten -f -l 10 models.dot | dot -Tps -Gsize=10.5,8.0 -Gmargin=0.25 -Gratio=auto -Grotate=90 | sed -e 's/ Bold/-Bold/' > models.ps
|
BEG_G {
|
||||||
|
node_t title = node($G, "title");
|
||||||
|
title.shape="parallelogram";
|
||||||
|
string model = $G.name;
|
||||||
|
model = sub(model, "^ietf.");
|
||||||
|
model = sub(model, ".models$");
|
||||||
|
title.label = model;
|
||||||
|
title.fontsize = 24;
|
||||||
|
}
|
||||||
|
' > models.dot
|
||||||
|
dot -Tps -Gsize=10.5,8.0 -Gmargin=0.25 -Gratio=auto -Grotate=90 models.dot | sed -e 's/ Bold/-Bold/' > models.ps
|
||||||
|
|
Loading…
Reference in a new issue