elkjs
elkjs copied to clipboard
Question about alignment
Hi,
I wonder what's the difference between alignment and contentAlignment ? They seem to fail to work in some cases(eg. alignment: CENTER fails to make the nodes align), is there any precondition for them to take effect, or maybe some options can override them?
Thanks!
alignment positions nodes appropriately inside the layer bonds as seen here.
contentAlignment works for the content, as seen here.
Thanks! that's much more clear to me