ULDGNN: A Fragmented UI Layer Detector Based on Graph Neural Networks

08/13/2022
by   Jiazhi Li, et al.
0

While some work attempt to generate front-end code intelligently from UI screenshots, it may be more convenient to utilize UI design drafts in Sketch which is a popular UI design software, because we can access multimodal UI information directly such as layers type, position, size, and visual images. However, fragmented layers could degrade the code quality without being merged into a whole part if all of them are involved in the code generation. In this paper, we propose a pipeline to merge fragmented layers automatically. We first construct a graph representation for the layer tree of a UI draft and detect all fragmented layers based on the visual features and graph neural networks. Then a rule-based algorithm is designed to merge fragmented layers. Through experiments on a newly constructed dataset, our approach can retrieve most fragmented layers in UI design drafts, and achieve 87 detection task, and the post-processing algorithm is developed to cluster associative layers under simple and general circumstances.

READ FULL TEXT

page 6

page 7

page 10

research
12/07/2022

UI Layers Group Detector: Grouping UI Layers via Text Fusion and Box Attention

Graphic User Interface (GUI) is facing great demand with the popularizat...
research
05/13/2020

Towards Better Graph Representation: Two-Branch Collaborative Graph Neural Networks for Multimodal Marketing Intention Detection

Inspired by the fact that spreading and collecting information through t...
research
08/25/2021

Tree Decomposed Graph Neural Network

Graph Neural Networks (GNNs) have achieved significant success in learni...
research
04/06/2021

Attentional Graph Neural Network for Parking-slot Detection

Deep learning has recently demonstrated its promising performance for vi...
research
03/24/2021

deGraphCS: Embedding Variable-based Flow Graph for Neural Code Search

With the rapid increase in the amount of public code repositories, devel...
research
07/28/2020

Multi-camera Torso Pose Estimation using Graph Neural Networks

Estimating the location and orientation of humans is an essential skill ...
research
07/06/2015

Visual Data Deblocking using Structural Layer Priors

The blocking artifact frequently appears in compressed real-world images...

Please sign up or login with your details

Forgot password? Click here to reset