Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CyElement position sync did not work on cytoscape call layout.run() #54

Open
glisteningly opened this issue Feb 11, 2020 · 2 comments
Open
Assignees

Comments

@glisteningly
Copy link

I find it the position of vue list object item didn't change after use a layout running

It wokks when you drag some elements.

i just change the code

if (this.sync) { instance.on('drag', this.selector, event => {
to

if (this.sync) { instance.on('positon', this.selector, event => {

then it works correct, the position changes reactivity, does this modify cause other effects?

@rcarcasses
Copy link
Owner

Hi @glisteningly, sorry for late reply. I think the modification you did is a good one, I'll test it locally and consider it for next release (feel free to open a pull request though). I'll let you know whenever released, thanks for pointing this out.

@rcarcasses rcarcasses self-assigned this Feb 13, 2020
@sassoli
Copy link

sassoli commented Oct 17, 2021

Hi @rcarcasses, I'm facing the same problem.
Any news about this feature?

Thanks

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

No branches or pull requests

3 participants