I am trying to force position of nodes. I have x and y coordinates of my nodes and its also directed graph. I can use the rank=same to handle row (y coordinate), but can't figure out how I can handle column (x coordinate).
How to force node position (x and y) in graphviz
dotgraph-theorygraphvizposition;
Best Answer
You can use pos attribute (https://www.graphviz.org/doc/info/attrs.html#d:pos), e.g.:
You will also have to specify
neato
orfdp
layout engine, so thatdot
command-line would be (for fdp):