The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

App::Basis::ConvertText2::Plugin::Mscgen

SYNOPSIS

    my $content = "# MSC for some fictional process
    msc {
      a,b,c;

      a->b [ label = "ab()" ] ;
      b->c [ label = "bc(TRUE)"];
      c=>c [ label = "process(1)" ];
      c=>c [ label = "process(2)" ];
      ...;
      c=>c [ label = "process(n)" ];
      c=>c [ label = "process(END)" ];
      a<<=c [ label = "callback()"];
      ---  [ label = "If more to run", ID="*" ];
      a->a [ label = "next()"];
      a->c [ label = "ac1()\nac2()"];
      b<-c [ label = "cb(TRUE)"];
      b->b [ label = "stalled(...)"];
      a<-b [ label = "ab() = FALSE"];
    }" ;
    my $params = {} ;
    my $obj = App::Basis::ConvertText2::Plugin::Mscgen->new() ;
    my $out = $obj->process( 'mscgen', $content, $params) ;

DESCRIPTION

convert a mscgen text string into a PNG, requires mscgen program from http://www.mcternan.me.uk/mscgen/

mscgen

create a simple msc image

 parameters
    data   - msc text      
    filename - filename to save the created image as 

 hashref params of
        size    - size of image, widthxheight - optional

1 POD Error

The following errors were encountered while parsing the POD:

Around line 61:

'=item' outside of any '=over'

=over without closing =back