ericabouaf / wireit

A javascript wiring library to create web wirable interfaces for dataflow applications, visual programming languages or graphical modeling.
http://neyric.github.io/wireit/docs/
Other
520 stars 90 forks source link

Zoom in layer #13

Closed ericabouaf closed 12 years ago

ericabouaf commented 15 years ago

See jsTalk email...

ericabouaf commented 14 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

ericabouaf commented 14 years ago

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

ericabouaf commented 14 years ago
pcalcina commented 12 years ago

Hi, is there any update?

ericabouaf commented 12 years ago

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 :)

frey1esm commented 12 years ago

In lieu of zoom, what about pages (multiple tabbed layers) ??

sakuratw commented 10 years ago

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?