ocamlgraph
ocamlgraph copied to clipboard
OCaml graph library
This PR adds a new entry function `parse_all` to get subgraph information when parsing a dot file. In the old code, `clust_nodes` is defined, and used, but not returned. It's...
The dot parser [src/dot.ml](https://github.com/backtracking/ocamlgraph/blob/master/src/dot.ml#L103) contains small glitches, and I am happy to fix them if it sounds good to you. My starting point was to add support for `Equal of...
Since clusters are already supported by the `Graphviz` module, it makes sense to allow edges from/to them.
This PR adds `tooltip` attribute for graph, edges and nodes. Reference: https://graphviz.org/docs/attrs/tooltip/.
When the ocaml compiler emits bytecode for 32-bit architectures, large interger literals will cause it to fail. 32-bit marshalling is most commonly used when compiling with the Js_of_ocaml backend. This...
When running `dune runtest -p ocamlgraph` on version 2.0.0 of this repo (actually using ocamlgraph to test some changes that I made in the compiler), I noticed that `tests/test_components.ml` had...
This patch proposes to update the `has_cycle` function, from module `Traverse.Dfs`, to return a list of vertices that represent the cycle found in the graph, whenever there is such a...
with the released version 2.0.0: when I compile with "make", the META file does not contain a version string. ```` $ cat _build/install/default/lib/ocamlgraph/META description = "" requires = "stdlib-shims" archive(byte)...
GTK 2 is being deprecated, and there is largely compatible version of OCaml bindings to GTK 3 is available - [lablgtk3](http://opam.ocaml.org/packages/lablgtk3/). See lablgtk3 branch here: https://github.com/garrigue/lablgtk/tree/lablgtk3