We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I think it makes sense to allow to set cluster CSS class names, the same way as it works for leaf nodes.
For instance, for leaf nodes, this works:
graph.setNode(`node`, { class: "state-text" })
and generates <g class="node state-text" ....
<g class="node state-text" ...
However, for clusters, it generates <g class="cluster" ... so one can't use CSS to style clusters.
<g class="cluster" ...
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I think it makes sense to allow to set cluster CSS class names, the same way as it works for leaf nodes.
For instance, for leaf nodes, this works:
and generates
<g class="node state-text" ...
.However, for clusters, it generates
<g class="cluster" ...
so one can't use CSS to style clusters.The text was updated successfully, but these errors were encountered: