From 5e3df9e8c211c2403cdebc5379374d831c8f62c7 Mon Sep 17 00:00:00 2001 From: marcel euchner-martinez <88530062+marcelEuchnerMartinez@users.noreply.github.com> Date: Tue, 29 Oct 2024 09:07:01 +0100 Subject: [PATCH 1/2] Update Flow.md Favorizing the repo sample as more explanatory than my demos here --- Flow.md | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/Flow.md b/Flow.md index 2ee2dea..fb2ea3a 100644 --- a/Flow.md +++ b/Flow.md @@ -2,7 +2,16 @@ 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/ad2cbffb-9ca7-4a98-9454-ccf6f9396160) + + +## More code samples ### Demo 1 @@ -131,9 +140,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) From 691ba4287a4648cbf015d1ec4e6a282dc1a200d6 Mon Sep 17 00:00:00 2001 From: marcel euchner-martinez <88530062+marcelEuchnerMartinez@users.noreply.github.com> Date: Tue, 29 Oct 2024 09:10:37 +0100 Subject: [PATCH 2/2] better screenshot for texts --- Flow.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Flow.md b/Flow.md index fb2ea3a..34460b8 100644 --- a/Flow.md +++ b/Flow.md @@ -2,13 +2,14 @@ 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`). -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`) +(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/ad2cbffb-9ca7-4a98-9454-ccf6f9396160) +![flow + text resize](https://github.com/user-attachments/assets/23093524-35b9-4d38-9132-071bc6e5c5ed) + ## More code samples