Open rwarren opened 1 week ago
We are using a fork: https://github.com/yuzutech/WireViz mainly because we are consuming wireviz as a binary CLI (and not as a Python library).
$ echo 'yaml definition' | wireviz -f svg - -o -
My pull request didn't get merged (https://github.com/wireviz/WireViz/pull/321) but it seems that it's now possible to specify an output file. Not sure if outputting to stdout and reading the content from stdin are supported though...
Kroki currently uses wireviz
v0.3.3
(which is not even an official version... see below). The latest version isv0.4.1
. Updating would be very nice.More detail...
The wireviz version currently in use is
v0.3.3
, per this line: https://github.com/yuzutech/kroki/blob/d96fd259e2362b39707bb5a8665ec81f2aaac4df/server/ops/docker/jdk17-noble/Dockerfile#L180Curiously,
v0.3.3
is not even an official wireviz tag!? Officail Wireviz versions jump fromv0.3.2
tov0.4
, so I'm not sure howv0.3.3
works.The latest version of wireviz is
v0.4.1
, and it contains some significant, and long awaited, features.NOTE: You can't even run basic wireviz tutorials with the
v0.3.x
version included with Kroki! For example the syntax for this wireviz tutorial currently fails with the syntax below (also available at the kroki.io renderer here):The problem is the relatively new syntax in
connections:
withF1.
. Drop the.
and it renders... but not as it should.