Decoration flow chart processing method and device, equipment and medium

By inserting the predecessor nodes and connection anchors of the target renovation node into the renovation flowchart, a target flowchart that meets the user's needs is generated, which solves the problem that the renovation flowchart in the existing technology is difficult to display the actual renovation plan, and realizes a clear display of the renovation process and resource optimization.

CN121920801APending Publication Date: 2026-04-24KE COM (BEIJING) TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
KE COM (BEIJING) TECHNOLOGY CO LTD
Filing Date
2025-12-23
Publication Date
2026-04-24

AI Technical Summary

Technical Problem

Existing renovation flowcharts fail to clearly illustrate users' actual renovation plans, making it difficult for project management and construction personnel to fully grasp the renovation process, which may lead to project delays and cost overruns.

Method used

This paper provides a method for processing decoration flowcharts. By obtaining a basic flowchart, responding to node insertion operations, determining the predecessor nodes and connection anchors of the target decoration node, dynamically inserting the target decoration node, and generating a target flowchart that meets the user's needs.

Benefits of technology

The generated target flowchart can intuitively and clearly show the decoration nodes, helping project management and construction personnel to optimize the schedule and resource allocation, and avoid delays and cost overruns.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121920801A_ABST
    Figure CN121920801A_ABST
Patent Text Reader

Abstract

The embodiment of the invention relates to a decoration flow chart processing method and device, equipment and a medium, and the method comprises the steps: obtaining and displaying a basic flow chart of a decoration flow, and the basic flow chart comprises a plurality of basic decoration nodes; in response to the node insertion operation, determining a front node of a target decoration node in the plurality of basic decoration nodes, and determining a connection anchor point; and according to the front nodes and the connecting line anchor points, inserting the target decoration nodes in the basic flow chart to obtain a target flow chart. According to the scheme, the target decoration nodes are added to the appropriate positions in the appropriate connection mode based on the front nodes, the connection anchor points and the like, so that the generated target flow chart can conform to the actual decoration construction plan of a user, and the decoration nodes can be visually and clearly displayed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of decoration technology, and in particular to a method, apparatus, equipment and medium for processing decoration flowcharts. Background Technology

[0002] In the construction and decoration industry, the decoration process typically involves multiple complex stages. A decoration flowchart can represent the decoration stages included in the overall decoration and the execution sequence of these stages. In related technologies, the decoration flowcharts displayed in existing project management tools are usually fixed. However, due to the complexity and diversity of decoration and the flexibility of users' actual needs, such fixed decoration flowcharts are difficult to clearly show the decoration stages that match the user's actual decoration plan. Summary of the Invention

[0003] In order to solve the above-mentioned technical problems, or at least partially solve the above-mentioned technical problems, this disclosure provides a method, apparatus, equipment and medium for processing decoration flowcharts.

[0004] This disclosure provides a method for processing a decoration flowchart, including: Obtain and display a basic flowchart of the renovation process, which includes multiple basic renovation nodes; In response to the node insertion operation, the predecessor node of the target decoration node among the plurality of basic decoration nodes is determined, and the connection anchor point is determined; Based on the preceding node and the connecting anchor point, the target decoration node is inserted into the basic flowchart to obtain the target flowchart.

[0005] This disclosure also provides a device for processing a decoration flowchart, including: The acquisition module is used to acquire and display the basic flowchart of the decoration process, which includes multiple basic decoration nodes. The first determining module is used to determine the predecessor node of the target decoration node among the plurality of basic decoration nodes in response to the node insertion operation, and to determine the connection anchor point; An insertion module is used to insert the target decoration node into the basic flowchart based on the preceding node and the connection anchor point, so as to obtain the target flowchart.

[0006] This disclosure also provides an electronic device, the electronic device comprising: a processor; a memory for storing executable instructions of the processor; the processor being configured to read the executable instructions from the memory and execute the instructions to implement the processing method for the decoration flowchart provided in this disclosure.

[0007] This disclosure also provides a computer-readable storage medium storing a computer program for executing a processing method for a decoration flowchart as provided in this disclosure.

[0008] Compared with the prior art, the technical solution provided in this disclosure has the following advantages. The method for processing a decoration flowchart provided in this disclosure includes: acquiring and displaying a basic flowchart of the decoration process, the basic flowchart including multiple basic decoration nodes; responding to a node insertion operation, determining the predecessor node of the target decoration node among the multiple basic decoration nodes, and determining the connection anchor point; inserting the target decoration node into the basic flowchart based on the predecessor node and the connection anchor point to obtain the target flowchart. Using the above technical solution, the basic flowchart is displayed to the user, who can then perform a node insertion operation based on the basic flowchart, using existing nodes as predecessor nodes according to their own needs, and determine the connection anchor point. Based on the connection anchor point and the predecessor node, the target decoration node is added to the basic flowchart to obtain the target flowchart. Based on the predecessor node, connection anchor point, etc., the target decoration node is added to the appropriate position with an appropriate connection method, so that the generated target flowchart can not only conform to the user's actual decoration construction plan, but also intuitively and clearly display each decoration node. Attached Figure Description

[0009] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.

[0010] To more clearly illustrate the technical solutions in the embodiments of this disclosure or the prior art, the accompanying drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0011] Figure 1 This is a schematic flowchart illustrating a method for processing a decoration process diagram according to an embodiment of the present disclosure. Figure 2 A schematic diagram of a decoration node provided in an embodiment of this disclosure; Figure 3 This is a schematic diagram illustrating the setting of node attributes according to an embodiment of the present disclosure; Figure 4 A schematic flowchart illustrating another method for processing a decoration process flow chart provided in this embodiment of the present disclosure; Figure 5 A schematic diagram of an input anchor point and an output anchor point provided in an embodiment of this disclosure; Figure 6A schematic flowchart illustrating another method for processing a decoration process flow chart provided in this embodiment of the present disclosure; Figure 7 A schematic flowchart for determining a directed line is provided for a disclosed embodiment; Figure 8 A schematic diagram of an anchor point inflection point rule provided in an embodiment of this disclosure; Figure 9 A schematic flowchart illustrating another method for processing a decoration process flow chart provided in this embodiment of the present disclosure; Figure 10 A schematic diagram of a process for determining a redrawing flowchart provided in an embodiment of this disclosure; Figure 11 A schematic diagram of a device for processing a decoration flowchart provided in an embodiment of this disclosure; Figure 12 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this disclosure. Detailed Implementation

[0012] To better understand the above-mentioned objectives, features, and advantages of this disclosure, the solutions disclosed herein will be further described below. It should be noted that, unless otherwise specified, the embodiments and features described herein can be combined with each other.

[0013] In the construction and decoration industry, the decoration process typically involves multiple complex stages, including material selection, construction, and installation. Currently, existing project management tools often display fixed decoration flowcharts. Due to the complexity and diversity of decoration processes, as well as the variety of materials, rules, and installation techniques, these fixed flowcharts struggle to accurately represent the stages and their sequence within the entire decoration process that meet user needs. Furthermore, they fail to clearly and intuitively illustrate the dependencies between these stages. In such cases, project managers and construction workers struggle to fully grasp the decoration process, making it difficult to optimize schedules and resource allocation based on accurate flowcharts. Inaccurate or unclear flowcharts can even lead to project delays and cost overruns.

[0014] To address the aforementioned issues, this disclosure provides a method for processing a decoration flowchart, which will be described below with reference to specific embodiments.

[0015] Figure 1 This is a schematic flowchart illustrating a method for processing a decoration flowchart according to an embodiment of this disclosure. This method can be applied to a device for processing decoration flowcharts. The device can be implemented using software and / or hardware, and is generally integrated into an electronic device. Figure 1As shown, the processing method for this decoration flowchart includes: Step 101: Obtain and display the basic flowchart of the renovation process. The basic flowchart includes multiple basic renovation nodes.

[0016] The basic flowchart serves as the basis for inserting decoration nodes, acting as the foundation for user flowchart processing. This flowchart, displayed on the front-end interface, includes multiple decoration nodes and directed lines between them. These directed lines represent the execution order of the decoration nodes and may include time information recording how long after the previous node ends the next. Basic decoration nodes are those nodes within the basic flowchart. A decoration node can be a front-end business component abstracting decoration tasks from the decoration process, corresponding to a specific stage of the decoration. In some embodiments of this disclosure, the multiple basic decoration nodes may include multiple mandatory decoration nodes. These mandatory nodes are manually set nodes that must appear in the decoration flowchart, and may include one or more of the following: assigning a project manager, internal control, assigning a housekeeper, commencement briefing, technical briefing, water and electricity acceptance, tiling and carpentry acceptance, basic installation acceptance, and final acceptance. Alternatively, the basic decoration nodes may include multiple mandatory decoration nodes and decoration nodes already added by the user. In one alternative implementation, necessary renovation nodes can correspond to mandatory items in the renovation package, and selected renovation nodes can correspond to optional items in the renovation package.

[0017] Figure 2 This is a schematic diagram of a decoration node provided in an embodiment of the present disclosure, such as... Figure 2 As shown, area 201 displays a list of components. Activating a component in this list will display its corresponding decoration node on the canvas. Components under the "Basic Process" category in this list correspond to necessary decoration nodes. Components under the "Basic Decoration Process" category correspond to optional decoration nodes. Figure 2 Solid lines in the diagram represent the execution order of each renovation node under normal circumstances. The diagram can also include dashed lines, which can represent returning to a renovation node that has already been executed and re-executing it. For example, dashed lines can represent rework, rescheduling, etc.

[0018] In some embodiments of this disclosure, decoration nodes may have corresponding attributes, which can be configured through configuration files or user interface interactions. By configuring attributes, complex decoration tasks, material properties, etc., can be accurately mapped to the attributes of visual components.

[0019] In this embodiment, the attributes of a decoration node, or the attributes of its child nodes, may include one or more of the following: task duration, process dependency, mandatory, deletable, movable, composite node, node size, node color, node position, and restart rules. Task duration can include instantaneous duration or time-limited duration. Instantaneous duration indicates that the decoration task can be completed within one day, while time-limited duration indicates that the task can be completed within several days. Process dependency can include node dependency and condition dependency. Setting process dependency can restrict the execution of a decoration node to only after a specific decoration node is completed or a specific condition is met. Mandatory indicates whether the decoration node is required or optional. Deletable indicates whether the decoration node can be deleted individually after being added to the flowchart. Movable indicates whether the decoration node can be moved on the canvas. Composite node indicates whether the node is composed of multiple child nodes or a single node. Node size indicates the size of the decoration node, which may include the node's length and width. Node color can be the display color of the decoration node. Node position indicates the location of the decoration node on the canvas, which can be represented by coordinates. The restart rule can characterize the conditions for re-executing the decoration node.

[0020] In this embodiment of the disclosure, the processing device for the decoration flowchart can acquire a basic flowchart of the decoration process and display the basic flowchart, which includes multiple basic decoration nodes and directed lines between the decoration nodes.

[0021] Step 102: In response to the node insertion operation, determine the predecessor node of the target decoration node among multiple basic decoration nodes, and determine the connection anchor point.

[0022] The node insertion operation can be the insertion of a new decoration node into an existing flowchart. This embodiment does not limit this node insertion operation. The preceding node can be the previous decoration node of the target decoration node. The connection anchor point can be a fixed point on the edge of the decoration node used to connect directed lines. This connection anchor point can be used to draw a directed line from the preceding node to the target decoration node.

[0023] The target decoration node can be a decoration node to be inserted into the flowchart. In some embodiments of this disclosure, the target decoration node includes a set node, which includes multiple decoration child nodes and fixed directed lines between the decoration child nodes. A set node can be a front-end business component obtained by abstracting a decoration task that includes multiple sub-tasks. A sub-task can be a subdivided task of the decoration task. A decoration child node can be a front-end business component obtained by abstracting a sub-task of the decoration task. The fixed directed line can be a fixed directed line connecting decoration nodes at the starting point and decoration nodes at the ending point.

[0024] A collection node can include construction collection nodes and installation collection nodes. A construction collection node can be a collection node corresponding to worker work, and this collection node can be categorized by trade. An installation collection node can be a collection node corresponding to installation materials, and this collection node can be categorized by the type of material being installed. For example, a construction collection node can include one or more of the following: finished product protection work package, demolition work package, layout work package, plumbing and electrical work package, carpentry work package, flooring work package, tiling work package, painting work package, and auxiliary work package. A finished product protection work package can include finished product protection work assignment, finished product protection work dispatch, finished product protection work completion, and finished product protection work completion. An installation collection node can include one or more of the following: installation of thresholds, installation of integrated ceiling systems. When this collection node is connected to other decoration nodes via directed lines, the endpoints of the directed lines are connected to the child nodes of the connecting node.

[0025] In this embodiment, after browsing the basic flowchart, the user can perform a node insertion operation according to their own needs. In response to this node insertion operation, the processing device of the decoration flowchart determines the predecessor node of the target decoration node to be inserted from among multiple decoration nodes, and determines the anchor point connecting the predecessor node to the target decoration node.

[0026] Optionally, the node insertion operation may include triggering a target component in the component list and selecting a target decoration node. Alternatively, the node insertion operation may include setting a subsequent node for a basic decoration node.

[0027] In some embodiments of this disclosure, determining the predecessor node of the target decoration node among multiple basic decoration nodes includes: in response to a trigger operation on the target component in the component list, displaying the target decoration node at a preset position; in response to a selection operation on the target decoration node, selecting the basic decoration node corresponding to the operation among multiple basic decoration nodes and determining it as the predecessor node.

[0028] The component list can be a list of displayed components. Components can be visual options for decoration nodes. The target component can be the component corresponding to the target decoration node. Triggering operations can include, but are not limited to, mouse clicks, touch operations, etc. The preset position can be a pre-set position on the canvas; this embodiment does not limit the preset position. For example, the preset position can be the center of the canvas. The selection operation can be the operation of selecting the preceding node of the target decoration node.

[0029] In this embodiment, the user can click on a target component in the component list or drag the target component onto the canvas to trigger an operation on that target component. The processing device of the decoration flowchart responds to the trigger operation in real time and displays the target decoration node corresponding to the target component at a preset position on the canvas. The user can enable the predecessor node setting option for the target decoration node. Under this predecessor node setting option, multiple components corresponding to multiple basic decoration nodes that can be selected as predecessor nodes are displayed. The user can perform a selection operation on one of the multiple components. The processing device of the decoration flowchart responds to the selection operation and determines the basic decoration node corresponding to the selected component as the predecessor node of the target decoration node.

[0030] Optionally, other node attributes can also be set on the node settings page. Figure 3 This is a schematic diagram illustrating the setting of node attributes according to an embodiment of the present disclosure, such as... Figure 3 As shown, taking the bricklaying contract node in the bricklaying construction package as an example, one or more of the following can be set on the node settings page: process dependency, operation time, and restart rules.

[0031] In the above solution, the target decoration node is first added at a preset location, and then the predecessor node of the target decoration node is set, realizing the method of adding the node first and then setting the predecessor node.

[0032] In some embodiments of this disclosure, determining the predecessor node of the target decoration node among multiple basic decoration nodes includes: in response to the post-node setting operation of the basic decoration node, determining the basic decoration node as the predecessor node, and determining the post-node set by the post-node setting operation as the target decoration node.

[0033] The "Setting a Post Node" operation allows you to set a post node for a basic renovation node. A post node can be the next renovation node after the basic renovation node.

[0034] In this embodiment, the user can enable the post-node setting option for the basic decoration node. This option displays multiple candidate components, allowing the user to select a target component to perform the post-node setting operation for the basic decoration node. The decoration flowchart processing device responds to this post-node setting operation by identifying the basic decoration node as the preceding node and determining the post-node set by the post-node setting operation as the target decoration node.

[0035] In the above solution, the setting of subsequent nodes based on the basic decoration nodes realizes the simultaneous setting of the preceding nodes of the target decoration node when adding the target decoration node.

[0036] In some embodiments of this disclosure, a directed line connection operation can be performed manually between the preceding node and the target decoration node. In response to the connection operation, the decoration flowchart processing device can determine the output anchor point on the preceding node and the input anchor point on the target decoration node.

[0037] The anchor point for this connection can also be determined automatically. Figure 4 A schematic flowchart illustrating another method for processing a decoration process flow diagram provided in this embodiment of the present disclosure, as shown below. Figure 4 As shown, the connection anchor points include input anchor points and output anchor points. The input anchor point can be the starting point of a directed line on the target decoration node, and the output anchor point can be the ending point of a directed line on the preceding node. Determining the connection anchor points includes: Step 401: Determine the location to add the target decoration node.

[0038] The "Add Location" option allows you to specify the location of the target renovation node on the flowchart.

[0039] In some embodiments of this disclosure, determining the addition position of a target decoration node includes: in response to a first movement operation on the target decoration node, moving the target decoration node to a movement endpoint position, and determining the movement endpoint position as the addition position.

[0040] The first move operation can be an operation to adjust the position of a target decoration node that has not yet been added to the target flowchart. The move endpoint can be the position after the first move operation.

[0041] In this embodiment, the node insertion operation includes a trigger operation on the target component in the component list and a selection operation on the target decoration node. In this case, the target decoration node is initially displayed in a preset position. The user can perform a first movement operation on the target decoration node. The processing device of the decoration flowchart responds to the first movement operation by moving the target decoration node from the preset position to the movement endpoint position corresponding to the first movement operation, and determines the movement endpoint position as the addition position.

[0042] The above solution allows users to manually adjust the position of the target decoration node, satisfying users' viewing habits of the node layout in the flowchart.

[0043] In some embodiments of this disclosure, determining the addition position of the target decoration node includes: determining the addition position based on the position of the preceding node, a preset offset distance, and the size of the target decoration node.

[0044] The position of the preceding node can be its coordinates. The preset offset distance can be the distance by which the position of the target decoration node is offset. This preset offset position can correspond to the size of the preceding node. The larger the size of the preceding node, the larger the preset offset distance.

[0045] In this embodiment, the node insertion operation includes setting a successor node for a basic decoration node. In this case, the predecessor node corresponding to the target decoration node is known before the target decoration node is displayed. The decoration flowchart processing device can dynamically obtain the position of the predecessor node and the size of the target decoration node, and then adjust the position based on the current node position according to the preset offset distance and the size of the target decoration node to determine the addition position near the predecessor node.

[0046] For example, if the position of the preceding node is (800, 800), the size of the target decoration node is (300, 500), and the preset offset distance is 50, then the added position can be (800+300+50, 800+500+50).

[0047] In the above solution, since the preceding node corresponding to the target decoration node is known, the addition position is automatically determined based on the position of the preceding node, the size of the target decoration node and the preset offset distance. While automatically displaying the target decoration node, the obstruction of the target decoration node is avoided, and the target decoration node is displayed in a better position.

[0048] Step 402: If the node position of the preceding node and the added position are related, then the output anchor point is determined as the anchor point on the preceding node that faces the target decoration node, and the input anchor point is determined as the anchor point on the target decoration node that faces the preceding node.

[0049] The alignment can be horizontal or vertical.

[0050] Figure 5 A schematic diagram of an input anchor point and an output anchor point provided in an embodiment of this disclosure, as shown below. Figure 5 As shown, in this embodiment, if the horizontal coordinates of the preceding node and the added position are the same, it indicates that the preceding node and the target decoration node are horizontally aligned, indicating a left-right positional relationship. The decoration flowchart processing device can determine the anchor point closer to the target decoration node from the two anchor points located on the left and right edges of the preceding node as the output anchor point. Furthermore, it also determines the anchor point closer to the preceding node from the two anchor points located on the left and right edges of the target decoration node as the output anchor point.

[0051] like Figure 5As shown, if the ordinate of the preceding node's position and the added position are the same, it indicates that the preceding node and the target decoration node are vertically aligned, meaning they are in a top-bottom position. The decoration flowchart processing device can determine the anchor point closest to the target decoration node from the two anchor points located at the top and bottom edges of the preceding node as the output anchor point. Furthermore, it will also determine the anchor point closest to the preceding node from the two anchor points located at the top and bottom edges of the target decoration node as the output anchor point.

[0052] Step 403: If the node position and the addition position are not related, then the input anchor point and the output anchor point are determined based on the lateral distance between the node position and the addition position.

[0053] The horizontal distance can be the distance between the node position and the horizontal direction of the added position.

[0054] In this embodiment, if the x-coordinate and y-coordinate of the node position of the preceding node and the added position are not the same, it indicates that the node position and the added position are not related and are diagonally related. The processing device of the decoration flowchart can determine the difference in x-coordinate between the node position and the added position to obtain the horizontal distance, and determine the input anchor point and the output anchor point based on the horizontal distance.

[0055] In some embodiments of this disclosure, the input anchor point and output anchor point are determined based on the lateral distance between the node position and the addition position, including: If the lateral distance is greater than a preset distance threshold, then based on the node position and the addition position, the output anchor point is determined as the upper anchor point of the preceding node, and the input anchor point is determined as the upper anchor point of the target decoration node; or, the output anchor point is determined as the lower anchor point of the preceding node, and the input anchor point is determined as the lower anchor point of the target decoration node. If the lateral distance is not greater than the preset distance threshold, then the output anchor point is determined as the anchor point opposite to the target decoration node among the two lateral anchor points of the preceding node, and the input anchor point is determined as the anchor point opposite to the preceding node among the two lateral anchor points of the target decoration node.

[0056] Among them, the preset distance threshold can be a pre-set horizontal distance threshold, the upper anchor point can be an anchor point located on the upper edge of the decoration node, and the lower anchor point can be an anchor point located on the lower edge of the decoration node.

[0057] In this embodiment, the decoration flowchart can determine whether the lateral distance is greater than a preset distance threshold. If so, it indicates that the lateral distance between the preceding node and the target decoration node is large. Therefore, the output anchor point is determined as the upper anchor point of the preceding node, and the input anchor point is determined as the upper anchor point of the target decoration node; or, the output anchor point is determined as the lower anchor point of the preceding node, and the input anchor point is determined as the lower anchor point of the target decoration node. Specifically, as follows... Figure 5As shown, the processing device for the decoration flowchart can determine whether the left node of the preceding node and the target decoration node is lower than the right node. If so, the output anchor point is determined as the upper anchor point of the preceding node, and the input anchor point is determined as the upper anchor point of the target decoration node. Otherwise, the output anchor point is determined as the lower anchor point of the preceding node, and the input anchor point is determined as the lower anchor point of the target decoration node.

[0058] If the lateral distance is not greater than a preset distance threshold, it indicates that the lateral distance between the preceding node and the target decoration node is small. To more clearly demonstrate the sequential relationship between the two nodes, the processing device of the decoration flowchart can determine the anchor point farther from the target decoration node between the left and right anchor points of the preceding node as the output anchor point. The anchor point farther from the preceding node between the left and right anchor points of the target decoration node can be determined as the input anchor point. The left anchor point can be located on the left edge of the decoration node, and the right anchor point can be located on the right edge of the decoration node.

[0059] In the above scheme, when the lateral distance between the preceding node and the target decoration node is large, the upper or lower anchor point is determined as the output anchor point and input anchor point, respectively. When the lateral distance between the preceding node and the target decoration node is small, two opposite lateral anchor points are determined as the output anchor point and input anchor point, respectively. By setting reasonable anchor points, a foundation is created for the clear display of the subsequent directed lines.

[0060] Step 103: Based on the preceding nodes and connection anchors, insert the target decoration node into the basic flowchart to obtain the target flowchart.

[0061] The target flowchart can be the flowchart obtained after the target decoration node is inserted.

[0062] In this embodiment of the disclosure, the processing device for the decoration flowchart can connect the preceding node and the target decoration node with directed lines through anchor points, thereby inserting the target decoration node into the basic flowchart and obtaining the target flowchart.

[0063] Figure 6 A schematic flowchart illustrating another method for processing a decoration process flow diagram provided in this embodiment of the present disclosure, as shown below. Figure 6 As shown, in some embodiments of this disclosure, a target decoration node is inserted into the basic flowchart based on the preceding node and the connection anchor point to obtain the target flowchart, including: Step 601: Construct a directed line from the preceding node to the target decoration node based on the output anchor point and the input anchor point.

[0064] In this embodiment, after determining the input anchor point and the output anchor point, the processing device of the decoration flowchart can calculate the inflection point coordinates based on the input anchor point and the output anchor point, and construct a directed line that starts from the output anchor point, passes through the inflection point coordinates, and ends at the input anchor point.

[0065] Figure 7 A flowchart illustrating the determination of a directed line is provided for a disclosed embodiment, such as... Figure 7 As shown, in some embodiments of this disclosure, constructing a directed line from the preceding node to the target decoration node based on the output anchor point and the input anchor point includes: Step 701: Determine the output anchor point orientation on the preceding node and the input anchor point orientation on the target decoration node.

[0066] The output anchor point orientation represents the position of the output anchor point on the preceding node, which can include one of the following: up, down, left, or right. The input anchor point orientation represents the position of the input anchor point on the target decoration node.

[0067] In this embodiment, the processing device for the decoration flowchart can determine whether the preceding node and the target decoration node are related. If so, a directed line is constructed from the output anchor point to the input anchor point in a straight line manner. Otherwise, the processing device can determine the output anchor point orientation relative to the node position based on the position of the output anchor point and the node position of the preceding node. Furthermore, it determines the input anchor point orientation relative to the corresponding addition position based on the position of the input anchor point and the addition position of the target decoration node.

[0068] Step 702: Match the anchor point inflection point rules according to the input anchor point orientation and the output anchor point orientation to obtain the successfully matched inflection point algorithm.

[0069] The anchor point inflection point rule can be used to record the correspondence between orientation pairs and inflection point algorithms. An orientation pair can include the input anchor point orientation and the output anchor point orientation. The inflection point algorithm can be an algorithm that calculates the inflection point position based on the positions of the input and output anchor points.

[0070] In this embodiment, the processing device for the decoration flowchart can form a direction pair between the input anchor point direction and the output anchor point direction, and match the anchor point inflection point rules according to the direction pair to obtain an inflection point algorithm that matches the direction pair.

[0071] This embodiment does not impose restrictions on the rules governing the inflection point of the anchor point. Figure 8 This is a schematic diagram of an anchor point inflection point rule provided in an embodiment of the present disclosure, as shown below. Figure 8As shown, each row corresponds to the input anchor point orientation as left, top, right, and bottom, respectively. Each column corresponds to the output anchor point orientation as left, top, right, and bottom, respectively. Each orientation pair has a corresponding inflection point algorithm. In this embodiment, the execution order of the flowchart can be assumed to be from left to right. Taking an input anchor point orientation as left and an output anchor point orientation as left as an example, the inflection point algorithm can be to subtract a preset unit distance from the horizontal coordinate of the output anchor point to obtain the coordinates of the first inflection point. Furthermore, the horizontal coordinate of the first inflection point is used as the horizontal coordinate of the second inflection point, and the vertical coordinate of the input inflection point is used as the vertical coordinate of the second inflection point to obtain the coordinates of the second inflection point. Other inflection point algorithms are also corresponding algorithms based on the output anchor point coordinates and the input anchor point coordinates to calculate the inflection point coordinates, and will not be elaborated here.

[0072] Step 703: Calculate and process the output anchor point and input anchor point according to the inflection point algorithm to obtain the inflection point coordinates.

[0073] Among them, the inflection point coordinates can be the coordinates of the inflection point.

[0074] In this embodiment, the processing device for the decoration flowchart can substitute the positions of the output anchor point and the input anchor point into the inflection point algorithm, and calculate the inflection point coordinates through the inflection point algorithm.

[0075] Step 704: Starting from the output anchor point, passing through the inflection point coordinates, and ending at the input anchor point, draw a directed line.

[0076] In this embodiment, the processing device for the decoration flowchart can start from the output anchor point, and when passing the inflection point coordinates, make a 90° turn in the direction of the next inflection point or the input anchor point to reach the input anchor point, thereby completing the drawing of the directed line.

[0077] In the above scheme, directed lines are categorized into horizontal lines, vertical lines, and lines with multiple inflection points. By combining the position and order of nodes, the type of directed line and the coordinates of the inflection points are dynamically determined, ensuring that the directed lines after connection are horizontal and vertical, reducing the possibility of directed lines intersecting, and making the dependencies between nodes clearly visible. In complex node layouts, the optimal connection path can be calculated quickly.

[0078] Step 602: Generate the target flowchart based on the basic flowchart, target decoration nodes, and directed lines.

[0079] In some embodiments of this disclosure, after adding objects such as target decoration nodes and directed lines, the processing device for the decoration flowchart can obtain the current canvas size of the basic flowchart and determine whether the position of the aforementioned objects exceeds the current canvas. If so, a new canvas size is determined based on the coordinates of the target decoration node and the directed line. A new canvas is then set based on this new canvas size, and the nodes, directed lines, target decoration nodes, and their corresponding directed lines on the basic flowchart are redrawn on this new canvas to obtain the target flowchart. This achieves efficient dynamic adjustment of the canvas, avoids layout chaos caused by adding target decoration nodes, and ensures that the nodes and directed lines on the target flowchart are displayed reasonably.

[0080] The method for processing a decoration flowchart provided in this embodiment includes: acquiring and displaying a basic flowchart of the decoration process, the basic flowchart including multiple basic decoration nodes; responding to a node insertion operation, determining the predecessor node of the target decoration node among the multiple basic decoration nodes, and determining the connection anchor point; inserting the target decoration node into the basic flowchart based on the predecessor node and the connection anchor point to obtain the target flowchart. Using the above technical solution, the basic flowchart is displayed to the user, who can then perform a node insertion operation based on the basic flowchart, using existing nodes as predecessor nodes according to their own needs, and determine the connection anchor point. Based on the connection anchor point and the predecessor node, the target decoration node is added to the basic flowchart to obtain the target flowchart. Based on the predecessor node, connection anchor point, etc., the target decoration node is added to the appropriate position with an appropriate connection method, so that the generated target flowchart can not only conform to the user's actual decoration construction plan, but also intuitively and clearly display each decoration node.

[0081] In addition, project managers and construction workers can gain a comprehensive understanding of the entire decoration process through this target flowchart. They can optimize the schedule and resource allocation based on the accurate target flowchart, thereby avoiding problems such as project delays and cost overruns.

[0082] Figure 9 A schematic flowchart illustrating another method for processing a decoration process flow provided in this embodiment of the present disclosure, as shown below. Figure 9 As shown, the processing method for this decoration flowchart also includes: Step 901: In response to a second movement operation on a first object in the target flowchart, determine the movement direction corresponding to the second movement operation; wherein, the first object includes a decoration node or a directed line.

[0083] The first object can be the object to be moved in the target flowchart, which can include decoration nodes or directed lines. The second move operation can be the operation of moving the first object in the target flowchart on the canvas. The move direction can be the direction corresponding to the second move operation.

[0084] In this embodiment, the device for processing the decoration flowchart can display a target flowchart to a user, who then performs a second movement operation on a first object in the target flowchart. In response to this second movement operation, the device determines the movement direction corresponding to the second movement operation based on the initial position and the target position.

[0085] Step 902: If the movement direction is the negative direction of the canvas and the object area of ​​the first object is within the negative coordinate area of ​​the canvas after the movement, then determine the offset based on the object area.

[0086] Here, the negative direction of the canvas can be the negative direction of the canvas coordinate system. The object area can be the area occupied by the object on the canvas. The negative coordinate area can be the area in the canvas coordinate system where the x-coordinate and / or y-coordinate is negative. The offset can be the offset of the first object relative to the positive coordinate area, and the positive coordinate area can be the area in the canvas coordinate system where the x-coordinate and y-coordinate are integers.

[0087] In this embodiment, the processing device for the decoration flowchart can determine whether at least one of the horizontal and vertical directions of the movement direction is negative. If so, the movement direction is determined to be the negative direction of the canvas. Further, the object area of ​​the first object is determined based on its position and size. It is then determined whether the object area overlaps with the negative coordinate area. If so, the horizontal overlap distance and the vertical overlap distance between the object area and the negative coordinate area are determined, and an offset is determined based on these horizontal and vertical overlap distances.

[0088] Step 903: Determine the canvas size based on the coordinate range of the objects within the target flowchart.

[0089] In this embodiment, the processing device for the decoration flowchart can determine the canvas size based on the range of the horizontal and vertical coordinates of the objects within the target flowchart after the second movement operation is performed.

[0090] Step 904: Redraw the target flowchart according to the canvas size and offset to obtain the redrawn flowchart.

[0091] Among them, the redrawing flowchart can be a flowchart obtained by redrawing the objects on the canvas.

[0092] In this embodiment, the device for processing the decoration flowchart can determine a new canvas based on the size of the canvas, and offset the objects on the target flowchart according to the offset amount. The objects after the offset are then redrawn on the new canvas to obtain a redrawn flowchart.

[0093] Figure 10 This is a schematic diagram of a flowchart for determining a redrawing process provided in an embodiment of this disclosure, such as... Figure 10 As shown, when a second movement operation is detected on a node or a first object in a directed line of the target flowchart, it is determined whether the movement direction of the second movement operation is negative to the canvas. If so, it is determined whether the object area of ​​the first object is within the negative coordinate area of ​​the current canvas. If so, the offset is calculated based on the overlapping area of ​​the object area and the negative coordinate area. Furthermore, the coordinate range is determined based on the maximum and minimum coordinates of the objects on the target flowchart after the second movement operation. The canvas size is updated based on this coordinate range, and then redrawing is performed based on the new canvas size and the offset distance to obtain a redrawn flowchart.

[0094] In the above scheme, by setting the top left corner of the canvas to (0,0) coordinates, the position coordinates of the objects in the redraw flowchart after the second move operation are all positive numbers, so that the objects can be displayed in the visible area after the second move operation.

[0095] In some embodiments of this disclosure, the processing apparatus for the decoration flowchart further includes: in response to a deletion operation on a second object in the target flowchart, deleting the second object in the target flowchart to obtain an intermediate flowchart; determining a canvas size based on the coordinate range of objects in the intermediate flowchart; and redrawing the intermediate flowchart based on the canvas size to obtain a reduced flowchart.

[0096] The second object can be the object that the user needs to delete.

[0097] In this embodiment, the user can delete a second object in the target flowchart according to their needs. The flowchart processing device responds to this deletion operation by deleting the second object in the target flowchart, obtaining an intermediate flowchart. It then determines the coordinate range corresponding to the intermediate flowchart based on the maximum and minimum coordinates of the objects in the intermediate flowchart, and determines a new canvas size based on this coordinate range. A new canvas corresponding to this new canvas size is generated, and the objects in the intermediate flowchart are redrawn on this new canvas to obtain a reduced flowchart. Therefore, in the event of object deletion, the canvas and the objects on it are dynamically adjusted efficiently, avoiding unreasonable display of retained decoration nodes due to the deletion of decoration nodes.

[0098] In some embodiments of this disclosure, the device for processing the decoration flowchart can optimize the path of the target flowchart. This path optimization can include manual optimization and automated optimization. In manual optimization, the device can display the target flowchart to the user, who can then adjust the flowchart according to their needs, thereby optimizing the target flowchart.

[0099] In automated optimization, the flowchart processing device can determine whether there are isolated decorator nodes in the target flowchart. If so, the isolated decorator node is deleted. An isolated decorator node can be a decorator node without any predecessor or successor nodes, meaning it is not connected to any other decorator nodes.

[0100] The flowchart processing device can determine whether the target flowchart includes different paths between the same starting and ending decoration nodes. If so, it generates prompt information for these different paths. The starting and ending decoration nodes can be any two decoration nodes. For example, if the starting decoration node is decoration node 1 and the ending decoration node is decoration node 5, and decoration node 1 and decoration node 5 are directly connected, and decoration node 1 is connected to decoration node 3, and decoration node 3 is connected to decoration node 5, it indicates that there is a duplicate path between decoration node 1 and decoration node 5, and corresponding prompt information is generated.

[0101] The flowchart processing device can determine whether the target flowchart contains an infinite loop path. If so, it generates a prompt message for the infinite loop path. For example, if decoration node 1 is connected to decoration node 3, decoration node 3 is connected to decoration node 5, and decoration node 5 is connected to decoration node 1, an infinite loop path is formed.

[0102] The above solution achieves automated optimization of some paths in the target flowchart.

[0103] The method for processing decoration flowcharts provided in this disclosure abstracts decoration tasks such as construction and material installation into front-end business components, each of which can have independent attributes. Users can add decoration nodes to the canvas through operations. Based on the current basic flowchart and the newly added target decoration node, the method automatically calculates the position and / or connections of the target decoration node in the basic flowchart, adjusts the area window, and automatically redraws the canvas according to the latest objects, thus displaying the decoration nodes appropriately and allowing users to immediately see the new content.

[0104] By abstracting decoration nodes, determining node positions, calculating canvas size, and calculating line inflection points, a visually appealing overall flowchart of the decoration process is presented. This effectively displays the decoration nodes and their sequential relationships, helping users to fully understand and optimize the decoration process based on this flowchart.

[0105] Figure 11 This is a schematic diagram of a device for processing a decoration flowchart according to an embodiment of the present disclosure. The device can be implemented by software and / or hardware, and can also be integrated into an electronic device. Figure 11 As shown, the processing device for the decoration process diagram includes: The acquisition module 1101 is used to acquire and display a basic flowchart of the decoration process, which includes multiple basic decoration nodes. The first determining module 1102 is used to determine the predecessor node of the target decoration node among the plurality of basic decoration nodes and determine the connection anchor point in response to the node insertion operation. The insertion module 1103 is used to insert the target decoration node into the basic flowchart based on the preceding node and the connection anchor point to obtain the target flowchart.

[0106] Optionally, determining the predecessor node of the target decoration node among the plurality of basic decoration nodes includes: In response to a trigger operation on the target component in the component list, the target decoration node is displayed at a preset position; In response to the selection operation of the target decoration node, the basic decoration node corresponding to the selection operation among the plurality of basic decoration nodes is determined as the preceding node.

[0107] Optionally, determining the predecessor node of the target decoration node among the plurality of basic decoration nodes includes: In response to the post-node setting operation of the basic decoration node, the basic decoration node is determined as the pre-node, and the post-node set by the post-node setting operation is determined as the target decoration node.

[0108] Optionally, the connection anchor points include input anchor points and output anchor points, and determining the connection anchor points includes: Determine the location to add the target decoration node; If the node position of the preceding node and the addition position are related, then the output anchor point is determined as the anchor point on the preceding node that faces the target decoration node, and the input anchor point is determined as the anchor point on the target decoration node that faces the preceding node. If the node position and the addition position do not have the aforementioned association, then the input anchor point and the output anchor point are determined based on the lateral distance between the node position and the addition position.

[0109] Optionally, determining the location for adding the target decoration node includes: In response to a first move operation on the target decoration node, the target decoration node is moved to the move endpoint position, and the move endpoint position is determined as the add position; Alternatively, the addition position can be determined based on the position of the preceding node, the preset offset distance, and the size of the target decoration node.

[0110] Optionally, determining the input anchor point and the output anchor point based on the lateral distance between the node position and the addition position includes: If the lateral distance is greater than a preset distance threshold, then based on the node position and the addition position, the output anchor point is determined as the upper anchor point of the preceding node, and the input anchor point is determined as the upper anchor point of the target decoration node; or, the output anchor point is determined as the lower anchor point of the preceding node, and the input anchor point is determined as the lower anchor point of the target decoration node. If the lateral distance is not greater than a preset distance threshold, then the output anchor point is determined to be the anchor point opposite to the target decoration node among the two lateral anchor points of the preceding node, and the input anchor point is determined to be the anchor point opposite to the preceding node among the two lateral anchor points of the target decoration node.

[0111] Optionally, the step of inserting the target decoration node into the basic flowchart based on the preceding node and the connection anchor point to obtain the target flowchart includes: Construct a directed line from the preceding node to the target decoration node based on the output anchor point and the input anchor point; The target flowchart is generated based on the basic flowchart, the target decoration node, and the directed line.

[0112] Optionally, constructing a directed line from the preceding node to the target decoration node based on the output anchor point and the input anchor point includes: Determine the orientation of the output anchor point on the preceding node, and the orientation of the input anchor point on the target decoration node; The anchor point inflection point rules are matched based on the input anchor point orientation and the output anchor point orientation to obtain a successfully matched inflection point algorithm; The inflection point coordinates are obtained by calculating and processing the output anchor point and the input anchor point according to the inflection point algorithm. Starting from the output anchor point, passing through the inflection point coordinates, and ending at the input anchor point, draw the directed line.

[0113] Optionally, the device further includes: The second determining module is used to determine the movement direction corresponding to the second movement operation in response to a second movement operation on a first object in the target flowchart; wherein the first object includes a decoration node or a directed line; The third determining module is used to determine the offset based on the object area if the moving direction is the negative direction of the canvas and the object area of ​​the first object is in the negative coordinate area of ​​the canvas after the movement. The fourth determining module is used to determine the canvas size based on the coordinate range of the objects within the target flowchart; The redrawing module is used to redraw the target flowchart according to the canvas size and the offset to obtain a redrawn flowchart.

[0114] Optionally, the target decoration node includes a set node, which includes multiple decoration child nodes and fixed directed lines between the decoration child nodes.

[0115] It should be noted that, Figure 11 The processing device for the decoration flowchart shown can execute each step in the above-described embodiment of the decoration flowchart processing method, and realize each process and effect in the above-described embodiment of the decoration flowchart processing method, which will not be elaborated here.

[0116] Figure 12 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this disclosure. Figure 12 As shown, the electronic device 1200 includes one or more processors 1201 and memory 1202.

[0117] The processor 1201 may be a central processing unit (CPU) or other form of processing unit with a flowchart processing capability and / or instruction execution capability, and may control other components in the electronic device 1200 to perform the desired function.

[0118] The memory 1202 may include one or more computer program products, which may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. The volatile memory may include, for example, random access memory (RAM) and / or cache memory. The non-volatile memory may include, for example, read-only memory (ROM), hard disk, flash memory, etc. One or more computer program instructions may be stored on the computer-readable storage medium, and the processor 1201 may execute the program instructions to implement the processing method of the decoration flowchart of the embodiments of this disclosure described above, and / or other desired functions. Various contents such as input signals, signal components, and noise components may also be stored in the computer-readable storage medium.

[0119] In one example, the electronic device 1200 may also include an input device 1203 and an output device 1204, which are interconnected via a bus system and / or other forms of connection mechanism (not shown).

[0120] In addition, the input device 1203 may also include, for example, a keyboard, a mouse, etc.

[0121] The output device 1204 can output various information to the outside, including determined distance information, direction information, etc. The output device 1204 may include, for example, a display, a speaker, a printer, and a communication network and its connected remote output devices, etc.

[0122] Of course, for the sake of simplicity, Figure 12 Only some of the components of the electronic device 1200 relevant to this disclosure are shown, omitting components such as buses, input / output interfaces, etc. In addition, the electronic device 1200 may include any other suitable components depending on the specific application.

[0123] In addition to the methods and devices described above, embodiments of this disclosure may also be computer program products, including computer program instructions that, when executed by a processor, cause the processor to perform the processing method of the decoration flowchart provided in the embodiments of this disclosure.

[0124] The computer program product can be written in any combination of one or more programming languages ​​to perform the operations of the embodiments of this disclosure. The programming languages ​​include object-oriented programming languages ​​such as Java and C++, as well as conventional procedural programming languages ​​such as C or similar languages. The program code can be executed entirely on a user's computing device, partially on a user's computing device, as a standalone software package, partially on a user's computing device and partially on a remote computing device, or entirely on a remote computing device or server.

[0125] Furthermore, embodiments of this disclosure may also be computer-readable storage media storing computer program instructions thereon, which, when executed by a processor, cause the processor to perform the processing method of the decoration flowchart provided in embodiments of this disclosure.

[0126] The computer-readable storage medium may be any combination of one or more readable media. A readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of readable storage media (a non-exhaustive list) include: an electrical connection having one or more wires, a portable disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof.

[0127] Embodiments of this disclosure may also be vehicles equipped with the processing device for the above-described decoration flowchart.

[0128] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0129] The above description is merely a specific embodiment of this disclosure, enabling those skilled in the art to understand or implement it. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this disclosure. Therefore, this disclosure is not to be limited to the embodiments described herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A method for processing a decoration flowchart, characterized in that, include: Obtain and display a basic flowchart of the renovation process, which includes multiple basic renovation nodes; In response to the node insertion operation, the predecessor node of the target decoration node among the plurality of basic decoration nodes is determined, and the connection anchor point is determined; Based on the preceding node and the connecting anchor point, the target decoration node is inserted into the basic flowchart to obtain the target flowchart.

2. The method according to claim 1, characterized in that, The step of determining the predecessor node of the target decoration node among the plurality of basic decoration nodes includes: In response to a trigger operation on the target component in the component list, the target decoration node is displayed at a preset position; In response to the selection operation of the target decoration node, the basic decoration node corresponding to the selection operation among the plurality of basic decoration nodes is determined as the preceding node.

3. The method according to claim 1, characterized in that, The step of determining the predecessor node of the target decoration node among the plurality of basic decoration nodes includes: In response to the post-node setting operation of the basic decoration node, the basic decoration node is determined as the pre-node, and the post-node set by the post-node setting operation is determined as the target decoration node.

4. The method according to claim 1, characterized in that, The connection anchor points include input anchor points and output anchor points, and determining the connection anchor points includes: Determine the location to add the target decoration node; If the node position of the preceding node and the addition position are related, then the output anchor point is determined as the anchor point on the preceding node that faces the target decoration node, and the input anchor point is determined as the anchor point on the target decoration node that faces the preceding node. If the node position and the addition position do not have the aforementioned association, then the input anchor point and the output anchor point are determined based on the lateral distance between the node position and the addition position.

5. The method according to claim 4, characterized in that, Determining the location for adding the target decoration node includes: In response to a first move operation on the target decoration node, the target decoration node is moved to the move endpoint position, and the move endpoint position is determined as the add position; Alternatively, the addition position can be determined based on the position of the preceding node, the preset offset distance, and the size of the target decoration node.

6. The method according to claim 4, characterized in that, Determining the input anchor point and the output anchor point based on the lateral distance between the node position and the added position includes: If the lateral distance is greater than a preset distance threshold, then based on the node position and the addition position, the output anchor point is determined as the upper anchor point of the preceding node, and the input anchor point is determined as the upper anchor point of the target decoration node; or, the output anchor point is determined as the lower anchor point of the preceding node, and the input anchor point is determined as the lower anchor point of the target decoration node. If the lateral distance is not greater than a preset distance threshold, then the output anchor point is determined to be the anchor point opposite to the target decoration node among the two lateral anchor points of the preceding node, and the input anchor point is determined to be the anchor point opposite to the preceding node among the two lateral anchor points of the target decoration node.

7. The method according to claim 1, characterized in that, The step of inserting the target decoration node into the basic flowchart based on the preceding node and the connection anchor point to obtain the target flowchart includes: Construct a directed line from the preceding node to the target decoration node based on the output anchor point and the input anchor point; The target flowchart is generated based on the basic flowchart, the target decoration node, and the directed line.

8. The method according to claim 7, characterized in that, The construction of a directed line from the preceding node to the target decoration node based on the output anchor point and the input anchor point includes: Determine the orientation of the output anchor point on the preceding node, and the orientation of the input anchor point on the target decoration node; The anchor point inflection point rules are matched based on the input anchor point orientation and the output anchor point orientation to obtain a successfully matched inflection point algorithm; The inflection point coordinates are obtained by calculating and processing the output anchor point and the input anchor point according to the inflection point algorithm. Starting from the output anchor point, passing through the inflection point coordinates, and ending at the input anchor point, draw the directed line.

9. The method according to claim 1, characterized in that, The method further includes: In response to a second movement operation on a first object in the target flowchart, a movement direction corresponding to the second movement operation is determined; wherein, the first object includes a decoration node or a directed line; If the movement direction is the negative direction of the canvas and the object area of ​​the first object is within the negative coordinate area of ​​the canvas after the movement, then the offset is determined based on the object area. The canvas size is determined based on the coordinate range of the objects within the target flowchart; The target flowchart is redrawn based on the canvas size and the offset to obtain a redrawn flowchart.

10. The method according to claim 1, characterized in that, The target decoration node includes a set node, which includes multiple decoration sub-nodes and fixed directed lines between the decoration sub-nodes.

11. A device for processing a decoration flowchart, characterized in that, include: The acquisition module is used to acquire and display the basic flowchart of the decoration process, which includes multiple basic decoration nodes. The first determining module is used to determine the predecessor node of the target decoration node among the plurality of basic decoration nodes in response to the node insertion operation, and to determine the connection anchor point; An insertion module is used to insert the target decoration node into the basic flowchart based on the preceding node and the connection anchor point, so as to obtain the target flowchart.

12. An electronic device, characterized in that, The electronic device includes: processor; Memory used to store the processor's executable instructions; The processor is configured to read the executable instructions from the memory and execute the instructions to implement the processing method of the decoration flowchart as described in any one of claims 1-10.

13. A computer-readable storage medium, characterized in that, The storage medium stores a computer program, which is used to execute the processing method of the decoration flowchart as described in any one of claims 1-10.