Interface layout file generation method, interface generation method, device and equipment

A technology of interface layout and files, which is applied in the computer field to improve the overall development efficiency and code accuracy, meet the actual application requirements, and reduce human operations and code writing effects
CN112015405AActive Publication Date: 2020-12-01TENCENT DIGITAL TIANJIN

Patent Information

Authority / Receiving Office
CN ยท China
Patent Type
Applications(China)
Current Assignee / Owner
TENCENT DIGITAL TIANJIN
Publication Date
2020-12-01

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention discloses an interface layout file generation method, an interface generation method, an interface layout file generation device and interface layout file generation equipment. The method comprises steps of obtaining interface elements of an interface design drawing; constructing a first structure tree corresponding to the interface design drawing; wherein the first structure tree comprises nodes used for representing the interface elements; analyzing the spatial layout relationship of the interface elements corresponding to the nodes in the first structure tree to obtain layoutelements used for representing the layout relationship between the interface elements; determining a target structure tree based on the layout elements and the first structure tree; and generating a corresponding interface layout file. The method is advantaged in that manual operation and code writing can be reduced, overall development effect efficiency and code accuracy are improved, and actualapplication requirements are met.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The present invention relates to the field of computer technology, in particular to a method for generating an interface layout file, an interface generating method, a device and equipment. Background technique

[0002] In the graphical user interface development process, usually the designer first designs the user interface (UI) design draft, and then the developer writes the code according to the design draft, and then uses the written code to layout the interface elements in the design draft to the front end, so as to Implement the generation of the user interface. However, traditional user interface layout methods often require developers to manually write codes to layout interface elements, and the layout of interface elements also depends on the developer's layout experience. The defects that lead to low code accuracy cannot meet the actual application requirements. Contents of the invention

[0003] The present invention provides a method fo...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More