Dear monks

I have following challenge. I want to create images from a database containing our technical infrastructure. The symbols i have to use are the archimate symbols. I want to construct a drawing that displays the business objects (bo) contained in application components.

------------------------------- | application component | ----- -------- -------- | | | | bo | | bo | | ----- |------| |------| | | | | | | | ----- | | | | | | | -------- -------- | ----- | | | | | | | -------------------------------

I though SVG are the way to go. I can find some very nice svg images representing the business object and the application component.

Basically i want to import the svg drawing of the business object in my script, add the name of the object from the database. Repeat for all business objects in the database and put the business objects on the image. Then scale the application component svg and put around the business objects. Repeat for all application components. Finally generate the drawing to png or jpg and send it to a html page.

I have looked to GD:SVG, but it doesn't import the given svg images and can't scale. SVG seems complex to learn.

Does anyone know which perl modules I can use to accomplish the drawing part as simple as possible or give some code snippets i can use?

Kind regards

Martell


In reply to SVG manipulation by martell

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.