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 条
  • [41] Constraint-based facial animation
    Ruttkay Z.
    [J]. Constraints, 2001, Kluwer Academic Publishers (06) : 85 - 113
  • [42] Constraint-based qualitative simulation
    Apt, KR
    Brand, S
    [J]. 12TH INTERNATIONAL SYMPOSIUM ON TEMPORAL REPRESENTATION AND REASONING, PROCEEDINGS, 2005, : 26 - 34
  • [43] Constraint-based landmark localization
    Stroupe, AW
    Sikorski, K
    Balch, T
    [J]. ROBOCUP 2002: ROBOT SOCCER WORLD CUP VI, 2003, 2752 : 8 - 24
  • [44] A distributed constraint-based scheduler
    Lamma, E
    Mello, P
    Milano, M
    [J]. ARTIFICIAL INTELLIGENCE IN ENGINEERING, 1997, 11 (02): : 91 - 105
  • [45] Constraint-Based Visual Generation
    Marra, Giuseppe
    Giannini, Francesco
    Diligenti, Michelangelo
    Gori, Marco
    [J]. ARTIFICIAL NEURAL NETWORKS AND MACHINE LEARNING - ICANN 2019: IMAGE PROCESSING, PT III, 2019, 11729 : 565 - 577
  • [46] Constraint-based watermarking technique for hard IP core protection in physical layout design level
    Ni, M
    Gao, ZQ
    [J]. 2004: 7TH INTERNATIONAL CONFERENCE ON SOLID-STATE AND INTEGRATED CIRCUITS TECHNOLOGY, VOLS 1- 3, PROCEEDINGS, 2004, : 1360 - 1363
  • [47] Quick and clean: Constraint-based
    Mackworth, AK
    [J]. INTERNATIONAL CONFERENCE ON IMAGE PROCESSING, PROCEEDINGS - VOL II, 1996, : 789 - 792
  • [48] Constraint-based flexible workflows
    Wainer, J
    Bezerra, FD
    [J]. GROUPWARE: DESIGN, IMPLEMENTATION, AND USE, 2003, 2806 : 151 - 158
  • [49] CONSTRAINT-BASED TILED WINDOWS
    COHEN, ES
    SMITH, ET
    IVERSON, LA
    [J]. IEEE COMPUTER GRAPHICS AND APPLICATIONS, 1986, 6 (05) : 35 - 45
  • [50] Negotiation in constraint-based design
    Kusiak, A
    Wang, J
    He, DW
    [J]. JOURNAL OF MECHANICAL DESIGN, 1996, 118 (04) : 470 - 477