https://github.com/nakag/sprotty-getting-started
Sprotty Getting Started
https://github.com/nakag/sprotty-getting-started
diagrams eclipse sprotty svg typescript web
Last synced: 8 months ago
JSON representation
Sprotty Getting Started
- Host: GitHub
- URL: https://github.com/nakag/sprotty-getting-started
- Owner: nakag
- License: epl-2.0
- Created: 2020-02-25T13:42:19.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-06T02:35:07.000Z (over 3 years ago)
- Last Synced: 2024-10-11T23:16:55.699Z (over 1 year ago)
- Topics: diagrams, eclipse, sprotty, svg, typescript, web
- Language: TypeScript
- Size: 1.5 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Sprotty Getting Started.
This is an executable example of [Getting Started ](https://github.com/eclipse/sprotty/wiki/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