0

I'm an engineering student; I studied dataflow graphs. I already made parser using Antlr, but I don't know how to make dataflow diagrams. I read some paper that one can make dataflow graphs using Java. Please help me.

2
  • What is it you really want to do? What are you parsing (Java source code, or code for something else [what?]). Are you trying to produce dataflow graphs for Java, or dataflow graphs for the something else? Can you provide an example of input and output? Commented May 7, 2012 at 3:37
  • If your problem is producing a data flow graph from a parsed procedural language, a parser isn't enough; you need other analysis machinery. See semanticdesigns.com/Products/DMS/LifeAfterParsing.html. The question is where do you get all the stuff-beyond-parsing that you need to do this? If what you are parsing represents the dataflow graph directly, then its merely a matter of building nodes and linking them together with dataflow arcs. Commented May 7, 2012 at 3:39

2 Answers 2

1

JGraph may be used for this, as discussed in review article.

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

Comments

1

The NetBeans Visual Library can be used for this:

http://platform.netbeans.org/graph/

You don't need to build a NetBeans platform application (or even use NetBeans) in order to use it: http://java.dzone.com/news/how-create-visual-applications

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.