calcul size fig group base extensionpoint calcul bound sub fig consid minim size fig group need displai updat event fire us duplic method fig edit compart todo follow improv similar code fig edit compart param param param param updat fig group size ep vec fig size check size math max rowheight math max set bound includ fig iter fig ep vec fig iter fig skip ep big port fig fi fw fh yy fig fi fig fig fw fi minimum size width fh fi minimum size height check size fw fw fi set bound yy fw fh check size fw fw yy fh ep big port set bound calcul rectangl contain fig text object ep vec calc bound 