treilik / bubbleboxer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bubbleboxer πŸ₯Š - compose bubbles into boxes πŸ“¦

A way to compose multiple bubbles into one layout.

To layout the bubbles with bubbleboxer, one would construct a layout-tree 🌲. Each node holds a arbitrary amount of children as well as the orientation (horizontal/vertical) and the spacing of them. Each leaf is linked (via an address) to one Model which satisfies the bubbletea Model-interface. With this address one can access this Models and change them independently from the layout-tree.

 1β•­>list of something β”‚ some    0 β”‚ a                       V
  β”‚ ----------------- β”‚ status  1 β”‚  text                  / \
 2β”œ which you may     β”‚ infor-  2 β”‚   logo                /   \
  β”‚ edit as you wish  β”‚ mation  4 β”‚    even!             H    l5
 3β”œ or just use it    β”‚           β”‚                     / \
 4β”œ to display        β”‚ l2        β”‚ l3                 /   \
 5β”œ and scroll        │──────────────────────         l1    V
                      β”‚ Maybe here is a                    / \
                      β”‚ note written to each              /   \
                      β”‚ list entry, in a                 H    l4
                      β”‚ bubbles viewport.               / \
                      β”‚                                /   \
 l1                   β”‚ l4                            l2   l3
─────────────────────────────────────────────
 maybe a progressbar or a command input? 100% 

 l5

// TODO write about the need for embedding boxer into a other model and about nobordernodes beeing non recursive

LICENSE

MIT

About

License:MIT License


Languages

Language:Go 100.0%