Data Flow Diagrams

+7 votes
asked Apr 1, 2017 in Wanted features by anonymous

First of all congratulations: plantuml is simply fantastic. One diagram missing from UML is the DFD. On the other side it is an extremely useful diagram that most analysts still widely use because it abstract data flow. Should not be very difficult to generate as shown here. My suggestion is to add to the set of covered diagrams.

1 Answer

0 votes
answered Aug 29, 2019 by First time user, first time responser

Dunno what the situation was in 2017, but in 2019 it's this:

DOT

Since PlantUML uses Graphviz/DOT, it is possible to directly use DOT language.

This means that you can use Graphviz/DOT with all tools that support PlantUML.

Note that the very first line has to be: digraph XXXX { You can also use @startuml/@enduml instead of @startdot/@enddot.

Here is a working example:

@startuml
digraph dfd{	
	node[shape=record]
	store1 [label="<f0> left|<f1> Some data store"];
	proc1 [label="{<f0> 1.0|<f1> Some process here\n\n\n}" shape=Mrecord];
	enti1 [label="Customer" shape=box];
	store1:f1 -> proc1:f0;
	enti1-> proc1:f0;
}
@enduml

Source: plantuml.com/dot

Source: http://www.tonyballantyne.com/graphs.html#orgheadline19

...