PrePAN

Sign in to PrePAN

WWW::PlantUML A simple remote client interface to a PlantUML server

Good

Synopsis

use WWW::PlantUML;

my $puml = WWW::PlantUML->new;
my $url  = $puml->fetch_url(qq{
   Alice -> Bob : hello
}, 'png');

print $url; 
# prints  http://www.plantuml.com/plantuml/png/69NZKb1moazIqBLJSCp9J4vLi5B8ICt9oUS204a_1dy0

Description

  • Plantuml is a library for generating UML diagrams from a simple text markup language.

  • This is a simple Perl remote client interface to a plantuml server using the same custom encoding used by most other plantuml clients. Perl was missing from the list.

  • There are other plantuml Perl libraries, like PlantUML::ClassDiagram::Parse, which provide only parsing capabilities for Class Diagrams. In contrast WWW::PlantUML module provides accessing any UML Diagram Type in various formats supported by any PlantUML server via HTTP/S Protocol.

  • This client defaults to the public plantuml server, but can be used against any server.

  • Read more: http://plantuml.com/de/server

  • See also: UML::PlantUML::Encoder

Comments

Please sign up to post a review.