Skip to content
forked from theia-ide/sprotty

A next-gen web-based graphics framework

License

Notifications You must be signed in to change notification settings

guogegao/sprotty

This branch is up to date with theia-ide/sprotty:master.

Repository files navigation

This project has moved to eclipse/sprotty and will be maintained there.

sprotty

sprotty is a next-generation, open-source, web-based diagramming framework. Some selected features:

  • fast, scalable SVG rendering that is compatible with many browsers and stylable with CSS,
  • animations built into the core,
  • support for a distributed runtime with a diagram client and a model server,
  • a fast, reactive client architecure implemented in TypeScript,
  • a Java-based server architecture,
  • configuration via dependency injection,
  • integration with Xtext, the Language Server Protocol and Theia that can be run as rich-client as well as in the browser..

sprotty demo

Getting started

# clone the repo
git clone git@github.com:theia-ide/sprotty.git

# build sprotty client and examples
cd sprotty/client
yarn
yarn examples:build

# build and run the sprotty server
cd ../server
./gradlew jettyRun 

# point your web browser to localhost:8080

For further information please consult the wiki or this blog post. The examples contained in this repository are available on a demo page.

About

A next-gen web-based graphics framework

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 69.3%
  • Xtend 17.7%
  • Java 8.4%
  • HTML 2.4%
  • CSS 1.3%
  • JavaScript 0.8%
  • Dockerfile 0.1%