bluefishjs / bluefish-archive

A SolidJS diagramming framework
https://bluefishjs.org
MIT License
75 stars 4 forks source link

Rename Row/Col to HStack/VStack (and add Stack) #18

Closed joshpoll closed 1 year ago

joshpoll commented 1 year ago

In our user testing, Row and Col were confusing b/c they conflict with the flexbox row option, where items placed in each row are implicitly stacked on top of each other. HStack and VStack (as adopted by e.g. SwiftUI and tldraw) sidesteps this problem, because Stack doesn't have the same connotations.

Additionally, it lets us introduce a direction-agnostic Stack component that is a direct combination of Align and Distribute.