Which component should I use to draw a dendrogram in Java?

The dendrogram is not a regular chart. Should I use any component from the javax.swing library. * Or just draw it with java.awt.Graphics?

+1


source to share


3 answers


It might also be worth checking out: yWorks and JGraph



+2


source


I don't think there is a standard component for this. If any component vendor hasn't done so, you should go down the 2D 2D path ...

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



Another possible way is to use some physics to arrange the nodes harmoniously. This is how the Aharef HTML chart works ...

0


source


Netbeans Graphics API

By far the simplest and most intuitive batch API.

0


source







All Articles