| Where the journey starts | Built inA start node, drawn as a ring labeled Start.The 'start' node (start from_cart) is drawn as a ring over a plate labeled "Start", with the description "From the cart" under it. "From the cart" is only description text: the cart itself is not modeled. | Built inA start oval, the flowchart terminator.A start oval, the flowchart terminator, labeled 'From the cart'; Miro's User Flow template lists 'a start or endpoint' as an element. Our drawing leaves it out and begins at Checkout. | Built inA node in a Start shape, such as a circle.A node in a shape the shape table names Start, such as start@{ shape: circle, label: "From the cart" }; the small-circle Start (sm-circ) draws a dot with no label. Our version writes start((Start)). | Built inThe start keyword.The start keyword draws the start node. Where the user comes from (the cart) is only an arrow label: -> from the cart;. | WorkaroundNo start element; a NavigationFlow from the cart page, or a Module input Port.IFML has no start or initial element. The arrival is the NavigationFlow from a Cart ViewContainer's Checkout event, as in the spec's own bookstore (Annex B). If the checkout is packaged as a Module, the arrival is that module's input Port. Nothing marks either one as where the journey begins, and a Landmark container means reachable from everywhere, not a start. |
|---|
| A screen | Built inA view node: a box with a title bar and the View icon.The 'view' node (view checkout, view confirmed) is a box with a title bar, the view icon and the type name "View", then the title and description. Other view types (modal, drawer, toast and more) change the icon and type name. | WorkaroundA box; that it is a screen is a team convention.A box with the screen's name, the same box the flow uses for steps, so 'this box is a screen' is a convention the team agrees on. In Figma Design a team can place the real screen frames instead, which makes it a wireflow. | Built inA node in the browser shape.The 'browser' shape draws a browser window: checkout@{ shape: browser, label: "Checkout" }. Our version uses plain rectangles, the same shape it uses for the system step. | WorkaroundAn action box, like a step; told apart by a styled stereotype.A screen is an ordinary action box, :Checkout;, the same element as a system step. Telling the two apart takes a convention. Here that is a <<screen>> stereotype styled white in <style>, with a legend line to explain it. | Built inA ViewContainer (page or window) holding ViewComponents, such as a «Form».Checkout and Order confirmed are ViewContainers, which Table 7.1 illustrates with 'Web page', 'Window' and 'Pane'. Their contents are ViewComponents, such as a «Form» with fields, so IFML shows more inside a screen than UJN does. The spec leaves concrete widgets to the platform mapping on purpose. |
|---|
| Its route | Built inThe route key, drawn in the box: /checkout, /orders/:id.The 'route' key on a view, drawn in monospace at the bottom left of the box ("/checkout", "/orders/:id"); :name marks a parameter. The route is kept as written: the module does not check its form. | Note onlyOnly as text in the box or a sticky note.Only as text: a second line in the box, or a sticky note. Neither FigJam's nor Miro's shapes have a field for a route. | Note onlyOnly as label text.Only as label text, as in our checkout["Checkout<br>/checkout"]. The documented @{ } keys are for drawing (shape, label, icon, img and their sizes), and a click href is a link for the viewer, not a route. | Note onlyOnly as text in the box.A route is only text in the box: here a monospace line, ""/checkout"". No tool reads it as a route. | WorkaroundNo route attribute; a team-defined extension or an Annotation holds it.IFML is platform-independent and gives a ViewContainer no URL or route; the informative HTML mapping in Annex E derives pages and links itself and names only the home page ('index'). A team can add a route tagged value through its own platform-specific extension of ViewContainer (clause 7.3), or write the route in an Annotation. The :id part can be an input Parameter of Order confirmed. |
|---|
| A system step | Built inAn action node: a box with a gear icon.The 'action' node (action authorize) is a box with no title bar, a gear icon and the type name "Action". It is defined as something the system does between views. | WorkaroundA box like the screens, told apart by a color or shape the team picks.A process box that looks like the screen boxes. Telling a system step apart takes a team convention, such as another color or the predefined-process shape (PREDEFINED_PROCESS in FigJam, flow_chart_predefined_process in Miro). | Built inA node in the rect (Process) shape.A node in the 'rect' shape, which the shape table names Process ('Standard process shape'). Our version draws screens as rectangles too, so screen and step look alike there. | Built inAn action, the basic element.An action, :Authorize payment;, is the basic element of an activity diagram. Its swimlane (|Shop|) shows who performs it. | Built inAn Action: business logic triggered by an event, drawn as a hexagon.Authorize payment is an Action, 'a piece of business logic triggered by an event'. It runs on the server by default, or is marked [Client], and is drawn as a hexagon. The Pay submit event of the checkout form triggers it. |
|---|
| A call to an outside service, and its reply | Built inA system node; the model types the arrows as call and reply.A 'system' node with type: external (drawn as "System, external" with cut corners and a side band, host on the meta line). A --> from the action to it is the call and a ..> back is the reply; the model tags these 'call' and 'reply'. | WorkaroundAnother box with arrows out and back; "reply" is a convention.Another box for the Payment provider, with a connector to it and a dashed one back (FigJam connectors are solid or dashed, Miro's can also be dotted); reading the dashed line as the reply is a team convention. Our drawing puts the call in a sticky note. | WorkaroundTwo links, out and back; nothing marks the call and its reply.Two links, authorize --> psp out and psp -.-> authorize back, with the provider in a shape such as 'cloud' (ours uses the cylinder, which the table names Database). Nothing marks one link as the call and the other as its reply; the reader infers it. | WorkaroundA swimlane for the provider; no element says "calls".No element says that a step calls a service. Here the provider gets its own swimlane, and the flow crosses into it and back. The UML shapes <<sendSignal>> and <<acceptEvent>> can mark a send and a receive, but the target is only the lane, and the host is text in the box. | Built inThe Action's DynamicBehavior binds it to the called service and its result; not drawn.Every Action has exactly one DynamicBehavior, 'the binding of the system with a service or operation, which may be invoked in order to carry out business logic or return content'. Here that could be a UML operation authorize(card, amount) of a Payment provider class in the DomainModel, whose result returns to the Action. The provider is not drawn in the IFML diagram, and nothing marks it as a third party: the spec's own bookstore checkout shows its bank call in a separate UML sequence diagram, and clause 7.1 leaves web-service calls to models such as SoaML. |
|---|
| Data carried | Built inThe payload key on an arrow, drawn beside it: {card, amount}.The 'payload' key in an arrow's block, drawn as monospace braces beside the arrow: {card, amount} on the Pay arrow and on the call, {result} on the reply. The items are names only, with no data types. | Note onlyText on the connectors; they have no field for data.Text on the connectors, such as 'card, amount' and 'result': a label on a FigJam connector, a caption on a Miro one. Connectors have no field for data items, so it stays plain text; our drawing puts it in a sticky note. | Note onlyOnly as link text.Only as link text: authorize -->|card, amount| psp and psp -.->|result| authorize. A link has no data field; its @{ } block takes only drawing settings such as animate and curve. | Built inUML object nodes on the flow: card, amount and result.The UML object node :card, amount; <<object>> sits on the flow between two actions: once before Authorize payment and once in the provider lane. The reply is :result; <<object>>. Each one is drawn as a box in the flow, not on the arrow. | Built inA ParameterBindingGroup on each flow: card and amount in, result out.The Pay NavigationFlow carries a ParameterBindingGroup. Its ParameterBindings tie the form's card and amount fields, which act as Parameters, to the Action's input Parameters. The result can be an output Parameter of the Action, bound on the flow out of its ActionEvent. Parameters are typed, while UJN's payload has names only. |
|---|
| The user leaves for the bank app and comes back | Built inA handoff node; its resume arrows are the ways back.The 'handoff' node (handoff bank_app, type 'returns'): a box with a dashed border labeled "Handoff, returns" and the channel "bank app". The arrow into it is where the user leaves, and the ..> and .x.> resume arrows out of it are the ways back (role 'resume' in the model). | WorkaroundNo element; a box in its own color, with arrows out and back.No element for leaving the app and coming back; the template's drop-off points are for users who leave the flow. A team can draw the bank app as a box in its own color, with arrows out and back; our drawing uses a diamond and a sticky note. | WorkaroundNo element; a chosen shape or a subgraph, explained in a legend.No element for leaving the app. A node in a chosen shape with dotted links back, or a subgraph titled as outside the app, can stand for it, with a legend to explain it. | WorkaroundA swimlane named Bank app; nothing says the user leaves.A swimlane named Bank app: the flow moves into it and back into the Shop lane. Nothing says the user leaves the app; readers have to work that out from the lane. | WorkaroundNo element for leaving the app; an Action or SystemEvent stands in.IFML models the app's own interface and has no element for the user going to another app and coming back. An Action may not lead straight to another Action, so the bank step is folded into Authorize payment, whose ActionEvents become the ways back, or drawn as a waiting ViewContainer with the return as a stand-alone SystemEvent. Either way, that the user is in the bank app meanwhile can only be said in an Annotation or a name. |
|---|
| How long the bank may take | Built inThe timeout key on the handoff, drawn as "5 min".The 'timeout' key on the handoff, drawn after the channel as "bank app · 5 min" and kept as "5 min" in the model; a value that is not a duration gets a warning. For a handoff the spec defines no exit for when the time runs out (the timeout exit of 14.3 is for actions), and the checkout draws none. | Note onlyOnly as text in a label or a sticky note.Only as text in a label or a sticky note ('Timeout 5 min?' in our drawing). Miro's flowchart delay shape marks a wait, but the limit itself is still text. | Note onlyOnly as label text; the delay shape takes no duration.Only as label text, for example "Bank app (5 min)". The 'delay' shape draws a wait but takes no duration. | Note onlyOnly as text in the box or a note.The limit can only be text. Here it is a line, 5 min limit, in the Bank app box; a note would work the same way. The <<timeEvent>> shape draws waiting for a time event, and the docs show no interruptible region that could put a limit on a step. | Built inA time-out SystemEvent holding 5 minutes; stand-alone, not on the step.A SystemEvent of type time (the spec lists 'time out event') with a triggering Expression such as '5 minutes after approval is requested'. Its own NavigationFlow says what happens when the time runs out. It is a stand-alone event, not a property of the bank-app step, and the modeler chooses the expression language. |
|---|
| Approved or declined | Built inTwo resume arrows with triggers: [Approve], and [Decline] as a failed return.Two resume arrows out of the handoff, each with its own trigger: ..> [Approve] to Order confirmed, and .x.> [Decline], a failed return to Checkout drawn dashed and red with a cross. A resume arrow without a trigger gets a warning. | Built inA decision diamond with two labeled connectors.A decision diamond (DIAMOND in FigJam, flow_chart_decision in Miro) with two labeled connectors, yes and no, as in our drawing. Nothing shows that both answers come back from another app. | Built inTwo labeled links out of a node.Two labeled links out of the bank node: bank -.->|Approve| confirmed and bank -.->|Decline| checkout. Branching with link text is core flowchart syntax. | Built inA decision with two named branches.A decision with two named branches. Here that is repeat while () is (Decline) not (Approve); if (...) then (Approve) else (Decline) would also work. | Built inTwo named ActionEvents, approved and declined, each with its own flow.Approved and declined are two named ActionEvents ('a normal termination event or exception event') of Authorize payment, with the bank step folded into it. Each one owns a NavigationFlow: one to Order confirmed, one back to Checkout. An InteractionFlowExpression can also choose between two flows, but nothing shows that the answers come back from another app. |
|---|
| A failure path and its end | Built inA -x-> arrow into an end of type failure.The negative arrow -x-> (red, with a cross in a white disc, guard "card refused") leads to end refused { type: failure }, a bullseye with a cross labeled "End, failure". The cross keeps it readable in black and white. | WorkaroundAn end oval; only its label or color says failure.A connector to an end oval labeled 'Card refused'; only the label, or a color the team picks, says it is a failure. Our drawing leaves this path as an open question ('Card refused: ???'). | WorkaroundA cross edge and a Stop shape, which carry no failure meaning.The '--x' cross edge and the Stop shapes ('dbl-circ', 'fr-circ') can draw it, but Mermaid gives neither a failure meaning. Link text such as "card refused", a classDef color and a legend tell the reader. | WorkaroundA red arrow to end; only the color and a legend say failure.The refused branch is colored with -[#red]-> and ends at end, which draws a circle with a cross. end only ends the flow, like stop, so the failure is shown only by the red color and a legend line. | WorkaroundAn ActionEvent named card refused; no failure type and no end element.Card refused is an ActionEvent of Authorize payment. The spec calls such outcomes exception events but gives ActionEvent no attribute to mark one, so only the name says failure, unless the team adds its own Event extension (clause 7.3). IFML has no end element, so the failure end becomes an error ViewContainer or an Annotation. |
|---|
| A success end | Built inAn end of type success, drawn with a check.end paid { type: success }: a bullseye with a check, over a plate labeled "End, success" with the description "Order paid". | Built inAn end oval.An end oval, the terminator shape ('Done' in our drawing). Miro's User Flow template lists the end point as an element. | Built inA Stop shape; ends have no success or failure type.A Stop shape marks the end, as in paid@{ shape: dbl-circ, label: "Order paid" } (fr-circ, the other Stop shape, draws no label). Ends have no success or failure type; ours draws both ends as plain circles. | Workaroundstop, with a note saying Order paid.stop draws the final node (a bullseye), but it does not say success or failure. Here the success is read from the note on it, note right: Order paid, and from the failure end being the red one. | WorkaroundNo end element; Order confirmed ends it, marked by a team stereotype or Annotation.IFML has no end or final element. The flow stops at the Order confirmed ViewContainer, and that the journey ended in success (order paid) can be marked only by the team's own stereotype on that container, which clause 7.3 allows for ViewContainer, or written in an Annotation. It is the same general mechanism as for legacy and for the failure end, and only the team's convention says what the stereotype means. |
|---|
| A planned step | Built inThe future flag; what is reachable only through it is marked too.The 'future' flag (flags: [future]) on the Pay later view and its arrow: a dotted border or line and a filled tab with the glyph "»". As a delivery flag it propagates: the module marks everything reachable only through it as inherited (outlined tab, inherited in the model). | WorkaroundA dashed border or color by convention, set box by box.A dashed border (Miro shapes have a dashed borderStyle), a color the team agrees on, or a sticky note as in our drawing; Figma's Dev Mode statuses are only 'Ready for dev' and 'Completed'. Nothing marks what is reachable only through Pay later, so each box is marked by hand. | WorkaroundA classDef with dashes, set by hand on each node.A classDef with stroke-dasharray, set with ::: or class on the node and, through an edge id, on the link (class e1 planned). Each node reachable only through it must be marked by hand, and a legend must explain the dashes. | WorkaroundA dashed stereotype style, set box by box.A stereotype styled in <style>, here <<planned>> with a dashed LineStyle, plus -[dashed]-> on the arrow and a legend line. The style applies only where it is written, so nothing marks what is reachable only through Pay later. | WorkaroundA team-defined stereotype on each ViewContainer and Event; nothing propagates.IFML has no status attribute, so 'planned' is the team's own stereotype, such as «planned», on the Pay later ViewContainer and on the Event that leads there. Clause 7.3 allows extending those two, but not flows. The other option is an Annotation. Nothing marks what is reachable only through Pay later, so each element is marked by hand. |
|---|
| An old page that stays | Built inThe legacy flag: a tab with the letter L (no glyph yet).The 'legacy' flag (flags: [legacy]) gives Bank transfer a dotted border and a tab showing the letter "L". The flag has no glyph designed yet, the spec lists it as pending, and whether it propagates is still open. | WorkaroundA color, a sticky note or a tag, by team convention.A color, a sticky note ('Old page. Keep it' in our drawing), or a Miro tag the team names 'legacy'. Miro tags go only on sticky notes and cards, not on shapes, and the reader has to know the team's convention. | WorkaroundA classDef, explained in a legend.A classDef (for example a gray fill) set with class or :::, explained in a legend. Our version only writes "(legacy)" in the label. | WorkaroundA styled stereotype, with a legend line.The same mechanism: a <<legacy>> stereotype styled with a thick brown border, and a legend line that says what it means. | WorkaroundA team-defined stereotype on the ViewContainer; IFML has no status.IFML has no status attribute, so 'legacy' is the team's own stereotype on the Bank transfer ViewContainer (clause 7.3), or a note in an Annotation. A reader or tool has to know what the stereotype means. |
|---|
| Trace to a requirement and its test | Built inThe trace key: typed links, in the model and the hover text.The 'trace' key holds typed links (trace: [req:PAY-04, test:e2e/checkout.spec.ts]), kept as a list in the model and shown only in SVG hover text, not in the drawing. The module does not check that the links resolve. | WorkaroundA link on the box; nothing says which is the requirement or the test.A link on the box: Miro's item link or a link in the box text, or Figma Dev Mode dev resources on a layer. Nothing marks one link as the requirement and another as the test. | WorkaroundOne click link per node; the test goes in the tooltip or a comment.click confirmed href "URL" "tooltip" puts one link and a tooltip on a node, so the requirement can be the link; the test file goes in the tooltip text or a %% comment. | WorkaroundLinks in the label text; only the text says which is which.Creole links in the label, [[req:PAY-04]] and [[test:e2e/checkout.spec.ts]], become links (<a href>) in the SVG; with a real URL they would open the item. Only the text says which is a requirement and which a test. | WorkaroundNo trace link; an Annotation or a team-defined tagged value holds it.IFML has no trace link. By default the requirement and the test go in an Annotation, whose only attribute is its text. A team can make them tagged values of its own stereotype on Order confirmed (clause 7.3), and an IFML model kept in UML form (clause 11) can also use UML's «Trace» dependency; either way only a convention says which link is the requirement and which is the test. |
|---|
| Permanent ids | Built inunique_id, written once by -populate_ids; a duplicate is an error.The 'unique_id' key: 11 random hex digits that -populate_ids writes into the file once in place of {{auto}} (bd51a9c2824 on Order confirmed); a duplicate is a syntax error and a malformed one a warning. "Never changes" cannot be checked from one file, the id shows only in hover text and the model, and arrows have none. | Built inThe tool's own object ids: not chosen, not shown, new if redrawn.The tool gives every object an id: a Figma node id such as 1:3, which file links carry as node-id, or a Miro item id 'assigned automatically upon creation'. Tickets can link to a box this way, but you cannot choose the id, the drawing does not show it, and a box drawn again gets a new one. | WorkaroundNode and edge ids you write; keeping them stable is a convention.Every node has an id written in the file (checkout, authorize), and links can have one (e1@-->). The id is also the name every link uses, so keeping it unchanged is a team convention: Mermaid does not generate one, and writing an id again reuses the node instead of reporting a duplicate. | Note onlyActions take no id; only a comment can hold one.An action is written :text; and takes no id or alias; swimlanes do, as in |f| fisherman. A permanent id can only be text PlantUML ignores: here a comment, ' unique id bd51a9c2824 - do not change. | Built inEvery element, flows included, has a required id in the model.Element.id: String [1], 'for unequivocally identifying a model element', is inherited by every element, NavigationFlows included, and is saved in the XMI file. The spec does not say who assigns the id, and it does not forbid changing it; both are left to the tool. |
|---|
| Written as text | Built inPlain text from @startujn to @endujn.The journey is plain text from @startujn to @endujn, one statement per line, with comments; shared settings can come in through !include. The drawing and the model are both produced from that text. | WorkaroundNo text source; Miro and FigJam can import Mermaid text.The drawing has no text source of its own; Miro can keep a flowchart in sync with Mermaid code until it is switched to free-form, and FigJam turns pasted Mermaid into an editable drawing. Either way the text is Mermaid, and the sticky notes are not part of it. | Built inPlain text.Plain text in a .mmd file or a fenced code block, so it diffs and reviews like code. | Built inPlain text.The whole diagram is a plain-text file between @startuml and @enduml, so it can be diffed and reviewed like code. | WorkaroundNo text syntax; models are exchanged as XMI, an XML file that can be diffed.The spec defines a metamodel, a UML profile, a visual syntax and XMI, but no textual syntax; NamedElement mentions 'a concrete textual syntax' without defining one. Models are drawn in a modeling tool, and tools with model interchange conformance import and export them as XMI. XMI is XML, so a diff works, but it is the exchange format 'for tool portability', written by tools rather than by people. |
|---|
| Checked by a tool | Built inJourney rules, each warning with its line (module not public yet).The module (not public yet) checks journey rules, not only syntax: a view exit needs a trigger, a call takes no label, a handoff is left only by its resume arrows, and once a journey has a start every node must be reachable from it. Each warning names its line and handle, in a box under the drawing and in the model, and does not stop the drawing. | NoneNo checks of flow rules.Neither Figma, FigJam nor Miro documents a check of flow rules, such as whether every box can be reached or whether a branch has no exit. The canvas accepts any drawing, and there are no lines to name. | NoneSyntax only, with the line named.mermaid.parse() checks the syntax, and a syntax error names the line. A link to an id never declared just draws a new node, so no rule about the journey is checked. | NoneSyntax only, with the line named.PlantUML checks syntax and names the line of an error (--check-syntax; -stdrpt:2 prints file:line:error). It has no rules about the flow: an action after detach that nothing reaches still renders with no warning. | Built inTen OCL well-formedness rules; tools claiming abstract syntax conformance must check them.The metamodel defines ten OCL constraints beyond grammar, for example actionsCannotCallActions (an Action's events may not lead straight to another Action) and xorMustHaveADefaultParent. A tool claiming abstract syntax conformance, which model and diagram interchange conformance imply, must validate them, and a model can add its own Constraints. There is no reachability rule, and the spec does not say how a violation is reported; with no text file, the place would be a model element, not a line. |
|---|
| A machine-readable model | Built in--ujn-model writes a JSON model; a draft JSON Schema describes it.--ujn-model writes checkout.ujn.json next to the source, listing every node and arrow plus what the module works out: arrow roles such as call, reply and resume, failure marks, inherited flags, view behavior and warnings. A draft JSON Schema (proposal/ujn-model-v5.schema.json) validates the checkout model, but neither the schema nor the module is published yet. | Built inThe tool's API returns the shapes and lines as JSON.The REST APIs return the file or board as JSON, and Figma's API is described in a published OpenAPI spec: shapes such as DIAMOND or ELLIPSE, sticky notes, and connectors with the ids of the nodes they join. The model is of shapes and lines, so it tells screens from steps only as far as the drawing does. | WorkaroundOnly an internal, deprecated API; no published model schema.A tool can reach nodes and links only through mermaidAPI.getDiagramFromText(text).db, which the docs mark Internal and deprecated and which has no published schema. The public mermaid.parse() returns { diagramType, config }, and the published JSON schema covers configuration. | NoneNo model export for activity diagrams.PlantUML exports no model of an activity diagram: XMI export works only for class diagrams, SCXML is for state diagrams, and --vdx writes Visio drawing shapes. With the pinned build, --xmi and --scxml fail on this file and leave empty files. | Built inA MOF metamodel, with models and diagrams exchanged as XMI.The IFML metamodel is defined in MOF and published by OMG as machine-readable XMI: the metamodel itself, the UML profile, and diagram interchange. A model is exchanged as XMI, and a tool can claim model interchange conformance; diagram interchange (IFML DI) carries the drawing as well. |
|---|
| Where it runs today | As a PlantUML extension, in a local build that is not public yet. A Mermaid extension is planned.As a PlantUML extension, in a local build that is not public yet. A Mermaid extension is planned. | In the design tool: Figma, FigJam or Miro.In the design tool: Figma, FigJam or Miro. | On GitHub and GitLab, and in many editors and documentation tools.On GitHub and GitLab, and in many editors and documentation tools. | On the PlantUML server and command line, and through plugins in many editors and wikis.On the PlantUML server and command line, and through plugins in many editors and wikis. | In modeling tools such as WebRatio, Sparx Enterprise Architect and IFMLEdit.org.In modeling tools such as WebRatio, Sparx Enterprise Architect and IFMLEdit.org. |
|---|
| In total | Built in18of 18 parts | Built in5 Workaround9 Note only3 None1of 18 parts | Built in6 Workaround8 Note only3 None1of 18 parts | Built in5 Workaround8 Note only3 None2of 18 parts | Built in9 Workaround9of 18 parts |
|---|