Convert Generic Diagram Description To Plantuml Script

convert generic diagram description to plantuml script

A
aicraftlab
·May 3, 2026·
126 0 51
$4.99
Prompt
139 words

Translate the json data representing the diagram data into a plantuml script considering:

  1. The participants' shape must be translated in their plantuml counterpart using the following conversion rules :

    • "rectangle" shape must be translated into plantuml's "rectangle"
    • "circle" shape must be translated into plantuml's "circle"
    • "person" or "stickman" shape must be translated into plantuml's "actor"
    • "oval" or "ellipse" shape must be translated into plantuml's "usecase"
    • "cylinder" shape must be translated into plantuml's "database"
    • "diamond" shape must be translated into plantuml's "hexagon"
  2. Each recognised participant must be written in the form: "" "" as >

  3. Relations must be the arrow that connect participants

  4. Put diagram description in the legend of the diagram in the form: legend

    end legend

  5. Put diagram title in the form: title ""

diagram data: {diagram_description}

How to Use

Use with LangChain: hub.pull("bsorrentino/convert_generic_diagram_to_plantuml")

Need help?

Connect with verified experts who can help you succeed.

Related Prompts

More prompts in Data & Analytics

View All