romerun
romerun

Reputation: 2211

F# graph library (ocamlgraph like)

I'm writing a program in ocaml using ocamlgraph and wondering if I am to port it to F# what are my options ? Thanks.

Upvotes: 8

Views: 2248

Answers (3)

J D
J D

Reputation: 48687

OCamlGraph is a beautiful example of a higher-order module system really paying off. F# cannot express this so a translation will not only be difficult to do at all but the result will be inherently far more cumbersome to use. Your best bet is to reuse some existing graph library for .NET and you'll probably have to settle for far less abstraction.

Upvotes: 5

Mauricio Scheffer
Mauricio Scheffer

Reputation: 99720

QuickGraph is one of the most complete graph libraries for .Net

Upvotes: 9

ssp
ssp

Reputation: 1722

There is GLEE by Microsoft Research (it's an early version of Microsoft Automatic Graph Layout ). GLEE is free to download (MSAG must be purchased). I'm have used GLEE for large enough graphs. It's fast and easy to use.

Upvotes: -1

Related Questions