Closed KEN-00 closed 5 years ago
Pseudo-classes (node:clicked
) are not supported in the css selectors. Only classes are (node.clicked
). You can set a class in a node with attributes (node.setAttribute("ui.class", "clicked")
).
Pseudo-classes (
node:clicked
) are not supported in the css selectors. Only classes are (node.clicked
). You can set a class in a node with attributes (node.setAttribute("ui.class", "clicked")
).
Hi @pigne , I have changed the css yet the same error message is shown T^T
I have create a graph and set the css using graph.setAttribute("ui.stylesheet", css), and created a FxViewPanel. The graph is displayed properly, but it seems that the css is not working.
Code:
CSS:
Error: