Comments (4)
Did you find the answer to this? I haven't been able to find a way to generate diagram legends.
from kroki.
Hey @simonbrowndotje, is there something we need to do to support legends/keys?
from kroki.
If supported by the exporter, you just need to output it; see https://github.com/structurizr/cli/blob/master/src/main/java/com/structurizr/cli/export/ExportCommand.java#L148 for an example.
from kroki.
Kroki outputs a single image, is it possible to embed/include the legend definition in the diagram (and then convert it to an image)?
Something like:
plantumlCommand.convert(diagram.getDefinition() + "\\n\\n" + diagram.getLegend().getDefinition(), fileFormat, new JsonObject());
from kroki.
Related Issues (20)
- Feature Request: Support for Wardley Maps HOT 1
- CVEs needing attention HOT 3
- Limited width of Mermaid Gantt Diagrams generated by Kroki HOT 6
- Trivy image scan showing many vulnerabilities HOT 1
- Security vulnerabilities according to the NATIONAL VULNERABILITY DATABASE (NDV) High, HOT 1
- https://kroki.hugomods.com/ A new Hugo module
- Error 503: Connection refused: /127.0.0.1:8005 using kroki.io HOT 4
- New release planned ? HOT 3
- mermaid throws error "vkCreateInstance failed with VK_ERROR_INCOMPATIBLE_DRIVER" HOT 5
- Diagramsnet does not resolve locally pathed images HOT 1
- Bug: Mermaid flowchart option `defaultRenderer` not configurable HOT 2
- Support for Structurizr `renderer` attribute
- for mermaid, sometimes the right margin is too small HOT 1
- unix socket still does not work with the docker image HOT 2
- Kroki Container Not Removing old Packages. HOT 1
- excalidraw fonts are not rendered HOT 2
- discussion: Deprecation c4plantuml in favor of plantuml (plantuml-stdlib)?
- Add Mocodo HOT 1
- wireviz and symbolator are missing from GitLab 16.10 HOT 5
- Support for structurizr workspace.json for layout information HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kroki.