Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Store mindmap source in PNG images #196

Merged
merged 1 commit into from
Apr 30, 2019

Conversation

szpio
Copy link

@szpio szpio commented Apr 30, 2019

This change will store mindmap source diagram as metadata in PNG images or as
comment in SVG images. It is very useful when only image, not source, is
available and the change to mindmap is required.

This functionality was/is already available for other types of diagrams
but was not working for mindmap.

As described in help to retrieve mindmap sources use:

java -jar plantuml.jar -metadata <mindmap-image>.png

To get the sources from SVG image simply open SVG file in text editor
and copy sources from comment element at the end of the file.

This change will store mindmap source diagram as metadata in PNG images or as
comment in SVG images. It is very useful when only image, not source, is
available and the change to mindmap is required.

This functionality was/is already available for other types of diagrams
but was not working for mindmap.

As described in `help` to retrieve mindmap sources use:

```
java -jar plantuml.jar -metadata <mindmap-image>.png
```
To get the sources from SVG image simply open SVG file in text editor
and copy sources from `comment element` at the end of the file.
@arnaudroques arnaudroques merged commit 511dbb8 into plantuml:master Apr 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants