Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flow update: favor repo sample screenshots #109

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 13 additions & 6 deletions Flow.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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`)
Another interactive [example to understand the use of Flows](https://github.com/Beeblerox/Simplest-Heaps-Examples/tree/master/20_heaps_flow)