timdp / swirly

A marble diagram generator.
https://swirly.dev
MIT License
118 stars 3 forks source link

Operator box width #4

Closed niklas-wortmann closed 2 years ago

niklas-wortmann commented 4 years ago

Right now the Operator Box width is automatically set according to the width of the observables. At least that's what it looks like?!

It could be handy to specify the width for that, for Example for EMPTY

timdp commented 4 years ago

Yeah, this is a todo. I'm pretty sure it can already be achieved by setting duration on the stream in the parsed diagram object though. (Or via the CLI by using YAML input instead of text.)

timdp commented 2 years ago

You can now set minimum_width and minimum_height styles. Operators will stretch to fill the full width.