Jie Li
unread,Jun 22, 2009, 1:12:08 PM6/22/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to cytoscape-discuss
Hello,
I am developing a plug-in which needs to get edge colors (and other
graphics properties) in Cytoscape networks. Therefore, I need to
listen to the events when the visual style is changed in the manager.
I have tried VisMappingManager.addChangeListener() and
CalculatorCatelog.addChangeListener() but they do not work as
expected. For example, when I changed the default edge color for the
whole network, Neither method can capture the event. When I changed
the edge color mapping type but did not assign a color yet, the
ChangeListener for CalculatorCatelog was triggered.
I am new to the Cytoscape development. Can anyone tell me which event
and listener should be used in this case? Alternatively, how can I
listen to the event when Cytoscape.redrawGraph() is called.
Thank you very much.
Jie