1
0
mirror of https://github.com/octoleo/plantuml.git synced 2024-09-28 06:59:02 +00:00

Merge pull request #196 from szpio/mindmap-store-metadata

Store mindmap source in PNG images
This commit is contained in:
arnaudroques 2019-04-30 23:45:27 +02:00 committed by GitHub
commit 511dbb8096
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -90,7 +90,9 @@ public class MindMapDiagram extends UmlDiagram {
final double dpiFactor = scale == null ? getScaleCoef(fileFormatOption) : scale.getScale(100, 100);
final ISkinParam skinParam = getSkinParam();
final ImageBuilder imageBuilder = new ImageBuilder(skinParam.getColorMapper(), dpiFactor,
skinParam.getBackgroundColor(), "", "", 10, 10, null, skinParam.handwritten());
skinParam.getBackgroundColor(),
fileFormatOption.isWithMetadata() ? getMetadata() : null,
"", 10, 10, null, skinParam.handwritten());
TextBlock result = getTextBlock();
result = new AnnotatedWorker(this, skinParam, fileFormatOption.getDefaultStringBounder()).addAdd(result);