Prefuse Toolkit: dynamically adding nodes and edges

前端 未结 4 1125
无人及你
无人及你 2020-12-24 11:14

Does anyone have experience with the prefuse graph toolkit? Is it possible to change an already displayed graph, ie. add/remove nodes and/or edges, and have the display corr

4条回答
  •  一个人的身影
    2020-12-24 11:40

    You need to tell the control container ('d', in example.java) do get redrawn. Calling invalidate() should be enough (not sure, though).

    Anyway, this might help you.

提交回复
热议问题