31.01.2014 Views

Version 5.0 The LEDA User Manual

Version 5.0 The LEDA User Manual

Version 5.0 The LEDA User Manual

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

void gw.restore all attributes( )<br />

...<br />

void<br />

void<br />

gw.reset nodes(long mask = N ALL)<br />

reset node parameters to their default values.<br />

gw.reset edges(long mask = E ALL)<br />

reset edge parameters to their default values.<br />

void gw.reset( ) reset node and edge parameters to their default<br />

values.<br />

void gw.reset defaults( ) resets default parameters to their original values.<br />

node gw.get edit node( ) returns a node under the current mouse pointer<br />

position (nil if there is no node at the current<br />

position)<br />

edge gw.get edit edge( ) returns an edge under the current mouse pointer<br />

position (nil if there is no edge at the current position).<br />

int gw.get edit slider( ) returns the number of the slider under the current<br />

mouse pointer position (0 if there is no edge slider<br />

at the current position).<br />

void gw.get bounding box(double& x0 , double& y0 , double& x1 , double& y1 )<br />

computes the coordinates (x0, y0, x1, y1) of a minimal<br />

bounding box for the current layout of the<br />

graph.<br />

void gw.get bounding box(const list& V, const list& E,<br />

double& x0 , double& y0 , double& x1 , double& y1 )<br />

computes the coordinates (x0, y0, x1, y1) of a minimal<br />

bounding box for the current layout of subgraph<br />

(V, E).

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!