You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a way to enforce node labels using graph.setNodeAttribute(nodeKey, "forceLabel", true) without simultaneously enforcing edge labels? I aim to have separate toggles for "Enforce Node Labels" and "Enforce Edge Labels". While the latter works as intended, the former inadvertently enforces all edge labels, which is undesirable.
Upon examining the Sigma.js code, I identified that this line triggers the automatic insertion of edge labels through the edgeLabelsToDisplayFromNodes function.
Currently, I haven't found any setting or customization option to prevent this behavior. Is there an existing solution, or should this be seen as a potential feature enhancement?
The text was updated successfully, but these errors were encountered:
labelDensity: 1000, // magic number, it works and I didn't investigate much more
labelRenderedSizeThreshold: 0, // display labels even if the node is small/zoomed out/packed
renderLabels: true,
renderEdgeLabels: false,
Is there a way to enforce node labels using
graph.setNodeAttribute(nodeKey, "forceLabel", true)
without simultaneously enforcing edge labels? I aim to have separate toggles for "Enforce Node Labels" and "Enforce Edge Labels". While the latter works as intended, the former inadvertently enforces all edge labels, which is undesirable.Upon examining the Sigma.js code, I identified that this line triggers the automatic insertion of edge labels through the
edgeLabelsToDisplayFromNodes
function.Currently, I haven't found any setting or customization option to prevent this behavior. Is there an existing solution, or should this be seen as a potential feature enhancement?
The text was updated successfully, but these errors were encountered: