GLSP vscode client: How we configure color of Manual and Automation Node #396
-
I am using GLSP's vscode client(https://github.com/eclipse-glsp/glsp-vscode-integration) I want change color of automated node. In the generated graph its color is 'gray'. But this is not specified anywhere in the GLSP's vscode client project. But generated webview.js has 'gray' color entry. How we configure colors of manual and automated node using css ? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
The CSS you are referring to is coming from the Workflow example of the GLSP client repository. This package is consumed by the webview here: The actual source code of the consumed package is here: The Workflow example is just an example diagram that is common to all GLSP packages (client, server, Theia integration, VSCode integration). Typically you would just use this example as a blueprint, but create your own packages with your own adaptations for your diagram editor and use/publish/consume your packages instead of using the workflow packages directly. |
Beta Was this translation helpful? Give feedback.
The CSS you are referring to is coming from the Workflow example of the GLSP client repository.
This package is consumed by the webview here:
https://github.com/eclipse-glsp/glsp-vscode-integration/blob/7e40cf763ff59658e5bf6467e403416b3d04f293/example/workflow/webview/package.json#L32
The actual source code of the consumed package is here:
https://github.com/eclipse-glsp/glsp-client/blob/9793bf3179a08b8808e9ba0c76adbe413bbba97b/examples/workflow-glsp/css/diagram.css#L123
The Workflow example is just an example diagram that is common to all GLSP packages (client, server, Theia integration, VSCode integration). Typically you would just use this example as a blueprint, but create your own pa…