views:

781

answers:

4

Dendrogram is not a regular diagram. Should I use any component from javax.swing.* library, or just draw it with java.awt.Graphics?

+2  A: 

Might also be worth checking: yWorks and JGraph

basszero
A: 

I don't think there is a standard component for this. Unless some component vendor has done one, you should go the Java 2D way...

If you don't want to do the hard work, perhaps one of the above mentioned libraries might help you. Otherwise, GraphViz is good at making this kind of diagram, and has a Java API (untested...).

Another possible way is to use some physics to let the nodes arrange themselves in an harmonious way. That's how Aharef's HTML graph works...

PhiLho
A: 

Netbeans Graphing API

By far the easiest and most intuitive API of the lot.

swapnonil
A: 

hi how to draw dendogram in asp.net???? any specific tool??