Holarch

Behavior

Functional Flow Block Diagram (FFBD)

A classic FFBD of an Action's flow: the same flow as its Action Diagram, drawn in FFBD notation.

Where to find it

  • Behavior overview page, Diagrams at the bottom of the rail (+ New Diagram), an item's Open in ▾, or the type selector in the page header of any diagram of a suitable root.

Main actions

  • Function blocks show the function number (for example F4) above the name. Circle AND gates open and close parallel branches; OR gates open and close alternatives.
  • Loops have a loop-entry circle (LP or IT) where the return arrow re-enters, an exit gate and optional return-arrow text. A loop that represents a function is framed and labeled with it.
  • Add panel (left): Function, AND, OR, LP, EXIT (leaves the loop it is in) and Repeat Until Pass (select the steps first; see Go back on failure); type a name to create a function, or find an existing one. Not in the flow lists the top-level function's functions that the flow does not use. Drag a row onto the FFBD: the drop point shows where it goes: after or before a block (the half you drop on), into an empty branch or loop body, or onto an AND or OR gate for a new branch. Enter or a click adds it at the end of the main sequence; AND, OR or LP with blocks selected wraps them. An existing function becomes a child of the top-level function.
  • Move and connect: drag a block to a drop point to move it; drag a gate (AND, OR, a loop's LP or EXIT) to move the whole construct. Drag from a block's dot to another block to make that block follow it; to an earlier block in the same sequence to loop over that span (a menu also offers to go back only when the block fails); from an AND or OR gate's dot to a block to give it a new branch. While you draw, a note by the pointer says what the line will do. A line the notation cannot express, such as one joining two branches, is refused. From the keyboard: select a block and press C (Connect…), or use Connect to… in the inspector.
  • Delete: a block leaves the flow and is listed under Not in the flow (the function is kept; Delete from Model… in the inspector deletes it). A gate or loop is removed and what it held stays in the flow; ⇧ / ShiftDelete removes it with its contents. A line moves the block after it to the end of its sequence; a branch line removes the branch. Shift-click selects more than one item.
  • Go back on failure: an FFBD has no arrow back to an earlier block; the loop's return arrow runs from its exit to its LP circle. To return to the start of a loop when a step fails, drag from the step's dot to the loop's LP circle (or its first block), or choose Add Pass/Fail Check in the step's inspector. This adds an OR after the step: the pass branch carries on and ends in EXIT, the empty fail branch ends the pass so the loop starts again. Repeat Until Pass on selected steps builds the loop and a check after each step but the first in one go. Click an OR gate to name its branches.
  • Toolbar: orientation (Left to right, Top down), start/end style (text or reference blocks), Start and End text, Edit Flow… (opens the flow in Functional Analysis) and Action Diagram.
  • Arrange ▾: Rotate start/end labels and Frame loops that represent a function.

Tips

  • Every change can be undone with a single Undo and also changes the flow in Functional Analysis and the Action Diagram.
  • Arrow keys move between blocks, gates and lines; each change is announced with its place, for example "F12 Check Health added after F11 in the main flow".

Related

Functional Analysis · Turn Requirements into Functions and an FFBD · Action Diagram · Diagram Editor Basics