comparing open source java graph drawing frameworks(JUNG and Prefuse) for drawing network topology

后端 未结 5 1857
一整个雨季
一整个雨季 2021-01-31 09:18

which of the open source Java graph drawing frameworks to use for a network diagram with the following requirements? The graph will have less than 1000 nodes.

1) has par

5条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-31 10:19

    I'm one of the creators and maintainers of JUNG, so bear that in mind for the responses below.

    First, though, I should say that the author of Prefuse is a friend of a friend (and yes, we've met) and he's done a great job. I am not experienced with Prefuse, but I've seen some beautiful visualizations created with it.

    Here are the answers to those questions for JUNG. Several of them ((1), (2), (4)are demonstrated in PluggableRendererDemo:

    1. Supported (you'll need the right data model, not all support parallel edges for performance reasons)
    2. Supported (again, you need the right data model)
    3. Supported (see ImageShaperDemo)
    4. Supported (most demos)
    5. Supported (see GraphEditorDemo)
    6. Not directly supported, although you can certainly change labels dynamically and use HTML to render complex labels.
    7. JUNG's layout algorithms are more for general networks (with a few exceptions for trees, etc.). You can certainly construct your own layout algorithms, however, and many have done so.

    Hope this helps.

提交回复
热议问题