seflless/diagrams
소개
플로차트, 네트워크 시퀀스 다이어그램, GraphViz Dot 다이어그램 및 철도 다이어그램 생성
디자인 및 미디어측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalOverview
Command line tool for generating a suite of various types of diagrams, each based on intuitive text DSLs.
Also see Atom Diagrams Plugin that integrates this into the Atom IDE
Documentation




Installation
npm install -g diagrams
Usage
watch
The diagrams CLI provides the watch command that will automatically generate the .svg visualization of each diagram file format it supports. Run the following:
Generates all of the .svg files, then starts watching the current directory and regenerates any diagram file that changes.
diagrams watch
Generates all .svg files, but don't start watching after.
diagrams build
To provide the target directory to watch just pass it as an argument right after the watch command.
diagrams watch somedirectory --build
Diagrams
flowchart
Documentation: Flowchart.js .
To generate flowcharts, run:
diagrams flowchart input.flowchart flowchart.svg
| input.flowchart | flowchart.svg |
|
|
sequence
Documentation: Network Sequence Diagram Syntax .
To generate Network Sequence Diagrams, run:
diagrams sequence input.sequence sequence.svg
| input.sequence | sequence.svg |
|
|
dot
Documentation on the dot file format:
- Read dotguide.pdf.
- See the online generator.
To generate diagrams from Graphviz's .dot file format, run:
diagrams dot input.dot dot.svg
| input.dot | dot.svg |
|
|
railroad
Documentation see railroad-diagrams's documentation':
- NOTE: There is no real documentation for the input file syntax (PRs welcome), but the examples should help you figure it out a bit
- Examples
- Online Generator
To generate Railroad Diagrams, run:
diagrams railroad input.railroad railroad.svg
| input.railroad | railroad.svg |
|
|
Contributing
Setup
git clone [email protected]:francoislaberge/diagrams.git
cd diagrams
Testing
npm test
Publishing to NPM
Do the usual npm version bump then publish.
npm version <major|minor|patch>
git push; git push --tags
npm publish
All tests are run automatically on push via our travis-ci integration.
Credits
- flowchart.js for the flowchart diagrams
- js-sequence-diagrams for the sequence diagrams
- viz.js for getting Graphviz compiled to js
- railroad-diagrams for the railroad diagrams
- electron for headless browsing to wrap above libraries that don't work without a browser environment
TODOs
It's a work in progress. See TODO.md.
관련 프로젝트 살펴보기
불러오는 중…