I am trying to generate something similar to this:
https://upload.wikimedia.org/wikipedia/commons/6/65/B-tree.svg
From btree in memory ... is there any way to generate such a graph on Graphviz so that I can generate a * .dot file?
Thanks.
Go to http://ysangkok.imtqy.com/js-clrs-btree/btree.html and click on "init simple". In the text box, you see Graphviz code for the tree shown above. The algorithm is simple, as you can see.
Yes
You can use rankdir, etc. to set the direction in which it is nested.
(digraph), ( , ), , , A -> B [dir="backwards"].
digraph
A -> B [dir="backwards"]
A B, B A
" " ( ), , , , (A- > B- > C A- > D- > C - ), .
: .