graphviz directed graph with parents at top -


this directed graph

digraph g {     semigroup     monoid -> semigroup     band -> semigroup } 

renders dot as

enter image description here

but want semigroup @ top. have bigger example this, hacks using rank aren't going work. general theme want arrows point upwards instead of downwards.

i tried using -y parameter, makes no difference.

if use <- in file getting top/down order correct, i'd need way reverse drawing of arrow.

you add graph

    rankdir = bt; 

Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -