Tiling algebra for constraint-based layout editing

被引:6
|
作者
Zeidler, Clemens [1 ]
Weber, Gerald [1 ]
Gavryushkin, Alex [2 ]
Lutteroth, Christof [1 ,3 ]
机构
[1] Univ Auckland, 38 Princes St, Auckland 1010, New Zealand
[2] Swiss Fed Inst Technol, Mattenstr 26, CH-4058 Basel, Switzerland
[3] Univ Bath, Bath BA2 7AY, Avon, England
关键词
Algebra; GUI layout; Constraint-based layout model; Layout editing; Sound layouts;
D O I
10.1016/j.jlamp.2017.01.004
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
The constraint-based layout model is a very powerful model to describe a wide range of graphical user interface (GUI) layouts, based on linear constraints. However, the advantages of the constraint-based layout model come at a price: layout designers have to ensure layouts are sound, i.e., they are solvable and items in the layout do not overlap each other. Keeping a layout sound is non-trivial since editing one constraint may have undesirable effects on other constraints. In this article, we propose a new formalism for constraint-based layouts which we call a tiling algebra. Editing operations on layouts are specified algebraically, which guarantees that these operations keep a layout sound. We propose to model tiling operations with two operators that are isomorphic cancellative semigroup operators with involution if seen as binary operators. While these semigroup operators alone already cover an interesting subset of layouts, called fragments, we show that there are more involved layouts, such as the pinwheel layout, which cannot be modeled with these operators alone. For this reason we introduce a third operator which is isomorphic to a Boolean conjunction. Our approach helps to describe constraint-based layouts correctly and to make layout editing robust. We apply the proposed algebra to two real constraint-based systems, which illustrate how it can be used to support sound layout creation and modification. (C) 2017 Elsevier Inc. All rights reserved.
引用
收藏
页码:67 / 94
页数:28
相关论文
共 50 条
  • [1] Constraint-based document layout for the Web
    Borning, A
    Lin, RKH
    Marriott, K
    [J]. MULTIMEDIA SYSTEMS, 2000, 8 (03) : 177 - 189
  • [2] Constraint-based document layout for the Web
    Alan Borning
    Richard Kuang-Hsu Lin
    Kim Marriott
    [J]. Multimedia Systems, 2000, 8 : 177 - 189
  • [3] Comparing constraint-based motion editing methods
    Gleicher, M
    [J]. GRAPHICAL MODELS, 2001, 63 (02) : 107 - 134
  • [4] An algebra for semantic construction in constraint-based grammars
    Copestake, A
    Lascarides, A
    Flickinger, D
    [J]. 39TH ANNUAL MEETING OF THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS, PROCEEDINGS OF THE CONFERENCE, 2001, : 132 - 139
  • [5] Evaluating Direct Manipulation Operations for Constraint-Based Layout
    Zeidler, Clemens
    Lutteroth, Christof
    Stuerzlinger, Wolfgang
    Weber, Gerald
    [J]. HUMAN-COMPUTER INTERACTION - INTERACT 2013, PT II, 2013, 8118 : 513 - 529
  • [6] Constraint-Based Layout-Driven Sizing of Analog Circuits
    Habal, Husni
    Graeb, Helmut
    [J]. IEEE TRANSACTIONS ON COMPUTER-AIDED DESIGN OF INTEGRATED CIRCUITS AND SYSTEMS, 2011, 30 (08) : 1089 - 1102
  • [7] Topological enumeration heuristics in constraint-based space layout planning
    Medjdoub, B
    Yannou, B
    [J]. ARTIFICIAL INTELLIGENCE IN DESIGN '98, 1998, : 271 - 290
  • [8] Constraint-based spring-model algorithm for graph layout
    Kamps, T
    Kleinz, J
    Read, J
    [J]. GRAPH DRAWING, 1996, 1027 : 349 - 360
  • [9] An evolutionary approach to generating constraint-based space layout topologies
    Damski, JC
    Gero, JS
    [J]. CAAD FUTURES 1997, 1997, : 855 - 864
  • [10] Intelligent multimedia layout: a reference architecture for the constraint-based spatial layout of multimedia presentations
    Graf, WH
    [J]. COMPUTER STANDARDS & INTERFACES, 1997, 18 (6-7) : 515 - 524