Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Fetching all the children of a picked node or link #16

Closed
arashkav opened this issue Jan 13, 2023 · 2 comments
Closed

Fetching all the children of a picked node or link #16

arashkav opened this issue Jan 13, 2023 · 2 comments
Labels
question Further information is requested

Comments

@arashkav
Copy link

When we get the object from a FlowmapLayerPickingInfo object, we can not see all the building blocks of the picked object at the highest granularity.

I can see the children but those children themselves might have other children. Is there any function that wen can call and gives us all the nodes that creating a clustered node or the origins/destination of a clustered link?

@ilyabo
Copy link
Member

ilyabo commented Jan 15, 2023

Yes, I think what you are looking for is ClusterIndex.expandCluster()

@ilyabo
Copy link
Member

ilyabo commented Jan 15, 2023

You should be able to get access to the clusterIndex in a click/hover listener by calling flowmapLayer.state?.dataProvider.getSelectors().getClusterIndex().

@ilyabo ilyabo added the question Further information is requested label Jan 15, 2023
@visgl visgl locked and limited conversation to collaborators Jan 15, 2023
@ilyabo ilyabo converted this issue into discussion #17 Jan 15, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants