How to build a node at a given coordinate using JUNG

I want to virtualize my simulations on the network and need to build nodes on the network. Each node has a predefined location, and I need to build the nodes in the right coordination.

I am using JUNG: http://jung.sourceforge.net/applet/index.html

Any suggestions?

Thank!

+3
source share
1 answer

I recently solved this problem by writing my own rendering layout for the JUNG.

Circle Layout, . , JUNG setLocation (Dimension d) , , . CircleLayout. Vertex, , , .

+5

Source: https://habr.com/ru/post/1784527/


All Articles