Overlapping compound nodes
See original GitHub issueIssue type
Feature request
Environment info
- Cytoscape.js version :
- Browser/Node.js & version :
Description of new feature
I would like to have nodes with multiple parents, i.e., intersecting compound nodes.
Motivation for new feature
I am creating a graph editor for bayesian nets (template notations) in cytoscape.js. In the template notation sometimes I need to have a node with two parents. Like the graph in the picture.
The picture is taken from: https://github.com/jluttine/tikz-bayesnet
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Overlapping compound nodes · Issue #48 - GitHub
I am working with graphs where we group nodes into compound nodes, and only inner components have edges. when we fix one node's...
Read more >Avoid overlapping compound nodes - cytoscape.js
We use cose-bilkent, but is not technically an overlap (I think). The compound node looks like has more nodes than it should.
Read more >Avoid Overlapping Compound Nodes - ADocLib
Determines if and how node overlaps should be removed. Nodes are first enlarged using the sep attribute. If true overlaps are retained. If...
Read more >Is there any layout to avoid node overlap (like gephi has ...
I'd try different layouts, as they all bring out different structure, and many have the side effect of not overlapping reasonably sized nodes....
Read more >overlap - Graphviz
Nodes are first enlarged using the sep attribute. If true , overlaps are retained. If the value is "scale" , overlaps are removed...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I think the change I suggested cannot be done with an extension as it required a change to the data structure, i.e. parent. This was about 10 lines of code change in total. But if that’s your decision not to support it, then so be it. Thanks for the nice library btw.
And here is the commit of changes: https://github.com/ghamarian/newcyto/commit/202644f2ecf07e58997db8e1ad800211ad5bf10c
Take a look at https://github.com/upsetjs/cytoscape.js-bubblesets. @sgratzl may be interested in collaboration.
The main paper I’m aware of on this topic is Bubble Clusters: An Interface for Manipulating Spatial Aggregation of Graphical Objects by Watanabe et al.
https://www-ui.is.s.u-tokyo.ac.jp/~takeo/research/bubble/index.html
The video on the U Tokyo website is very compelling
(N.b. using a compound-like node (rectangles) for sets may not be the best idea – consider layout and visual overlap.)