Diagram model
Nifdi diagrams consist of blocks and paths.
Blocks
Section titled “Blocks”A block occupies a rectangular space, and comes in 3 types:
| Block type | Purpose |
|---|---|
| Container / Shape | Main structure of a diagram. Can have borders and backgrounds. The only block type that can contain other blocks. |
| Text | Editable text. |
| Icon | Fixed aspect ratio image. |
Note a difference compared to other software: in nifdi text cannot itself have a border or a background colour. Instead, similar effects can be achieved by placing text inside a container.
A path connects two blocks. Nifdi chooses the route for each path based on the position of the blocks it connects and other blocks that might be in the way. Currently, nifdi only supports rectilinear paths (consisting of an alternating sequence of vertical and horizontal path segments).
Containment
Section titled “Containment”Containers can contain other blocks, forming a hierarchy. Contained blocks stay inside their parent, moving or stretching together.
Attachment
Section titled “Attachment”Blocks can be attached to edges of blocks or to paths. Attached blocks can’t be moved on their own; their position is determined by their parent.