anvaka / VivaGraphJS

Graph drawing library for JavaScript
Other
3.76k stars 425 forks source link

Proposal: provide a possibility of passing custom zoom factor to renderer (not graphics) #244

Open nicky1038 opened 5 years ago

nicky1038 commented 5 years ago

Before this proposal one could pass a custom factor parameter to graphics.scale method BUT calling it directly causes:

Of course these actions could be done later in third party code, but in this case it should just repeat the existing renderer.scale method. It's better to allow developers not to do so.