3.4.0 • Published 4 months ago
langium-sprotty v3.4.0
Integration of Langium and Sprotty
This package provides glue code for Langium and Sprotty. It includes the following features:
- Generate diagram models from a Langium AST
- Listen to document changes and update existing diagram models automatically
- Hook into the JSON-RPC channel used by the language server
The counterpart of this integration is the sprotty-vscode package, which provides Sprotty diagrams embedded in VS Code webviews and is able to connect with the JSON-RPC stream of a chosen language.
How to Use This
- Implement a diagram model generator by extending
LangiumDiagramGenerator
- Add
SprottyDiagramServices
to the dependency injection module of your language and bind thediagram.DiagramGenerator
service - Add
DefaultSprottyModule
to theinject
function that sets up your dependency injection container - Call the
addDiagramHandler
function in your main code to hook into the JSON-RPC stream
3.4.0-next.10c0eb7
4 months ago
3.4.0
5 months ago
3.3.0
8 months ago
3.4.0-next.1409e5d
7 months ago
3.4.0-next.325db9f
7 months ago
3.4.0-next.325db9e
7 months ago
3.2.0-next.5063a2b
11 months ago
3.2.0
10 months ago
3.2.0-next.9134e27
1 year ago
3.1.0-next.cbc5db3
1 year ago
3.2.0-next.bb9f2d3
1 year ago
3.1.0
1 year ago
3.2.0-next.2191297
1 year ago
3.1.0-next.4bbc180
1 year ago
3.1.0-next.c8e01a2
1 year ago
3.0.0
1 year ago
3.0.0-next.cc1a49c
1 year ago
3.0.0-next.e78aeba
1 year ago
3.0.0-next.79e4301
2 years ago
2.1.0
2 years ago
2.0.0-next.a57102f
2 years ago
2.0.0-next.239179f
2 years ago
1.3.0
2 years ago
2.0.0
2 years ago
1.2.0
2 years ago
1.1.0
2 years ago
0.6.0-next.62c127c
3 years ago
1.0.0
3 years ago
0.5.0-next.52ab085
3 years ago
0.5.0-next.f150dbd
3 years ago
0.5.0
3 years ago
0.5.0-next.f2b3802
3 years ago
0.4.0
3 years ago
0.3.0
3 years ago
0.3.0-next.5e9d27d
4 years ago