A strictly callable NodeSize
compute the node size of a graph node
the node to get the size of
dimensions - the width and height of node
node
A strictly callable NodeSize