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

Does cytoscape.js-bubblesets allow intersections a.k.a. overlapping sets? #8

Closed
dpdoughe opened this issue Oct 13, 2021 · 3 comments
Closed
Assignees
Labels
answered question Further information is requested

Comments

@dpdoughe
Copy link

Cytoscape.js has compound nodes, but these only permit hierarchical/nested relationships. Do bubblesets permit non-nested intersections between 2 groups of nodes?

@dpdoughe dpdoughe added the question Further information is requested label Oct 13, 2021
@sgratzl
Copy link
Member

sgratzl commented Oct 14, 2021

bubble sets are independent on the graph structure. You define them via a set of nodes that should form one cluster. This cluster is then rendering with a dynamically computed bubble on top of the existing graph layout. So, if I understand your question correctly, yes you can do what you are looking for

@sgratzl sgratzl self-assigned this Oct 14, 2021
@dpdoughe
Copy link
Author

Thanks! So the limitation (so to say) is that the set information is not used by the layout algorithms. If nodes belong to the intersection between 2 sets then the layout won't try harder to place the nodes of those sets closer together. Is that correct?

@sgratzl
Copy link
Member

sgratzl commented Oct 14, 2021

the plugin in not a layout algorithm, so it won't affect the layout. This plugin allows you to connect nodes together and this plugin figures out a way to connect them via a bubbleset which is then rendered.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
answered question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants