Easily customizable graph editor

I would like to customize an existing graph editor (I'm talking about graphs with nodes and vertices) in Java. I would like to be able to add various types of nodes, connections, etc. Then the resulting diagram will be used to generate the code. Do you have any recommendations as to which of the existing (open source) graphics editor / visualizer in Java to use?

+3
source share
1 answer

JGraph is a good tool. Another great option is JGraphT . But if you want to improve the interactivity and short cuts of Dijkstra, etc., then you need JUNG2 . JUNG2 allows you to have any vertices and edges. Your schedule is created using generics, eg Graph<V, E>. You can use any class that you may need for V (vertex) and E (edge). Scaling and conversion are also easy to implement and very flexible.

+2
source

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


All Articles