Next: , Previous: Diagram Overview, Up: The Diagram Package


4.2.2 Diagram manipulation

— Function: diagram::create DNAME WIDGET

Creates a new diagram named DNAME on WIDGET.

— Function: diagram::destroy DNAME

Destroy DNAME.

— Function: diagram::pack DNAME

Pack the tk widgets of DNAME.

— Function: diagram::unpack DNAME

Unpack the tk widgets of DNAME.

— Function: diagram::get_object_list DNAME

Return a list with the names of all the objects present on DNAME.

— Function: diagram::get_connector_list DNAME

Return a list with the names of all the connectors present on DNAME.

— Function: diagram::print_ps DNAME FILENAME PAPERTYPE COLORMODE PAGEANCHOR

Where,

colormode
color or gray
papertype
fit or a4