0

I will be building a program on how to construct a NFA , the output of this particular program is visualise out the NFA in a graphical user interface. The final output of the program must be something like this: this

My question is how do I get started on "drawing" the states in circle , adding edges , inserting the input between two states, how do I program the GUI part by using java? please help me out..

Community
  • 1
  • 1
JackPowell
  • 137
  • 3
  • 14
  • 1
    If this is not a duplicate, please edit your question to include a [mcve] that shows your revised approach. – trashgod Jan 05 '17 at 11:11

1 Answers1

0

Ty to look to https://github.com/jgraph/mxgraph. There is swing/web examples. Manual is here https://jgraph.github.io/mxgraph/.

Saulius Next
  • 1,340
  • 10
  • 16
  • Whilst this may theoretically answer the question, [it would be preferable](//meta.stackoverflow.com/q/8259) to include the essential parts of the answer here, and provide the link for reference. – Takarii Jan 05 '17 at 11:12