Create a Diagram
Setting Up and Environment for Diagram Creation
The discussion on this page assumes a setup as described in Setting Up an Environment for Diagram Creation.
Create a Diagram with the PlantUML Script
With the first_diagram.pu file selected, enter the following PlantUML script:
@startuml
title "Order to Cash"
participant Distributor as d
participant Manufacturer as m
d -> m: ProcessPurchaseOrder
m -> d: AcknowledgePurchaseOrder
m -> d: NotifyShipment
m -> d: ProcessInvoice
@endumlTo preview the diagram, press alt + d on Windows or ⌥ + d on Mac. You should see something like this: