0

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.

Baek Ryun
  • 100
  • 1
  • 3
  • 14

3 Answers3

1

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

Shayan Shafiq
  • 1,447
  • 5
  • 18
  • 25
BinaryDump
  • 477
  • 4
  • 7
1

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.

Shayan Shafiq
  • 1,447
  • 5
  • 18
  • 25
Shaun
  • 3,777
  • 4
  • 25
  • 46
0

For most sources of data, d3 is quite good

Pseudo Sudo
  • 1,402
  • 3
  • 16
  • 34