Baek Ryun
Baek Ryun

Reputation: 100

Graph library Javascript

I need to do some graphs and so far I've been using fmsdesigner to be able to draw them, now I need to turn for example a NFA to a DFA, and I already did the code to transform it but now I have to draw it and it's quite a hassle so I was wondering if there's any library that would take care of that part for me? stuff like the node position, the link angle and stuff like that since the one I've been using requires me to calculate all that for it.

Upvotes: 0

Views: 207

Answers (3)

Shaun
Shaun

Reputation: 3895

This is a great comparison of Javascript libraries out there.

For non-free options, check out JointJs. It has a module specifically for graphing FSAs.

Dagre D3 also looks like a winner.

See Flow Charts and State Machines.

Upvotes: 1

BinaryDump
BinaryDump

Reputation: 477

Chart JS is really easy and beautiful to use :-)

Upvotes: 1

Pseudo Sudo
Pseudo Sudo

Reputation: 1412

For most sources of data, d3 is quite good

Upvotes: 0

Related Questions