Supercharge Your Innovation With Domain-Expert AI Agents!

Automatic flow chart layout method based on html5

An automatic layout and flowchart technology, applied in the Internet field, can solve the problems of mutual coverage, cross-connection, disorganized layout, and limited manual layout, to achieve the effect of improving efficiency and simple implementation.

Active Publication Date: 2021-08-17
WHALE CLOUD TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Existing technical solutions generally draw the flow chart by manual layout, arrange the node positions of the flow chart by manual dragging, and connect the nodes by manual connection. The limitations are very large, and the layout arrangement is relatively chaotic. When the layout is complex, it is necessary to continuously adjust the layout manually to prevent nodes from covering each other and connecting lines from crossing each other. In addition, there may be nested scenes between nodes. When defining a for loop node At this time, the for loop node may nest a for loop node, and there will be situations that cannot be expressed by manual layout. Therefore, it is necessary to design an automatic layout method for flow charts based on html5

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
  • Automatic flow chart layout method based on html5
  • Automatic flow chart layout method based on html5
  • Automatic flow chart layout method based on html5

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] In order to further illustrate the various embodiments, the present invention provides accompanying drawings, which are part of the disclosure of the present invention, and are mainly used to illustrate the embodiments, and can be used in conjunction with the relevant descriptions in the specification to explain the operating principles of the embodiments, for reference Those of ordinary skill in the art should be able to understand other possible implementations and advantages of the present invention. The components in the figures are not drawn to scale, and similar component symbols are generally used to represent similar components.

[0035] According to an embodiment of the present invention, an html5-based flow chart automatic layout method is provided.

[0036] Now in conjunction with accompanying drawing and specific embodiment the present invention is further described, as Figure 1-2 As shown, according to the html5-based flowchart automatic layout method of t...

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 an automatic flow chart layout method based on html5. The method comprises the following steps: S1, dividing nodes in a flow chart; S2, setting a number adding button between adjacent nodes, and selecting nodes needing to be newly added by clicking the number adding button; S3, enabling the program code to generate a corresponding JS object numbered musical notation data structure through the position of the clicked number adding button, and completing the adding of newly-added nodes; S4, executing codes according to the generated JS object numbered musical notation data structure, and creating a hypertext markup language structure; S5, adopting a cascading style sheet to set styles of all nodes. The method has the beneficial effects that when the flow chart is drawn, the implementation mode is simple, the flow chart can be drawn only by relying on html labels and styles, and the specific coordinate position of each node does not need to be accurately calculated like canvas or svg, so the drawing efficiency is effectively improved.

Description

technical field [0001] The invention relates to the technical field of the Internet, in particular to an html5-based flow chart automatic layout method. Background technique [0002] In the development environment, test environment, and production environment, flow charts, architecture diagrams, and topology diagrams are the basic basis for system design, operation and maintenance, and play an important role in various fields of enterprises, especially in the technical field, such as displaying processes, architecture, etc.; Therefore, when necessary, these maps are generally drawn. Among them, HTML5 (Hyper Text Markup Language5, Hypertext Markup Language) is a language description method for constructing Web content, and a method for constructing and presenting Internet content. Language mode; considered to be one of the core technologies of the Internet; widely used in the development of Internet applications. Flowchart symbols are specially used for drawing. No matter wh...

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 Applications(China)
IPC IPC(8): G06F8/38G06F8/30G06F16/958
CPCG06F8/315G06F8/38G06F16/986
Inventor 戚付涛张林刘启铨
Owner WHALE CLOUD TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More