Support for Fault tree diagrams

+1 vote
asked Sep 7, 2017 in Wanted features by nikhil (520 points)
Is there any support or any plan to support for Fault Tree diagrams in Plantuml. As FTD are specific diagram consisting of events and gates. Events can be any block but Gates has to be AND or OR gates. Notation for gates is not in current plantuml support I guess. Any plans on this or any alternative? Thanks, Nikhil.

1 Answer

0 votes
answered 5 days ago by matt-chv (160 points)

Fully support the FTD request, from my initial research it seems more that we would need to be able to connect two sources on same side of a component (while leveraging sprites).

Below my initial attempt (and link).

While a better sprite for `AND` could be made and also for `OR`, the main rendering issue is the lack of ability (that i could find so far for two ports on the same side of one component).

@startuml
sprite $and_gate [16x16/16] {
0000000000000000
0000000000000000
0000000000000000
000000FFFF000000
0000FFF00FFF0000
0000FF00000F0000
000000FF00FF000F
0000FFFFFFF0000F
0000FF0000FF00FF
000FFF00000FFF00
0000FFFF00FF0000
0000000FFFF0FF00
0000000000000000
0000000000000000
0000000000000000
0000000000000000
}

 rectangle "inner process 2" <<$and_gate>> as and1
 src1 -> and1
 src2 -> and1
@enduml

...