Return to Snippet

Revision: 15853
at July 19, 2009 19:08 by laurenceosx


Initial Code
nodes =[n for n in g.nodes if n.image >'']
>>> nodes
[v2, v3]
>>> for node in nodes: node.width, node.height = 640, 480
>>>

Initial URL

                                

Initial Description

                                

Initial Title
guess - find all image nodes and size them

Initial Tags

                                

Initial Language
Python