How to scale a salt diagram

+3 votes
asked Jun 16, 2015 in To be sorted by anonymous

I used plantuml to reate a tree image, it works well but I cant scale it:

If I put a scale command immediatly after @startsalt i get a syntax error, if I put it after the first braket, it is displayed as text.

 

Other remark, the syntax

@startuml

salt

...

is not recognized.

1 Answer

0 votes
answered Oct 8, 2020 by The-Lu (64,340 points)

Hello A.,

Just to answer to an old unanswered question (and confirm that is now OK: tested on v1.2020.18), with:

@startsalt
scale 2
{
{T
 + World
 ++ Europe
 +++ Italy
 +++ Germany
 ++++ Berlin
 ++ Africa
}
}
@endsalt


[See on PlantUML...]

And with:

@startuml
scale 2
salt
{
{T
 + World
 ++ Europe
 +++ Italy
 +++ Germany
 ++++ Berlin
 ++ Africa
}
}
@enduml


[See on...]

Thank to the works of PlantUML team,
Regards,
Th.

...