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: 29 days 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 (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-12-14T12:14:48.000Z (7 months ago)
- Last Synced: 2025-06-07T04:08:12.867Z (about 1 month ago)
- Topics: diagrams, julia, nomnoml, uml
- Language: Julia
- Homepage:
- Size: 160 KB
- Stars: 11
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# NomnomlJS

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);
```
