elkjs
elkjs copied to clipboard
constrain the diagram to fit a particular dimension width and height
hi,
is it possible to set a maximum height and width?
regards,c.
This is not directly possible using the layered
algorithm. You could try to set a layer bound when using the COFFMAN_GRAHAM
layering.strategy
to make the drawing wider or set layer constraints using partition.
hi @soerendomroes thank you for your reply
1st approach was already suffice for me thanks a lot!
2nd approach looks more complex. i'll look into that
regards,c.