Patent ID: 8489986
Filing Date: 2013-07-16
Classification: G06T

Abstract:
1. A method for correcting a position of a shape within a diagram comprising a plurality of shapes, the method comprising: receiving a layout correction request; creating a dependency tree that defines parent and child relationships between the plurality of shapes and associations between the plurality of shapes according to physical positions of the plurality of shapes in the diagram by, for each shape of the plurality of shapes, determining whether the shape virtually overlaps a parent or a sibling; determining a positional relationship between the plurality of shapes based on a current layout of the plurality of shapes; determining positional offsets between each of the plurality of shapes and a corresponding dependent shape according to the associations defined by the dependency tree; and repositioning the shape to a new location within the diagram according to layout rules corresponding to the layout correction request, the positional relationship between the plurality of shapes, and the positional offsets between each of the plurality of shapes and the corresponding dependent shape, the layout rules comprising instructions for positioning the plurality of shapes to comply with the layout correction request.