[Parley] Flowchart layout direction: Add left-to-right option
Resolved 💬 3 comments Opened Dec 12, 2025 by LordOfMyatar Closed Jan 14, 2026
Summary
The native flowchart view currently displays the dialog tree top-to-bottom (root at top). Users prefer root node on the left with conversation flowing left-to-right.
Technical Details
- AvaloniaGraphControl uses MSAGL (Microsoft Automatic Graph Layout) internally
- MSAGL supports
LayerDirection.LRviaSugiyamaLayoutSettings.Transformation = PlaneTransformation.Rotation(Math.PI / 2) - AvaloniaGraphControl (v0.6.1) does NOT expose this property
Potential Solutions
- Fork AvaloniaGraphControl - Add
LayerDirectiondependency property that maps to MSAGL settings - Submit upstream PR - Request this feature in https://github.com/Oaz/AvaloniaGraphControl
- Custom layout adapter - Override the layout generation in FlowchartGraphAdapter
References
- MSAGL LayerDirection: https://csharp.hotexamples.com/examples/Microsoft.Msagl.Layout.Layered/SugiyamaLayoutSettings/-/php-sugiyamalayoutsettings-class-examples.html
- AvaloniaGraphControl: https://github.com/Oaz/AvaloniaGraphControl
Epic
Part of Epic #325 - Native Flowchart View
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗