vue-sequence
| Install | |
|---|---|
npm install vue-sequence |
|
| Latest Version: | 1.0.275 |
| Vue: | 2 |
| Last Updated: | Dec 11, 2023 |
| Links: | GitHub · npm |
Note: This repository has been renamed to
corefromvue-sequence. This is repository contains the core renderer and other core functionalities including export images.
:warning: This module has been renamed to @zenuml/core!
ZenUML/Core
ZenUML is JavaScript-based diagramming tool that uses Markdown-inspired text definitions and a renderer to create and modify sequence diagrams. The main purpose of ZenUML is to help documentation catch up with development.
ZenUML allows even non-programmers to easily create beautiful sequence diagrams through the ZenUML Live Editor.
You can use it ZenUML on your favorite platforms and applications:
Development
TODOs
- Rename this repository to 'core'
- and rename the package to @zenuml/core
yarn install
yarn start
CI/CD
CI/CD is done with GitHub Actions. The workflow is defined in .github/workflows/*.yml.
gh-pages.yml
This workflow has two jobs: build -> deploy.
test -> npm publish
-> cy tests
-> build site -> deploy gh-pages
This workflow is triggered on every push to the main branch.
It will build the project and publish the dist folder to the gh-pages branch.
Put localhost on the internet
We sometimes need to put our localhost on the internet so that we can test it remotely.
Ngrok is a good tool for this. It is free for personal use. But if you want to use a custom domain, you have to pay. If you want to use custom domain, we suggest Cloudflare tunnels for this.
Ngrok [TODO]
Cloudflare tunnels [for collaborators only]
- Request a subdomain from the team. For example,
air.zenuml.com. - You will be given a command that install a service locally. Run it.
- Your localhost:8080 will be available at
air.zenuml.com. - Add your subdomain to
vue.config.jsso that it is allowed to access the dev server.
devServer: {
allowedHosts: "all",
historyApiFallback: true,
hot: true,
host: '0.0.0.0',
port: 8080,
client: {
webSocketURL: 'auto://0.0.0.0:0/ws',
}
}
Code Structure
This repository contains both the DSL parser and the renderer.
The parser is generated with Antlr4. You can find the definition at src/g4. Generated parser is at src/generated-parser.
Parser enhancement with customised functionalities is in the src/parser folder.
Almost everything else under serc are for the renderer. The render is based on VueJs 2.x.
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 1.0.275 | 2.6.12 | ||
| 1.0.274 | 2.6.12 | ||
| 1.0.273 | 2.6.12 | ||
| 1.0.272 | 2.6.12 | ||
| 1.0.271 | 2.6.12 | ||
| 1.0.270 | 2.6.12 | ||
| 1.0.269 | 2.6.12 | ||
| 1.0.268 | 2.6.12 | ||
| 1.0.267 | 2.6.12 | ||
| 1.0.266 | 2.6.12 | ||
| 1.0.265 | 2.6.12 | ||
| 1.0.264 | 2.6.12 | ||
| 1.0.263 | 2.6.12 | ||
| 1.0.262 | 2.6.12 | ||
| 1.0.261 | 2.6.12 | ||
| 1.0.260 | 2.6.12 | ||
| 1.0.259 | 2.6.12 | ||
| 1.0.258 | 2.6.12 | ||
| 1.0.257 | 2.6.12 | ||
| 1.0.256 | 2.6.12 | ||
| 1.0.255 | 2.6.12 | ||
| 1.0.254 | 2.6.12 | ||
| 1.0.253 | 2.6.12 | ||
| 1.0.252 | 2.6.12 | ||
| 1.0.251 | 2.6.12 | ||
| 1.0.250 | 2.6.12 | ||
| 1.0.249 | 2.6.12 | ||
| 1.0.248 | 2.6.12 | ||
| 1.0.247 | 2.6.12 | ||
| 1.0.246 | 2.6.12 |
Showing the latest 30 of 350. See every release on npm