I am new to prefuse and don't understand several things regarding nodes.
Its important to say that I build the graph in real-time and not loading it from any file.
Thanks, Ozrad.
Three answers to your three questions:
prefuse.controls.ControlAdapter
and add it to the Display
. prefuse.action.assignment.DataColorAction
assigns color based on a data field. For more advanced scenarios you can use ColorAction
with predicates or extend the class DataColorAction
. You can add columns to the node table to store metadata. A column can also store objects if you need it:
vg.getNodeTable().addColumn("meta", MyMetaData.class);
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.