Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

If the node label is to be placed inside of the node, the insets are adjusted to reserve space for it. The label cannot be placed just yet since we don't necessarily know the node's final size at this point. Only node labels placed at the top left of the node could be placed, since the node's size doesn't influence them.

...

Resize Node

...

With the insets calculated, this step ensures resizes the node, ensuring that the node size constraints are met. If the node is to have a minimum size, it may be resized accordingly, for instance. If ports are to be taken into account for the size calculation, the node size is adjusted to accommodate for its ports.

...