I have a graph where I want to add 4 bubble sets, but only one of them is actually rendered, with no error message whatsoever.
To Reproduce
I am adding the sets with the code below. All 4 sets have several nodes and edges. From #8 I gathered that it shouldn't be an issue if some of the sets are overlapping.
cy.ready(() => {
const bb = new BubbleSetsPlugin(cy);
let topLevelNamespaces = new Set<string>(cy.nodes().map(n => n.data('info')?.namespace?.split('.')[0]));
topLevelNamespaces.forEach(ns => {
if (ns) {
let matchingNodes = cy.nodes().filter(n => n.data('info')?.namespace?.split('.')[0] === ns);
bb.addPath(matchingNodes, matchingNodes.connectedEdges(), null, {
style: {
'stroke': 'black',
'fill': getColor(ns),
'fillOpacity': '0.25'
}
});
}
});
console.log(bb.getPaths());
});
This is the graph and the single set rendered:

Logging the paths to the console, I can clearly see that they are added, but the path is empty for the first three, despite having both nodes and edges:

Expected behavior
That all 4 sets are rendered.
Context
- Version: 3.2.0 (Cytoscape 3.23.0)
- Browser: Firefox 117.0
I have a graph where I want to add 4 bubble sets, but only one of them is actually rendered, with no error message whatsoever.
To Reproduce
I am adding the sets with the code below. All 4 sets have several nodes and edges. From #8 I gathered that it shouldn't be an issue if some of the sets are overlapping.
This is the graph and the single set rendered:

Logging the paths to the console, I can clearly see that they are added, but the path is empty for the first three, despite having both nodes and edges:

Expected behavior
That all 4 sets are rendered.
Context