I have a chart that is laid out from left to right. However, there are some elements of this graph that I want to set relative to another node. For example, if I have this graph:
digraph "Test" { rankdir = "LR" A -> B B -> C D -> B note -> B note [ shape="house" ] };
It looks like this:

However, I would like the βnoteβ of the node to always be located directly below the node that it points to, for example, this (manually created) graph:

I tried experimenting with a subgraph with a different rankdir and messing around with the rank and constraint attributes, but failed to achieve this, as I only played with DOT for a couple of days.
source share