Closed ericabouaf closed 12 years ago
On Sun, Nov 15, 2009, wilhoitm wilhoitm@....com wrote:
Hello,
I am looking at possibly using Wire It to draw Computer Network Topologies.
We have a lot of nodes or devices on our network.
Is there a way to zoom in/out of the graph or a way to redraw or scale a subset of the graph (or Layer)?
Thanks,
Marcus
Pierre is using it by changing the size of containers with CSS, then repositioning the containers by a scale factor. Example should be easy by adding a slider to a WiringEditor
Hi, is there any update?
It's really difficult to do on HTML elements. (we should resize fonts, scale images etc...)
It seems much more realistic with SVG.
It's definitly not in the scope right now. Patches are welcome :)
In lieu of zoom, what about pages (multiple tabbed layers) ??
add setScale/getScale methods to the Container api (+ImageContainer implementation)
add Layer.setScale/getScale methods to:
setScale on every containers reposition all containers redraw all wires Scale widget for the WiringEditor (YUI slider with a hook to layer.setScale)
can you give us more explanations?
See jsTalk email...