cytoscape / cytoscape.js-navigator

Bird's eye view pan and zoom control for Cytoscape.js.
MIT License
67 stars 42 forks source link

Ghost images #9

Closed jeremychapman closed 8 years ago

jeremychapman commented 9 years ago

Has anyone noticed that if you drag nodes or parent nodes around, after you drop them the there are faded 'ghost' images of the nodes and edges at the original locations?

This also happens when you zoom in/out cytoscape nav capture

bumbu commented 9 years ago

Is it related to Navigator os it is a cytoscape.js bug? Does it reproduce if you don't use Navigator?

If this bug is not caused by Navigator then you should better post it in https://github.com/cytoscape/cytoscape.js

jeremychapman commented 9 years ago

It only happens when using the Navigator.


From: bumbu Sent: 26/12/2014 7:46 AM To: cytoscape/cytoscape.js-navigator Cc: Chapman, Jeremy Subject: Re: [cytoscape.js-navigator] Ghost images (#9)

Is it related to Navigator os it is a cytoscape.js bug? Does it reproduce if you don't use Navigator?

If this bug is not caused by Navigator then you should better post it in https://github.com/cytoscape/cytoscape.js

— Reply to this email directly or view it on GitHubhttps://github.com/cytoscape/cytoscape.js-navigator/issues/9#issuecomment-68145690.

bumbu commented 9 years ago

Can you please post a link to a public example (jsfiddle?) that reproduces this bug? Thanks.

jeremychapman commented 9 years ago

I'll work on getting a jsfiddle example going. I did realize that when I use navigator I have to explicitly set motionBlur to false, but when I do not use navigator I do not have to do that. When I set motionBlur to false I do not get the ghosting behavior.

maxkfranz commented 9 years ago

I think it's a combo/options problem. The renderer's redraw( options ) can turn on or off motionblur in the options. I'll have to check whether renderTo() can accept the same option, and if so then this extension will probably have to set something like renderTo({ motionblur: false }).

maxkfranz commented 9 years ago

Refer to https://github.com/cytoscape/cytoscape.js/issues/791