CirclePack#
- CirclePack(internal, external)#
Find a circle packing for the given data. The two arguments should be dictionaries with disjoint keys; the keys of the two arguments are identifiers for circles in the packing. The internal argument maps each internal circle to its cycle of surrounding circles; the external argument maps each external circle to its desired radius. The return function is a mapping from circle keys to pairs (center,radius) where center is a complex number.