Open reynoldsnlp opened 3 years ago
Really, Mac should be exactly the same as Linux except that it would use open
instead of xdg-open
.
I fully agree and provided a pull request https://github.com/mhulden/foma/pull/81 with same suggestion. MacOS users of foma should be able to install graphviz via macports or brew. I don't think that GraphViz will be back soonish as a simple installable package under MacOS (if I understand correctly).
I have
graphviz
installed (via MacPorts) on my machine:However, after adding rules in the REPL, when I type
view net
I get the following:The code requires the GUI app, rather than the command line utilities: https://github.com/mhulden/foma/blob/master/foma/iface.c#L1704. This seems unnecessary.
The code should call
dot
or other algorithms directly. The MacPortsgraphviz
package is a dependency ofgraphviz-gui
so the command line utilities would be present in either case.