Guess - setUserDatum - node.setUserDatum


/ Published in: Python
Save to your folder(s)



Copy this code and paste it in your HTML
  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


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.