diff --git a/Flow.md b/Flow.md index 2ee2dea..34460b8 100644 --- a/Flow.md +++ b/Flow.md @@ -2,7 +2,17 @@ The [`h2d.Flow` class](https://heaps.io/api/h2d/Flow.html) allows to properly *arrange* [child objects](https://heaps.io/documentation/object-trees.html) (`h2d.Object`). -## A first glance at Flows +(The most detailed sample can be found [in our repository](https://github.com/HeapsIO/heaps/blob/master/samples/Flows.hx), which you'll also find on your local machine: `HaxeToolkit\haxe\lib\heaps\git\samples\Flows.hx`) + +![3 flows with text inline inside 3 flows column](https://github.com/user-attachments/assets/e3dd5e0b-f0c8-48bb-8c01-328058e57f63) + +Flows can also rearrange text: + +![flow + text resize](https://github.com/user-attachments/assets/23093524-35b9-4d38-9132-071bc6e5c5ed) + + + +## More code samples ### Demo 1 @@ -131,9 +141,6 @@ class FlowsDemo2 extends hxd.App { } ``` -## More samples - -There are other samples you can look at and learn from: +### Demo 3 -- Another interactive [example to understand the use of Flows](https://github.com/Beeblerox/Simplest-Heaps-Examples/tree/master/20_heaps_flow) -- The most detailed sample at this moment can be found [in our repository](https://github.com/HeapsIO/heaps/blob/master/samples/Flows.hx) (which you'll also find on your local machine: `HaxeToolkit\haxe\lib\heaps\git\samples\Flows.hx`) \ No newline at end of file +Another interactive [example to understand the use of Flows](https://github.com/Beeblerox/Simplest-Heaps-Examples/tree/master/20_heaps_flow)