functoria icon indicating copy to clipboard operation
functoria copied to clipboard

How to show dots ?

Open Drup opened this issue 10 years ago • 2 comments

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-xdot to 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

Drup avatar Oct 21 '15 01:10 Drup

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.

dbuenzli avatar Oct 21 '15 02:10 dbuenzli

xdot has a much nicer UI than plain html, especially as the graph get large.

Drup avatar Oct 21 '15 02:10 Drup