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

Is there a way to fix specific nodes in force graph #5966

Closed
eskimoblood opened this Issue Jun 9, 2017 · 9 comments

Comments

Projects
None yet
6 participants
@eskimoblood

There is a way to set the initial position of nodes in a force graph but is there a way to have this node stay at this position?

@biolee

This comment has been minimized.

Show comment
Hide comment
@biolee

biolee Jun 11, 2017

you use custom physical engine(eg d3) with use echarts very powerful custom series, then you can reuse a lot echarts utility,(like tooltip...)

but custom series can't corresponding to mouse event right now, see #5965

biolee commented Jun 11, 2017

you use custom physical engine(eg d3) with use echarts very powerful custom series, then you can reuse a lot echarts utility,(like tooltip...)

but custom series can't corresponding to mouse event right now, see #5965

@pissang

This comment has been minimized.

Show comment
Hide comment
@pissang

pissang Jun 11, 2017

Contributor

@biolee Great thought! Actually each node can use fixed property to stick it's position. But the idea of integrating d3 layout and custom series will make it much more flexible. We will enhance custom series in the later version. Thanks a lot!

Contributor

pissang commented Jun 11, 2017

@biolee Great thought! Actually each node can use fixed property to stick it's position. But the idea of integrating d3 layout and custom series will make it much more flexible. We will enhance custom series in the later version. Thanks a lot!

@eskimoblood

This comment has been minimized.

Show comment
Hide comment
@eskimoblood

eskimoblood Jun 11, 2017

@pissang I tried the fixed property but it has no effect, is there an example to see how it should work?

@pissang I tried the fixed property but it has no effect, is there an example to see how it should work?

@pissang

This comment has been minimized.

Show comment
Hide comment
@pissang

pissang Jun 11, 2017

Contributor

@eskimoblood Uhhh sorry it's a bug. Will fix it ASAP

Contributor

pissang commented Jun 11, 2017

@eskimoblood Uhhh sorry it's a bug. Will fix it ASAP

@pissang pissang closed this in 1e9b43e Jun 11, 2017

@eskimoblood

This comment has been minimized.

Show comment
Hide comment
@eskimoblood

eskimoblood Jun 11, 2017

Thanks, when will this fix be available in npm?

eskimoblood commented Jun 11, 2017

Thanks, when will this fix be available in npm?

@100pah

This comment has been minimized.

Show comment
Hide comment
@100pah

100pah Jun 11, 2017

Member

We have planned to publish the next version next week, including this bug fix.

Member

100pah commented Jun 11, 2017

We have planned to publish the next version next week, including this bug fix.

@Ovilia

This comment has been minimized.

Show comment
Hide comment
@Ovilia

Ovilia Jun 16, 2017

Contributor

@eskimoblood It's fixed now. Try it out! :)

Contributor

Ovilia commented Jun 16, 2017

@eskimoblood It's fixed now. Try it out! :)

@ys278099744

This comment has been minimized.

Show comment
Hide comment
@ys278099744

ys278099744 Jan 29, 2018

i want to drag one node to somewhere and stay ,but now it always rebound to its init place,this operation is very useful,can you come true?中文版:我想拖动一个点到随便一个位置,但是这个点老是弹回去,有没有办法让他拖到哪,就固定在哪,这个操作很常见,网上查了一下,很多人有这种需求,希望能够解决

i want to drag one node to somewhere and stay ,but now it always rebound to its init place,this operation is very useful,can you come true?中文版:我想拖动一个点到随便一个位置,但是这个点老是弹回去,有没有办法让他拖到哪,就固定在哪,这个操作很常见,网上查了一下,很多人有这种需求,希望能够解决

@ys278099744

This comment has been minimized.

Show comment
Hide comment
@ys278099744

ys278099744 Jan 29, 2018

这个fixed属性,为什么设置后报错找不到这个属性呢?我用的也是4.0版本的echart啊

这个fixed属性,为什么设置后报错找不到这个属性呢?我用的也是4.0版本的echart啊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment