Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/michaelhatherly/nomnomljs.jl
Julia wrapper for nomnoml, a UML diagram library for JavaScript.
https://github.com/michaelhatherly/nomnomljs.jl
diagrams julia nomnoml uml
Last synced: 3 months ago
JSON representation
Julia wrapper for nomnoml, a UML diagram library for JavaScript.
- Host: GitHub
- URL: https://github.com/michaelhatherly/nomnomljs.jl
- Owner: MichaelHatherly
- License: mit
- Created: 2021-02-10T10:55:58.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2024-04-01T20:54:09.000Z (10 months ago)
- Last Synced: 2024-10-14T16:42:14.926Z (3 months ago)
- Topics: diagrams, julia, nomnoml, uml
- Language: Julia
- Homepage:
- Size: 98.6 KB
- Stars: 7
- Watchers: 3
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# NomnomlJS
![CI](https://github.com/MichaelHatherly/NomnomlJS.jl/workflows/CI/badge.svg)
A Julia wrapper for the [`nomnoml`](https://github.com/skanaar/nomnoml)
JavaScript library for text-based UML diagrams exportable to `svg`, `png`,
`pdf`, and `eps`. Please refer to the upstream documentation for the supported
diagram syntax.This package is tested against Julia `1.3+` on Linux, MacOS, and Windows.
## Usage
```julia-repl
julia> ]add NomnomlJSjulia> using NomnomlJS
julia> d = Diagram("[A] is -> [B]");
julia> write("diagram.svg", d);
julia> write("diagram.png", d);
julia> d = read("diagram.noml", Diagram);
julia> write("diagram.pdf", d);
julia> write("diagram.eps", d);
```
![diagram](test/data/reference.svg)