Closed abradd closed 5 months ago
In ae1abbb, Ic was fixed to respect pinspacing when size is also provided. It also adds a pinspacing
attribute to the Ic element, so that you can use this to get them to line up, even when pinspacing is set automatically:
ic = Ic(...)
BusConnect(dy=ic.pinspacing)
It should be possible to have the size automatically determined based on labels too - just like the flowchart elements can do now. But that will be another commit.
Autosize based on labels added: e66a7cb67bccd4b419794bfddae23b0a3097493a
With the following example code:
I get the following image:
There are two concerns with this image:
If I uncomment the the
size
parameter to produce an element with the necessary width I get:where the
pinspacing
parameter is ignored and pins are evenly distributed along the left side.Thanks