How to create square shaped nodes?
I’m new in sigma.js development, and I’ve been trying to create a custom shape node which is square, as per the docs, this is possible by using the “renderer”.
How to make label size proportional to zoom
There used to be a setting for this (labelSize), but that one only takes numbers for a fixed label size now as opposed to a string specifying how it should respond to zoom levels. Someone else also had this problem here (Sigma.js v2 Label Size proportional like v1) and was told that this was achievable with this custom label renderer: https://github.com/medialab/ipysigma/blob/master/src/custom-label.ts
Hovers overflow in SigmaContainer
Is it possible to draw node hovers outside of the Sigma container?
For example, if I have a relatively small container with long hover label text, even by moving the graph to the other edge of the container I can’t see the whole line of the text.
I’d like the hovers to be rendered above all elements on the page.
Disable hover-state externally
I have a context menu.
When I hover a node, it gets highlighted(like it should).
But when I enter the context menu, the node stays highlighted. I would like to disable the hover
/highlighted
state manually.
How to define Max/Min Node and Edge Size in new versions
Apologies as this feels like a really simple one but I can’t figure it out.