-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Showing Node Labels without Edge Labels #1394
Labels
Comments
This is the setting I use, works for me
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: