PHP Classes

File: docs/well-known-issues.md

Recommend this page to a friend!
  Classes of jawira   PlantUML client   docs/well-known-issues.md   Download  
File: docs/well-known-issues.md
Role: Auxiliary data
Content type: text/markdown
Description: Auxiliary data
Class: PlantUML client
Convert a UML diagram to an image using PlantUML
Author: By
Last change:
Date: 1 year ago
Size: 840 bytes
 

Contents

Class file image Download

Incomplete diagrams

Default PlantUml server (<https://www.plantuml.com/plantuml>) cannot handle huge diagrams. If you have problems it is suggested to use your own PlantUml server (<https://github.com/plantuml/plantuml-server>).

Additionally, you have to set PLANTUML_LIMIT_SIZE environment variable in your server, otherwise your diagram will be cropped.

$ docker run -d -p 8080:8080 -e PLANTUML_LIMIT_SIZE=10000 plantuml/plantuml-server

Your PlantUml server is listening at <http://localhost:8080>.

For example: <http://localhost:8080/uml/SyfFKj2rKt3CoKnELR1Io4ZDoSa70000>

use Jawira\PlantUmlClient\Client;
$client = new Client('http://localhost:8080'); 

Or using appropriate setter:

use Jawira\PlantUmlClient\Client;
$client = new Client(); 
$client->setServer('http://localhost:8080');