I'm currently using Jung to draw graphs (I really mean graphs not charts!). The problem is that Vertex and Edge Labels are overlapping with the Vertexes and the Edges. This leads into strange looking graphs. The Problem is not bound to a specific Layout-Algorithm (though I've been using FRLayout).
Are there any possibilities to tell JUNG to prevent these overlappings? I hoped this is already implemented and the only problem is to find the right options!
You just need to set the label offset:
vv.getRenderContext().setLabelOffset(20);
Where vv is your VisualizationViewer object.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With