functoria
functoria copied to clipboard
How to show dots ?
At the moment, describe --dot uses xdot by default. I use it because the rendering is pretty, it has a nice and simple UI and it is widly available on linux plateforms (debian, ubuntu and arch all have it). Apparently, it's also available in brew (and even windows!). So either
- We stick with it (and add a
conf-xdotto opam). - We try to find an OCaml replacement.
- (optional) We try to add some auto-detection magic.
Potential OCaml replacements:
- The old one in ocamlgraph is broken, and the new one is not complete (and less pretty).
- ocamldot, haven't tested, depends on lablgtk
Not idea about the landscape but my gut feeling would be to find an html renderer and then open the file with xdg-open (linux) or open (osx) or ??? (windows) it.
xdot has a much nicer UI than plain html, especially as the graph get large.