I would like to create an border around the graph which is getting generated with nop2 engine.
digraph {
a[pos="0,0!"]
b[pos="100,0!"]
a -> b
}
This gets translated into this :
which does not have an border around it. How can we generate an thick border around the whole graph?
I tried using clusters but they are not supported in neato. So, no help.


Here is a gvpr (https://www.graphviz.org/pdf/gvpr.1.pdf) program that will add a periphery to a (root) graph. It does so by adding a rectangular node that is the size of the bounding box (the bb attribute), and then expanding the bb value.
Her is a command line:
dot -Knop2 myfile.gv |gvpr -cf addP.gvpr | dot -Knop2 -Tpng >myfile.pngSave this as addP.gvpr