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<br />

void<br />

gw.transform layout(node array& xpos,<br />

node array& ypos, edge array& xbends, edge array& ybends,<br />

double dx, double dy, double fx, double fy)<br />

transforms the layout given by xpos, ypos, xbends,<br />

and ybends by transforming every node position or<br />

edge bend (x, y) to (dx + fx ∗ x, dy + fy ∗ y). <strong>The</strong><br />

actual layout of the current graph is not changed<br />

by this operation.<br />

gw.transform layout(node array& xpos,<br />

node array& ypos,<br />

node array& xrad,<br />

node array& yrad, edge array& xbends, edge array& ybends,<br />

double dx, double dy, double fx, double fy)<br />

as above, in addition the horizontal and vertical<br />

radius of every node (given in the arrays xrad and<br />

yrad) are enlarged by a factor of fx and fy, respectively.<br />

void gw.fill win params(double wx0 , double wy0 , double wx1 , double wy1 ,<br />

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

double& dx, double& dy, double& fx, double& fy)<br />

computes parameters dx, dy, fx, and fy for transforming<br />

rectangle x0 ,y0 ,x1 ,y1 into (window) rectangle<br />

wx0 ,wy0 ,wx1 ,wy1 .<br />

void gw.fill win params(double wx0 , double wy0 , double wx1 , double wy1 ,<br />

node array& xpos, node array& ypos,<br />

edge array& xbends,<br />

edge array& ybends, double& dx,<br />

double& dy, double& fx, double& fy)<br />

computes parameters dx, dy, fx, and fy for transforming<br />

the layout given xpos,ypos,xbends,ybends<br />

to fill the (window) rectangle wx0 ,wy0 ,wx1 ,wy1 .<br />

void gw.fill win params(double wx0 , double wy0 , double wx1 , double wy1 ,<br />

node array& xpos, node array& ypos,<br />

node array& xrad, node array& yrad,<br />

edge array& xbends,<br />

edge array& ybends, double& dx,<br />

double& dy, double& fx, double& fy)<br />

computes parameters dx, dy, fx, and fy for transforming<br />

the layout given xpos,ypos,xbends,ybends,<br />

xrad,yrad to fill the (window) rectangle<br />

wx0,wy0,wx1,wy1.

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

Saved successfully!

Ooh no, something went wrong!