Unlock instant, AI-driven research and patent intelligence for your innovation.

A tree data rendering method, device, equipment and medium

A data rendering and data technology, applied in the field of page rendering, can solve problems such as the performance degradation of massive tree topology data rendering

Active Publication Date: 2021-09-14
TENCENT TECH (SHENZHEN) CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In order to solve the technical problem in the prior art that the rendering performance of massive tree-shaped topology data is severely degraded, the embodiments of the present invention provide a tree-shaped data rendering method, device, equipment, and medium

Method used

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
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A tree data rendering method, device, equipment and medium
  • A tree data rendering method, device, equipment and medium
  • A tree data rendering method, device, equipment and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0032] It should be noted that the terms "first" and "second" in the description and claims of the present invention and the above drawings are used to distinguish similar objects, but not necessarily used to describe a specific sequence or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances such that the embodiments of the invention described herein can be practiced in sequences other than those illustrate...

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

PUM

No PUM Login to View More

Abstract

The invention discloses a tree-shaped data rendering method, device, equipment and medium. The method includes acquiring first data with a tree topology, and each node of the first data corresponds to an attribute set; acquiring a target node set , add a depth attribute to the attribute set corresponding to each node in the target node set, and the corresponding value of the depth attribute of the depth attribute is determined by the tree topology corresponding to the first data; extract each node in the target node set attribute collection to construct the second data with the target topology, the target topology is a topology structure that does not contain an inheritance relationship; set the indentation of the node according to the corresponding value of the depth attribute of each node in the second data, and set the indentation amount of the node according to the The second data is rendered according to the indent amount and the target topology. The present invention performs secondary modeling based on the data of the tree topology to obtain the data of a flat structure, thereby improving the rendering speed on the premise of keeping the tree rendering result unchanged.

Description

technical field [0001] The present invention relates to the field of page rendering, in particular to a tree data rendering method, device, equipment and medium. Background technique [0002] Among the front-end components in the prior art, the components (such as Ant Design, Element UI) that can be used to display the tree topology have adopted a Document Object Model (Document Object Model, DOM) that is compatible with the tree topology. In the DOM, you can To represent the tree topology, you only need to use the front-end components that can render the tree topology to achieve the purpose of displaying the tree topology. Please refer to Figure 1 (1), which shows a screenshot of the official document of Ant Design, from which it can be clearly seen that the data model it uses is a tree topology. Please refer to Figure 1(2), which shows the rendering result corresponding to the official document of Ant Design. Obviously, the rendering result also has a tree topology. Taki...

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

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F8/38G06F16/901G06F16/957
CPCG06F8/38G06F16/9027G06F16/9574G06F16/9577
Inventor 杜佳高飞宇
Owner TENCENT TECH (SHENZHEN) CO LTD