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.

3 Answers 3

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.

Sign up to request clarification or add additional context in comments.

Comments

1

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

Comments

0

For most sources of data, d3 is quite good

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.