# Visualizing Flows Between Parts

**URL:** <https://forum.sensmetry.com/t/visualizing-flows-between-parts/548>\
**Category:** How-to Guides\
**Tags:** modeler\
**Created:** [August 10, 2026, 9:11pm UTC](https://forum.sensmetry.com/t/visualizing-flows-between-parts/548 "2026-08-10T21:11:01Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![DavidHetherington](https://yyz2.discourse-cdn.com/flex008/user_avatar/forum.sensmetry.com/davidhetherington/32/347_2.png) [@DavidHetherington](https://forum.sensmetry.com/u/DavidHetherington)\
**Post date:** [August 10, 2026, 9:11pm UTC](https://forum.sensmetry.com/t/visualizing-flows-between-parts/548/1 "2026-08-10T21:11:01Z")

</div>

Next step: Visualizing a flow between parts. I have a fairly simple model of a car. It has a drivetrain which in turn has an engine, an alternator, and a battery. The engine in turn has a crankshaft. My model attempts to show a flow of torque from the crankshaft to the alternator and a flow of electricity from the alternator to the battery. I am expecting something like the first example in Table 14 of the standard, but with two flows between three parts.

The text syntax shows no problems in Syside Modeler.

Using the context menu to visualize the view in Tom Sawyer, I can see the ports with arrows in and out, but no connections.

Using to new viz visualizer, I get a nice looking flow, but only one, not two. Also no ports.

Have I missed something? Or is this simply the limit of development of Tom Sawyer and viz?

 ![2026-08-10_15-06-43 - Tom Sawyer Flows Not Shown](https://canada1.discourse-cdn.com/flex008/uploads/syside/original/1X/22c69927348d85f405192ce14c146ea722e0442c.png)

 ![2026-08-10_16-04-42 - Table 14 from the Standard](https://canada1.discourse-cdn.com/flex008/uploads/syside/original/1X/789000cdc7bb09794120ed2684c8478502789f81.png)

[Car.sysml](https://forum.sensmetry.com/uploads/short-url/r2JzKdXyHyza2JjZHOWObsth6Vp.sysml) (886 Bytes)

 ![diagram-'Car Interconnection View'](https://canada1.discourse-cdn.com/flex008/uploads/syside/original/1X/78902be4b5364965212105b46ae6231eb6772a0e.svg)

---

<div class="post-metadata">

**Author:** ![Adam\_Layne](https://yyz2.discourse-cdn.com/flex008/user_avatar/forum.sensmetry.com/adam_layne/32/230_2.png) [@Adam\_Layne](https://forum.sensmetry.com/u/Adam_Layne)\
**Post date:** [August 11, 2026, 1:11am UTC](https://forum.sensmetry.com/t/visualizing-flows-between-parts/548/2 "2026-08-11T01:11:06Z")

</div>

Hi David,

`out Torque;` doesn’t declare a feature typed by your `Torque` item def, it declares a new untyped feature _named_ `Torque`. Syside can show you this directly: with inlay hints on, the line displays as `out ref Torque :> things;` which has no relation to your item def at all. What you want is:

```sysml
part Crankshaft {
    out item torqueOut : Torque;
}

```

Second, flow ends should be the directed features, not the parts. The grammar treats the last segment of each end as the output/input feature, so `from Engine.Crankshaft to Alternator` claims `Crankshaft` is an output feature of `Engine`. The Table 14 of yours does this too: `flow action1.item1 to action2.item1;`. So:

```sysml
flow of Torque from Engine.Crankshaft.torqueOut to Alternator.torqueIn;
flow of Electricity from Alternator.electricityOut to Battery.electricityIn;

```

Beyond that, you did find a bug: flows whose ends cross a nesting level (like `Engine.Crankshaft.torqueOut`) aren’t drawn correctly. It’s filed and will be fixed in a forthcoming version. Thanks for the clean example!

When a diagram surprises you, check the hover/inlay hints on the suspicious declaration first; the resolved form distinguishes “the model doesn’t say what I meant” from “the tool can’t draw it” in seconds. For the language side, the flows chapter of _The SysML v2 Book: Practical Insights and Comprehensive Reference_ (Weilkiens & Molnár) and spec §7.16 are the references we lean on; more in [this reading list](https://forum.sensmetry.com/t/419).

Adam Layne, PhD

---

<div class="post-metadata">

**Author:** ![DavidHetherington](https://yyz2.discourse-cdn.com/flex008/user_avatar/forum.sensmetry.com/davidhetherington/32/347_2.png) [@DavidHetherington](https://forum.sensmetry.com/u/DavidHetherington)\
**Post date:** [August 11, 2026, 4:12pm UTC](https://forum.sensmetry.com/t/visualizing-flows-between-parts/548/3 "2026-08-11T16:12:57Z")

</div>

[Car.sysml](https://forum.sensmetry.com/uploads/short-url/rRVxtXPfH4r467fE2e5nCBaSg23.sysml) (991 Bytes)

Adam,

Thanks for the guidance. Of course, I am working of both the standard and the Weilkiens/Molnar book. However, the sections in question are not very readable for normal engineers.

(Which is exactly why the Asatte Press team is testing step-by-step to identify easier to understand examples).

I implemented exactly as you suggested … with interesting results:

Tom Sawyer got better. Layout is a bit awkward, but at least the connections are correct. This is from right-clicking on the view in SysIDE modeler and selecting visualize view.

 ![2026-08-11 - Tom Sawyer Renders View, Awkwardly](https://canada1.discourse-cdn.com/flex008/uploads/syside/original/1X/6d78aff9b4d2bc40d8de16aad8a896716f531e99.svg)

Sensmetry’s in-house render went backward - no connections shown at all:

 ![2026-08-11 - diagram-'Car Interconnection View'](https://canada1.discourse-cdn.com/flex008/uploads/syside/original/1X/e49a06ea18f9d604ba6a170c50d0773fa24457e4.svg)  
This was generated with this command:

```
syside viz view Car.sysml --output-dir diagrams

```

CATIA nailed it perfectly. Albeit after regenerating the diagram in the tool. None of the diagram-first tools seem to be able to import views at all.

 ![2026-08-11 - CATIA Renders View Perfectly](https://canada1.discourse-cdn.com/flex008/uploads/syside/original/1X/1e3710e6125c8dc497e6e1bd9933bcf265e2928b.svg)

Thanks!

David Hetherington

---

<div class="post-metadata">

**Author:** ![DavidHetherington](https://yyz2.discourse-cdn.com/flex008/user_avatar/forum.sensmetry.com/davidhetherington/32/347_2.png) [@DavidHetherington](https://forum.sensmetry.com/u/DavidHetherington)\
**Post date:** [August 11, 2026, 9:10pm UTC](https://forum.sensmetry.com/t/visualizing-flows-between-parts/548/4 "2026-08-11T21:10:03Z")

</div>

More news… Just rendering the model (not the interconnection view) in viz produces a correct result.

Using this command:

syside viz element Car.sysml --name “CarTestModel::Car” -o Car.svg

I get this result (which is very nice)🙂

 ![Car](https://canada1.discourse-cdn.com/flex008/uploads/syside/original/1X/54e66e770b04573115241a42bca8913e53e26740.svg)

---

<div class="post-metadata">

**Author:** ![Adam\_Layne](https://yyz2.discourse-cdn.com/flex008/user_avatar/forum.sensmetry.com/adam_layne/32/230_2.png) [@Adam\_Layne](https://forum.sensmetry.com/u/Adam_Layne)\
**Post date:** [August 12, 2026, 2:41am UTC](https://forum.sensmetry.com/t/visualizing-flows-between-parts/548/5 "2026-08-12T02:41:28Z")

</div>

Happy that you got an acceptable diagram using `viz`. I’m keeping an eye on the bugfix progress as well.
