PlantUML & Diagrammi
Crea diagrammi professionali direttamente nel Markdown
Cos'è PlantUML?
PlantUML è un linguaggio per creare diagrammi UML (e non solo) a partire da una semplice descrizione testuale. In MdExplorer, puoi inserire diagrammi PlantUML direttamente nei file markdown usando blocchi di codice fenced. I diagrammi vengono renderizzati automaticamente nell'anteprima del documento.
What is PlantUML?
PlantUML is a language for creating UML diagrams (and more) from simple text descriptions. In MdExplorer, you can embed PlantUML diagrams directly in markdown files using fenced code blocks. Diagrams are automatically rendered in the document preview.
Sintassi nel Markdown
Per inserire un diagramma PlantUML, usa un blocco codice fenced con linguaggio plantuml:
Markdown Syntax
To insert a PlantUML diagram, use a fenced code block with language plantuml:
Tipi di Diagramma Supportati
Sequence Diagram
Interazioni tra componenti nel tempo. Ideale per documentare flussi API e comunicazioni tra servizi.
Class Diagram
Struttura delle classi e relazioni. Utile per documentare il modello dati e le entità.
Component Diagram
Architettura del sistema ad alto livello. Mostra i moduli e le loro dipendenze.
ER Diagram
Schema database con tabelle, colonne e relazioni. Generabile direttamente da Claude Code.
Activity Diagram
Flussi di lavoro e processi decisionali. Utile per documentare workflow utente.
State Diagram
Stati e transizioni di un'entità. Ideale per oggetti con ciclo di vita complesso.
Supported Diagram Types
Sequence Diagram
Interactions between components over time. Ideal for documenting API flows and service-to-service communication.
Class Diagram
Class structure and relationships. Useful for documenting data models and entities.
Component Diagram
High-level system architecture. Shows modules and their dependencies.
ER Diagram
Database schema with tables, columns, and relationships. Can be generated directly from Claude Code.
Activity Diagram
Workflows and decision-making processes. Useful for documenting user workflows.
State Diagram
States and transitions of an entity. Ideal for objects with complex lifecycles.
Galleria Diagrammi
Ecco 6 tipi di diagramma PlantUML con il codice sorgente a fianco del risultato renderizzato. Questi esempi sono tratti dal progetto Errantia, il case study di MdExplorer.
Diagram Gallery
Here are 6 PlantUML diagram types with source code alongside the rendered result. These examples are from the Errantia project, MdExplorer's case study.
Sequence Diagram
Class Diagram
Component Diagram
ER Diagram
Activity Diagram
State Diagram
Anteprima Live
MdExplorer mostra l'anteprima dei diagrammi PlantUML in tempo reale nell'editor. Non serve installare PlantUML localmente: MdExplorer usa un server PlantUML per il rendering. I diagrammi si aggiornano automaticamente quando modifichi il codice. In modalità split-view, vedi il codice a sinistra e il diagramma renderizzato a destra.
Suggerimento: MdExplorer usa un server PlantUML configurabile nelle impostazioni. Di default usa il server pubblico, ma puoi configurare un server locale per progetti privati.
Live Preview
MdExplorer shows a live preview of PlantUML diagrams in the editor. No local PlantUML installation is needed: MdExplorer uses a PlantUML server for rendering. Diagrams update automatically when you edit the code. In split-view mode, you see the code on the left and the rendered diagram on the right.
Tip: MdExplorer uses a configurable PlantUML server. The default is the public server, but you can configure a local server for private projects.
Esempio Reale da Errantia
Nel progetto Errantia, i diagrammi PlantUML sono usati nell'analisi tecnica per documentare lo stack e le interazioni. Ecco il diagramma architetturale dal file ANALISI_TECNICA.md:
Real Example from Errantia
In the Errantia project, PlantUML diagrams are used in the technical analysis to document the stack and interactions. Here is the architectural diagram from the ANALISI_TECNICA.md file: