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.
-
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?Ira Baxter– Ira Baxter2012-05-07 03:37:14 +00:00Commented 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.Ira Baxter– Ira Baxter2012-05-07 03:39:19 +00:00Commented May 7, 2012 at 3:39
Add a comment
|
2 Answers
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