TLmaK0 / gravizo

How to include graphviz graphs in github README

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Scaling Plantuml gives syntax error.

sthulesen opened this issue · comments

In Plantuml it is possible to scale the drawing. However, when using this in gravizo I get a syntax error.

<img src='http://g.gravizo.com/g?
@startuml;
scale 180*90;
Bob->Alice : hello;
@enduml
'>

http://plantuml.com/commons

After further experiments I can see that it doesn't like the '*'. scale 500 widthworks fine.

However. After a small typo where it became scale 5000 width it seemed that the gravizo.com server crashed (It stopped responding and not only for our IP).

I would recommend some kind of sanity check on the scaling values.
Leaving this here, if others hit the same problems.

Thanks @sthulesen for your help. I will do a sanity check of this kind of values.