Posted By

laurenceosx on 02/13/11


Tagged

guessjung


Versions (?)

Guess - setUserDatum - node.setUserDatum


 / Published in: Python
 

  1. #
  2. # I always forget the
  3. # the fully qualified name of the SHARED parameter
  4. #
  5. # for someNode.setUserDatum( someKey, someValue, edu.uci.ics.jung.utils.UserData.SHARED )
  6. #
  7. # which is
  8. #
  9. # edu.uci.ics.jung.utils.UserData.SHARED
  10. #
  11.  
  12. theNode.setUserDatum('isFolder', true, edu.uci.ics.jung.utils.UserData.SHARED)

Report this snippet  

You need to login to post a comment.