Allow scale or DPI for JSON or YAML diagram

+1 vote
asked Jun 29, 2021 in Wanted features by The-Lu (49,840 points)

Hello PlantUML team,

  • Could you allow Scale or DPI for JSON or YAML diagram?

If it is possible? or by beta-style, or...

Examples with scale:

CodeOutput
@startjson
scale 2
{
   "fruit":"Apple",
   "size":"Large",
   "color": ["Red", "Green"]
}
@endjson

@startyaml
scale 2
fruit: Apple
size: Large
color: 
 - Red
 - Green
@endyaml

Examples with DPI:

CodeOutput
@startjson
skinparam dpi 300
{
   "fruit":"Apple",
   "size":"Large",
   "color": ["Red", "Green"]
}
@endjson

@startyaml
skinparam dpi 300
fruit: Apple
size: Large
color: 
 - Red
 - Green
@endyaml

Same thing also with...  skinparam handwritten true cheeky

Regards,
Th.

commented Nov 7, 2021 by The-Lu (49,840 points)

Same thing also with... the theme directive: cheeky

!theme theme_name

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:

[Antispam2 Feature: please please wait 1 or 2 minutes (this message will disappear) before pressing the button otherwise it will fail](--------)
To avoid this verification in future, please log in or register.
...