Need help to add icon and text inside node #399
Answered
by
planger
sathya-1994
asked this question in
Q&A
-
I am using GLSP's vscode client(https://github.com/eclipse-glsp/glsp-vscode-integration), I want add icon + text inside node If we add parameters(additional info related to node or type of icon or hyperlinks ) to node object at server side, can we access them at client side while generating SVG? |
Beta Was this translation helpful? Give feedback.
Answered by
planger
Nov 3, 2021
Replies: 1 comment
-
You can put arbitrary |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
tortmayr
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can put arbitrary
args
into theGModelElements
when constructing theGGraph
. On the client you can then react to them in the views when generating the SVG and e.g. set an icon or a link.