• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

network graph with Java

 
infovis sh
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi everybody,

somebody suggest how to draw network (line and node)graph with java and database ie. node and link values from the database.

plz help.

thankx
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to the Java in General (intermediate) forum.

Dave
 
Rahul Sapkal
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can use java.awt.Graphics or java.awt.Graphics2D classes to draw on Java Components like, Panel or Canvas. According to your requirement you can draw Lines and Shapes to make your network diagram.

Rahul
---------
rahul@javareference.com
 
Stan James
(instanceof Sidekick)
Ranch Hand
Posts: 8791
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Take a peek at Graphviz and Dot to see how complex it can be to produce a neat looking graph. I think there are some comparable commercial products for Java, don't know about open source. You could even shell out to Graphviz if you liked it.
 
infovis sh
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thank the suggestions... but can u please provide me some small examles....
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic