Automatic Hierarchical Arrangement of Vector Designs
Abstract
We present a method that transforms an unstructured vector design into a logical hierarchy of groups of objects. Each group is a meaningful collection, formed by proximity in visual characteristics (like size, shape, color, etc.) and spatial location of objects and models the grouping principles designers use. We first simplify the input design by partially or completely flattening it and isolate duplicate geometries in the design (for example, repeating patterns due to copy and paste operations). Next we build the object containment hierarchy by assigning objects that are wholly enclosed inside the geometry of other objects as children of the enclosing parent. In the final clustering phase, we use agglomerative clustering to obtain a bottom-up hierarchical grouping of all objects by comparing and ranking all pairs of objects according to visual and spatial characteristics. Spatial proximity segregates far apart objects, but when they are identical (or near identical) designers generally prefer to keep (and edit) them together. To accommodate this, we detect near identical objects and group them together during clustering despite their spatial separation. We further restrict group formation so that z-order disturbances in the design keep the visual appearance unaffected for tightly-overlapping geometry. The generated organization is equivalent to the original design and the organization results are used to facilitate abstract navigation (hierarchical, lateral or near similar) and selections in the design. Our technique works well with a variety of input designs with commonly identifiable objects and structural patterns.
BibTeX
@inproceedings {10.2312:egs.20211016,
booktitle = {Eurographics 2021 - Short Papers},
editor = {Theisel, Holger and Wimmer, Michael},
title = {{Automatic Hierarchical Arrangement of Vector Designs}},
author = {Fisher, Matthew and Agarwal, Vineet and Beri, Tarun},
year = {2021},
publisher = {The Eurographics Association},
ISSN = {1017-4656},
ISBN = {978-3-03868-133-5},
DOI = {10.2312/egs.20211016}
}
booktitle = {Eurographics 2021 - Short Papers},
editor = {Theisel, Holger and Wimmer, Michael},
title = {{Automatic Hierarchical Arrangement of Vector Designs}},
author = {Fisher, Matthew and Agarwal, Vineet and Beri, Tarun},
year = {2021},
publisher = {The Eurographics Association},
ISSN = {1017-4656},
ISBN = {978-3-03868-133-5},
DOI = {10.2312/egs.20211016}
}