Closed jwscot closed 2 years ago
Unfortunately not, essentially I would like to highlight nodes that are related to each other through my own custom definition.
I.e.
for node in graph: create array of nodes in same family highlight these nodes only
.
Where the orange edges are those that are highlighted
That's currently not possible, I could expose the interface to enable it but it would be serious JavaScript work on your end to handle this correctly: it's not as easy as it seems. Maybe easier is via Shiny if you look at the demo and docs?
Is there any additional info on click events online? I have read the CRAN page (https://cran.r-project.org/web/packages/sigmajs/sigmajs.pdf) and followed the link for the official documentation (https://github.com/jacomyal/sigma.js/wiki/Events-API) but I don't find it clear.
I would like to highlight the adjacent nodes, and the adjacent nodes of these, i.e. I would like to highlight a path through a tripartite graph.