Removes all objects of specified type from a graph object.
Syntax
graph_name.delete object_type
where object_type includes one or more of the following: ‘line’, ‘shade’, ‘text’, ‘ellipse’, ‘rectangle’, and ‘arrow’.
Examples
The following removes all line and shade objects from GRA1
gra1.delete line shade
To remove all text objects from GRA1:
gra1.delete text
Cross-references