Diagam (v2)
A fully working flow can be found here
Inputs (required)

Display Name
Display name of the flow
Flow ID
Unique ID of the flow, recommend using Resource id or workflowid
Owner
Flow owner/maker
Environment
Environment name
Definition
Flow definition/clientData
Outputs
The Diagram api returns a svg of the flow:
Data

Next Steps - HTTP
HTTPLast updated