Skip to content

nakag/sprotty-getting-started

Repository files navigation

Sprotty Getting Started.

This is an executable example of Getting Started for sprotty.

How to start

  1. Build this project.
    cd sprotty-getting-started
    yarn build
    yarn start
    
  2. Open sprotty-getting-started/index.html with browser.

Source description

Define the Model

src/model.ts

Define the View

src/views.tsx

css/diagram.css

Configure your Application

src/di.config.ts

Connect the Model Source

src/standalone.ts

Run diagram

src/app.ts index.html