Author: kono
Date: 2011-06-29 15:27:46 -0700 (Wed, 29 Jun 2011)
New Revision: 25979

Modified:
   
core3/ding-presentation-impl/trunk/src/main/java/org/cytoscape/ding/impl/DGraphView.java
Log:
Node index was used for updating edge view.

Modified: 
core3/ding-presentation-impl/trunk/src/main/java/org/cytoscape/ding/impl/DGraphView.java
===================================================================
--- 
core3/ding-presentation-impl/trunk/src/main/java/org/cytoscape/ding/impl/DGraphView.java
    2011-06-29 21:18:08 UTC (rev 25978)
+++ 
core3/ding-presentation-impl/trunk/src/main/java/org/cytoscape/ding/impl/DGraphView.java
    2011-06-29 22:27:46 UTC (rev 25979)
@@ -2722,8 +2722,8 @@
        
                for ( ViewChangeRecord<CyEdge> record : 
e.getPayloadCollection()) {
                        final Integer index = 
record.getView().getModel().getIndex();
-                       if (m_nodeViewMap.containsKey(index))
-                               
m_nodeViewMap.get(index).setVisualPropertyValue(record.getVisualProperty(), 
record.getValue());
+                       if (m_edgeViewMap.containsKey(index))
+                               
m_edgeViewMap.get(index).setVisualPropertyValue(record.getVisualProperty(), 
record.getValue());
                }
        }
 

-- 
You received this message because you are subscribed to the Google Groups 
"cytoscape-cvs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/cytoscape-cvs?hl=en.

Reply via email to