Lucky in the Cloud With Diagrams
summary
Sprotty is a TypeScript SVG diagram framework that embeds live, CSS‑styled, animated graphs in web apps and IDEs; demo shows an NPM dependency explorer that fetches package metadata over HTTP, incrementally adds nodes, supports text filters, drag‑dock widgets in Theia/Gitpod, and smooth transitions driven by an update‑model command. Layout uses a two‑phase hidden rendering to measure text then runs macro layout with elkjs (ELK transpiled to JS). Dependency injection via inversify and client/server diagram servers are supported, and the examples run successfully in the browser and IDE.
AI-written summary · about
chapters (4)
related talks
34mHigh-performance graphical view filtering with Sprotty
32mWeb-based Diagram Editors with GLSP
24mCreating Interactive Data Visualizations for the Web
06mZero to One How to Integrate a Graphical Editor in a Cloud IDE
40mDiagram Editors Boosted: Collaborative, Testable and Accessible diagrams with Eclipse GLSP
33mDiagram Editors with GLSP: Why flexibility is key
44mGetting started with Scala js, Laminar and Vite
29mDiagram Editors in Theia with Eclipse GLSP
