Visual programming graphic element auxiliary alignment method and device, electronic equipment and storage medium

By automatically aligning the positions of graphic elements, the problem of difficult alignment of graphic elements in existing technologies is solved, improving the efficiency of visual programming and user experience.

CN121858093APending Publication Date: 2026-04-14BEIJING SIFANG JIBAO ENG TECH +1
0 Cites 0 Cited by

Patent Information

Application Number
CN202512031358.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-12-30
Publication Date
2026-04-14

AI Technical Summary

Technical Problem

In existing visual programming, the drag-and-drop adjustment of graphic elements lacks auxiliary alignment functions, which requires users to try multiple times to place the graphic elements in the right position, affecting the programming experience and efficiency.

Method used

By acquiring the positions of the moving graphic element and the graphic element to be matched, the starting matching point group and the target matching point group are determined. The elements are automatically aligned based on the principle of pin priority and from near to far. The alignment line is displayed and the position of the graphic element is automatically adjusted when the distance is less than the threshold.

Benefits of technology

It enables rapid alignment of graphical components, improving the efficiency of visual programming and user experience.

✦ Generated by Eureka AI based on patent content.
Patent Text Reader

Abstract

The invention discloses a visual programming graphic element auxiliary alignment method and device and electronic equipment, and relates to the technical field of computer software, and the scheme comprises the steps: automatically determining an initial matching point group of a mobile graphic element and a target matching point group of a to-be-matched graphic element based on the positions of the mobile graphic element and the to-be-matched graphic element, and determining a first alignment point and a second alignment point based on pin priority and a principle from near to far, when the first alignment point and the second alignment point are aligned, determining that the moving graphic element is aligned with the graphic element to be matched, displaying an alignment line, and when the first alignment point and the second alignment point are not aligned, displaying the alignment line. Whether the distance between the first alignment point and the second alignment point in the first direction is smaller than an adsorption threshold value or not is judged, and when the distance is smaller than the adsorption threshold value, the movable graphic element is automatically moved to the target position in the second direction, so that the first alignment point and the second alignment point are aligned, and therefore developers can be assisted in rapidly adjusting the graphic position, and the graphic processing efficiency is improved. And the visual programming efficiency is improved.
Need to check novelty before this filing date? Find Prior Art