asciidoctor / asciidoctor-diagram

:left_right_arrow: Asciidoctor diagram extension, with support for AsciiToSVG, BlockDiag (BlockDiag, SeqDiag, ActDiag, NwDiag), Ditaa, Erd, GraphViz, Mermaid, Msc, PlantUML, Shaape, SvgBob, Syntrax, UMLet, Vega, Vega-Lite and WaveDrom.
http://asciidoctor.org
MIT License
435 stars 106 forks source link

Add links to jsyntrax project #349

Closed inponomarev closed 3 years ago

inponomarev commented 3 years ago

This is a proposal to add links to jsyntrax project besides original syntrax.

Some reasons:

pepijnve commented 3 years ago

Thanks @inponomarev, looks like a great addition. For Java-based tools, we can go one step further even and integrate jsyntrax into the Java server (see https://github.com/asciidoctor/asciidoctor-diagram-java). This is a little daemon that is launched once per asciidoctor run. This significantly improves performance for documents with many diagrams since it eliminates the JVM startup cost per diagram. It runs as a separate process (or in-process for JRuby). We would need to make a dedicated jsyntrax type for that I think to know when to activate this logic vs shelling out to the syntrax command.

inponomarev commented 3 years ago

Thanks @pepijnve for quick merge! Yes I will have a look at asciidoctor-diagram-java: it looks like it can cut a lot of time from compiling a documentation with multiple syntrax diagrams.