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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

ool gw.is selected(edge e) returns true if e is selected and false otherwise.<br />

const list& gw.get selected edges( )<br />

returns the current edge selection.<br />

void gw.deselect all( ) clears node and edge selections.<br />

g) Layout Operations<br />

void<br />

gw.set position(const node array& pos)<br />

for every node v of G the position of v is set to<br />

pos[v].<br />

void gw.set position(const node array& x,<br />

const node array& y)<br />

for every node v of G the position of v is set to<br />

(x[v], y[v]).<br />

void<br />

void<br />

void<br />

void<br />

gw.get position(node array& pos)<br />

for every node v of G the position of v is assigned<br />

to pos[v].<br />

gw.set layout(const node array& pos,<br />

const node array& r1 ,<br />

const node array& r2 , const edge array& bends, const edge array& sanch,<br />

const edge array& tanch)<br />

for every node v the position is set to pos[v] and<br />

radius i is set to r i [v]. For every edge e the list of<br />

bends is set to bends[e] and source (target) anchor<br />

is set to sanch[e] (tanch[e]).<br />

gw.set layout(const node array& pos, const edge array& bends, bool reset anchors = true)<br />

for every node v the position is set to pos[v] and<br />

for every edge e the list of bends is set to bends[e].<br />

gw.set layout(const node array& pos)<br />

for every node v the position is set to pos[v] and<br />

for every edge e the list of bends is made empty.<br />

void gw.set layout(const node array& x, const node array& y)<br />

for every node v the position is set to (x[v], y[v])<br />

and for every edge e the list of bends is made<br />

empty.<br />

void gw.set layout( ) same as gw.remove bends( ).

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

Saved successfully!

Ooh no, something went wrong!