Skip to content

frontends-web-frontend


Function: layoutFaultTree()

layoutFaultTree(nodes, edges): FtNode[]

Defined in: frontends/web-frontend/src/newly-developed-methods/fault-tree/faultTreeLayout.ts:29

Hybrid layout. The gate hierarchy is top-down: a gate's gate-children spread horizontally below it. A gate's basic-event (leaf) children do not spread; they stack into a vertical column just below and to the right of the gate, spaced by each node's own height so the IE codes stay clear.

Parameters

nodes

FtNode[]

edges

FtEdge[]

Returns

FtNode[]