/ Published in: Python
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
# identify source node source = v1 # do a multiple (shift) on other nodes targets = [n.getOwner() for n in v.selected] # create the edges for target in targets: addEdge( source, target )