Skip to content
This repository has been archived by the owner on Apr 17, 2018. It is now read-only.

Implement zooming of drawing area #34

Open
Frozenfire92 opened this issue Dec 17, 2014 · 2 comments
Open

Implement zooming of drawing area #34

Frozenfire92 opened this issue Dec 17, 2014 · 2 comments

Comments

@Frozenfire92
Copy link
Contributor

jsPlumb supports this, seems relatively easy

https://jsplumbtoolkit.com/doc/zooming.html

@Glavin001
Copy link
Contributor

Note that:

Note regarding the drawEndpoints option on jsPlumb.connect: with the default behaviour, jsPlumb uses the offsetParent of the source endpoint in a connection to make final adjustments to the position of a connector. When drawEndpoints is set to false, there is no offsetParent of the source endpoint because it is not visible. If your connection lies inside some container other than the document body, the connector will not be able to take that container's offset into account, and will most likely not be in the right place. You should either use the Blank endpoint when you don't want to see one, or instruct jsPlumb to attach everything to the document body (see below).

From https://jsplumbtoolkit.com/doc/setup


Zooming API: http://www.jsplumb.org/doc/zooming.html

@Glavin001 Glavin001 assigned Frozenfire92 and unassigned Glavin001 Mar 11, 2015
@Glavin001 Glavin001 modified the milestones: 0.3.0 - Future Features, 0.2.0 - Project Evaluation Mar 30, 2015
@Glavin001
Copy link
Contributor

The zoom buttons work, however there should be some research done into jsPlumb such that zooming does not have unexpected visual results, such as cropping the drawing panel.
While it is implemented and "works", because of visual bugs I am not closing this issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants