mirror of
https://github.com/octoleo/plantuml.git
synced 2025-04-02 00:01:52 +00:00
Merge pull request #196 from szpio/mindmap-store-metadata
Store mindmap source in PNG images
This commit is contained in:
commit
511dbb8096
@ -90,7 +90,9 @@ public class MindMapDiagram extends UmlDiagram {
|
|||||||
final double dpiFactor = scale == null ? getScaleCoef(fileFormatOption) : scale.getScale(100, 100);
|
final double dpiFactor = scale == null ? getScaleCoef(fileFormatOption) : scale.getScale(100, 100);
|
||||||
final ISkinParam skinParam = getSkinParam();
|
final ISkinParam skinParam = getSkinParam();
|
||||||
final ImageBuilder imageBuilder = new ImageBuilder(skinParam.getColorMapper(), dpiFactor,
|
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();
|
TextBlock result = getTextBlock();
|
||||||
|
|
||||||
result = new AnnotatedWorker(this, skinParam, fileFormatOption.getDefaultStringBounder()).addAdd(result);
|
result = new AnnotatedWorker(this, skinParam, fileFormatOption.getDefaultStringBounder()).addAdd(result);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user