Skip to content
PixiKit

Flow Diagram

Nodes, curved wires and packets that travel along them, built from a list of nodes and links, with a tall layout for phones.

pixikit.com/docs/blocks/diagrams/flow

Customize

Packet color
Speed1.00x
Play on
Layout
Node width168
Column gap64
Row gap24

Props

18
NameTypeDefaultDescription
titlestring"How a request travels"The heading above the diagram. Leave empty for none.
descriptionstring"Every hop from the people using your product to the data behind it."The line under the heading. Leave empty for none.
nodesFlowDiagramNode[]NoneThe boxes, each at a column (x) and row (y) of the wide layout. Unset shows the built-in example.
linksFlowDiagramLink[]NoneThe wires between nodes, by id.
groupsFlowDiagramGroup[]NoneFrames drawn around sets of nodes.
nodeTitlesstring[]["Your users", "Gateway", "App", "App", "Database"]The built-in example's node titles, in order (used when nodes is not set).
nodeSubtitlesstring[]["web and mobile", "front door", "instance 1", "instance 2", "primary"]The built-in example's node subtitles, in order (used when nodes is not set).
linkLabelstring"HTTPS"The built-in example's label on its first wire (used when links is not set).
groupTitlestring"Your workspace"The built-in example's frame title (used when groups is not set).
packetColorstring"#7c3aed"The packets, the frames and the highlighted nodes.
speednumber1How fast the packets travel; 1 is the normal pace.
playOn"view" | "hover" | "always""view"When the packets run: while on screen, while pointed at (on screen on touch screens), or always.
layout"auto" | "wide" | "tall""auto"Wide left to right, tall top to bottom, or auto: tall when the block is narrower than 672px.
nodeWidthnumber168A node's width in the wide layout, in diagram units.
columnGapnumber64The space between columns in the wide layout.
rowGapnumber24The space between rows.
ariaLabelstringNoneWhat screen readers announce. Defaults to a sentence built from the links.
classNamestringNone

More diagrams blocks in Pro

View all

Related