Node adaptive process scheduling method and system
Through the node adaptive process orchestration method and system, the node position and connection lines in the flow chart are automatically adjusted, which solves the problem of inefficient manual layout in the prior art, and realizes the rapid and efficient production of the flow chart.
Patent Information
- Application Number
- CN202311789387.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-22
- Publication Date
- 2024-12-13
- Estimated Expiration
- 2043-12-22
AI Technical Summary
The existing visual orchestration process software requires manual node position and layout operations when making flow charts, resulting in inefficiency.
Provide a node adaptive process orchestration method and system. By responding to user operations, create a process canvas and automatically adjust node positions according to preset node spacing and branch spacing, including centering the nodes, adjusting connection lines and branch spacing, and obtaining connection lines in real time. You can insert node identification location information to create and adjust node location dynamically.
It reduces manual layout operations, improves the efficiency of flowchart production, outputs a flowchart with fixed node position relationships, and simplifies user operation flow.
Smart Images

Figure CN117742690B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present disclosure relate to the field of computer technology, and in particular to a node adaptive process scheduling method and system. Background Art
[0002] When making a flowchart, existing visual process arrangement software (such as Visio) drags nodes into the process canvas, then freely connects each node and configures the properties of each node (such as node label). In this kind of software, layout operations such as node position and node spacing in the flowchart need to be manually implemented. Summary of the invention
[0003] In order to reduce the manual typesetting operations required in visual process orchestration software, the embodiments of the present disclosure provide a node adaptive process orchestration method and system.
[0004] According to a first aspect of an embodiment of the present disclosure, a node adaptive process scheduling method is provided, including:
[0005] In response to a user operation, a process canvas is created, wherein the process canvas includes a start node and an end node and a connection line between the start node and the end node;
[0006] In response to a user operation, creating a third node located between adjacent first and second nodes in the process canvas, and replacing a connection line between the first and second nodes with a connection line between the third node and the first node and a connection line between the third node and the second node, wherein the first node and the second node include the start node and the end node; and
[0007] The positions of the nodes are adjusted according to the preset node spacing and the preset branch spacing.
[0008] In some embodiments, adjusting the position of each node according to the preset node spacing and the preset branch spacing includes:
[0009] Center all nodes in the branch to which the third node belongs;
[0010] The position of the third node and the positions of the nodes after the third node are adjusted according to a preset node spacing.
[0011] In some embodiments, adjusting the position of each node according to the preset node spacing and the preset branch spacing includes:
[0012] It is determined whether the third node is located in the combined node. If the third node is located in the combined node, the branch spacing between the branch to which the third node belongs and the adjacent branch is adjusted to a preset branch spacing.
[0013] In some embodiments, the method further includes: adjusting the connecting line.
[0014] In some embodiments, the connection line is provided with an insertable node identifier, and in response to a user operation, creating a third node located between adjacent first nodes and second nodes on the process canvas includes:
[0015] When the user drags a node on the process canvas, the position information of the insertable node identifier of each connecting line in the process canvas is obtained in real time, and the position information of the dragged node in the process canvas is obtained at the same time;
[0016] When it is detected that the user presses the mouse button, it is calculated whether the position of the dragged node coincides with the position information of the insertable node identifier of any connecting line, and if so, the third node is created according to the node type of the dragged node.
[0017] In some embodiments, the method further includes: modifying the service parameter information of each node in response to a user operation.
[0018] In some embodiments, aligning the nodes in the branch to which the third node belongs comprises:
[0019] Arrange the nodes in the branch to which the third node belongs in the center.
[0020] In some embodiments, adjusting the branch spacing between the branch to which the third node belongs and the adjacent branch to a preset branch spacing includes:
[0021] Obtaining the position, length and height information of the maximum width node in the branch to which the third node belongs, the position, length and height information of the maximum width node in the left branch of the branch to which the third node belongs, and the position, length and height information of the maximum width node in the right branch of the branch to which the third node belongs;
[0022] Calculate and determine whether the branch distance between the branch to which the third node belongs and the left branch is equal to the preset branch distance; if not, move the left branch of the branch to which the third node belongs to the left based on the preset branch distance;
[0023] Calculate and determine whether the branch distance between the branch to which the third node belongs and the right branch is equal to the preset branch distance. If not, move the right branch of the branch to which the third node belongs to the right based on the preset branch distance.
[0024] In some embodiments, in the combined node, adjusting the connection line includes:
[0025] Get the incoming edge information of nodes without width and height;
[0026] Traverse all incoming edges to obtain the position and width information of the preceding node corresponding to each connecting line, and then adjust the path point information of the connecting line.
[0027] According to a second aspect of an embodiment of the present disclosure, a node adaptive process scheduling system is provided, including:
[0028] A user operation response module, configured to create a process canvas in response to a user operation, wherein the process canvas includes a start node and an end node and a connection line between the start node and the end node, create a new node located between adjacent nodes in the process canvas, and replace the connection line between the adjacent nodes with the connection lines between the new node and the adjacent nodes, wherein in an initial state, the adjacent nodes are the start node and the end node;
[0029] A node position adjustment module, used to adjust the position of each node according to a preset node spacing and a preset branch spacing;
[0030] A node parameter adjustment module, used to set attribute values for each node in response to user operations;
[0031] The flowchart saving module is used to save the relevant information of the flowchart. The node adaptive process arrangement method and system provided in this embodiment calculates and adjusts the position of each node according to the preset node spacing and the preset branch spacing, so as to output a flowchart with a fixed position relationship between each node.
[0032] The above description is only an overview of the technical solution of the present disclosure. In order to more clearly understand the technical means of the present disclosure, it can be implemented according to the contents of the specification. In order to make the above and other purposes, features and advantages of the present disclosure more obvious and easy to understand, the specific implementation methods of the present disclosure are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] The above and other objects, features and advantages of the embodiments of the present disclosure will become more apparent through the following description of the embodiments of the present disclosure with reference to the accompanying drawings, in which:
[0034] Figure 1 is a flowchart of a node adaptive process orchestration method provided by an embodiment of the present disclosure;
[0035] Figure 2 yes Figure 1 A flowchart of a specific embodiment of step S102 in FIG.
[0036] Figure 3 yes Figure 1 A flowchart of a specific embodiment of step S103 in FIG.
[0037] Figure 4 and Figure 5 is an exemplary flow chart obtained according to an embodiment of the present disclosure;
[0038] Figure 6 It is a block diagram of a node adaptive process orchestration system provided by an embodiment of the present disclosure. DETAILED DESCRIPTION
[0039] The embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. In each of the accompanying drawings, the same elements are represented by similar reference numerals. For the sake of clarity, the various parts in the accompanying drawings are not drawn to scale. In addition, some well-known parts may not be shown.
[0040] The following describes the embodiments of the present disclosure based on the embodiments, but the embodiments of the present disclosure are not limited to these embodiments. In the detailed description of the embodiments of the present disclosure below, some specific details are described in detail. For those skilled in the art, the embodiments of the present disclosure can be fully understood without the description of these details. In order to avoid confusing the essence of the embodiments of the present disclosure, well-known methods, processes, processes, components and circuits are not described in detail.
[0041] Unless the context clearly requires otherwise, the words "include", "comprising", and the like throughout the specification and claims should be interpreted as inclusive rather than exclusive or exhaustive; that is, as "including but not limited to". In the description of the embodiments of the present disclosure, it should be understood that the terms "first", "second", etc. are used for descriptive purposes only and are not to be understood as indicating or implying relative importance. In addition, in the description of the embodiments of the present disclosure, unless otherwise specified, "plurality" means two or more.
[0042] Before introducing the various embodiments of the present disclosure, the relevant terms and concepts are introduced first. The process orchestration of the embodiments of the present disclosure belongs to a top-down structure. Based on this structure, the concept of branches is created. Branches are a top-down structure formed by connecting adjacent nodes with directed connecting lines. Nodes are divided into combined nodes and single nodes according to combination characteristics. A combined node includes multiple single nodes. Branches are divided into main branches and group branches according to position characteristics. The main branch includes a start node and an end node. The group branch is a branch in a combined node.
[0043] Figure 1 It is a flowchart of a node adaptive process orchestration method provided by an embodiment of the present disclosure, which includes the following steps.
[0044] In step S101, in response to a user operation, a process canvas is created, which includes a start node, an end node, and a connection line between the start node and the end node.
[0045] Based on this step, in the initial state, when the user clicks the menu item "New Flowchart" in the graphical interface of the node adaptive process orchestration system with the mouse, the system responds to the user operation, executes the operation of creating a process canvas object and initializing the process canvas object, and creates a process canvas at a specified position in the graphical interface (the process canvas here refers to the area on the graphical interface for drawing flowcharts), and multiple icons representing various types of nodes can also be displayed on the graphical interface. In addition, the process canvas also includes a start node and an end node and a directed connection line between the start node and the end node, and the directed connection line points from the start node to the end node. In other words, when the system creates and initializes the process canvas object, it specifies the size of the icons of the start node and the end node and their positions in the process canvas, the length and weight of the connection line, the size and shape of the arrow, and other properties, and then creates and initializes two node objects accordingly.
[0046] In step S102, in response to a user operation, a third node is created between adjacent first and second nodes in the process canvas, and a connection line between the first and second nodes is replaced with a connection line between the third node and the first node and a connection line between the third node and the second node. The first node and the second node include a start node and an end node.
[0047] In step S103, the position of each node is adjusted according to the preset node spacing and the preset branch spacing.
[0048] Steps S102 and S103 describe the operation of continuing to add new nodes on the process canvas according to user operations and adjusting the positional relationship between each node after adding the new node. Specifically, in the initial state, there are only the start node and the end node and the connecting line between the two. Then, according to the user operation, a new node is created and inserted between the start node and the end node, and the directed connecting line between the start node and the end node is replaced with the directed connecting line between the start node and the new node and the directed connecting line between the new node and the end node. Then, the positional relationship between the start node, the new node and the end node is adjusted so that the vertical straight line spacing between the start node and the new node is equal to the preset node spacing, and the vertical straight line spacing between the new node and the end node is the preset node spacing. Then, the new node is inserted and the above steps are repeated. If the flowchart contains a combined node, the adjustment step also needs to make the horizontal straight line spacing between the group branches in the combined node equal to the preset branch spacing. The preset node spacing and the preset branch spacing are preset constants.
[0049] The node adaptive process arrangement method provided in this embodiment calculates and adjusts the position of each node according to a preset node spacing and a preset branch spacing, so as to output a flow chart in which the position relationship between each node is fixed.
[0050] Figure 2 yes Figure 1 FIG. 1 is a flowchart of a specific embodiment of step S102 in FIG. 1. In this embodiment, each connecting line is provided with an insertable node identifier. Specifically, the following steps are included.
[0051] In step S1021, when the user drags a node to move on the process canvas, the position information of the insertable node identifier on each connection line in the process canvas is obtained in real time, and the position information of the dragged node in the process canvas is obtained at the same time.
[0052] In step S1022, when it is detected that the user presses the mouse button, it is determined whether the position of the dragged node coincides with the position of the insertable node mark of any connecting line. If so, step S1023 is executed.
[0053] In step S1023, a third node is created at the insertable node identification position corresponding to the connection line according to the node type of the dragged node.
[0054] Based on this embodiment, when the user drags a new node on the process canvas with the mouse, the system continuously calculates the position of the new node being dragged on the process canvas, and compares it with the position of the insertable node identifier of the connecting line between any two adjacent nodes in the canvas. When the position of the new node being dragged on the process canvas coincides with this position, and the system detects that the user presses the mouse button, a new node object is created and initialized to set the new node at the position of the insertable node identifier of the connecting line between the two adjacent nodes, and the connecting lines between the new node and the two adjacent nodes will replace the connecting lines between the two adjacent nodes.
[0055] It should be understood that the operation of setting an insertable node identifier on the connection line and comparing the position of the insertable node identifier with the position of the new node being dragged on the process canvas to check whether there is any overlap is adopted in this embodiment. This is only an optional implementation method and is not necessary. For example, the position information of the midpoint of each connection line is recorded, and then the position of the midpoint of each connection line is compared with the position of the new node being dragged on the process canvas to check whether there is any overlap.
[0056] In some embodiments, Figure 1 The illustrated embodiment also includes adjusting each connection line by traversing each connection line.
[0057] Figure 3 yes Figure 1 The flowchart of a specific embodiment of step S103 in FIG. specifically includes the following steps.
[0058] In step S1031, each node in the branch to which the third node belongs is centered.
[0059] In step S1032, the position of the third node and the positions of the nodes after the third node in the branch to which the third node belongs are adjusted according to the preset node spacing.
[0060] In step S1033, it is determined whether the third node is located in the combined node, and if so, step S1034 is executed.
[0061] In step S1034, the branch distance between the branch to which the third node belongs and the adjacent branch is adjusted to a preset branch distance.
[0062] Based on this embodiment, the above-mentioned step of "adjusting the position of each node according to the preset node spacing and the preset branch spacing" of S103 includes the following operations: after adding a new node between two adjacent nodes on the process canvas, the nodes in the branch to which the new node belongs are arranged in the center. At this time, the spacing between the new node and the two adjacent nodes changes, and the spacing between the two adjacent nodes is equal to the preset node spacing. Considering that the size of the new node icon also affects the node spacing, the spacing between the new node and the adjacent subsequent nodes must be less than the preset node spacing. In this case, it is necessary to adjust the position of the new node and the positions of the nodes after the new node need to be moved together, so that the spacing between the nodes continues to be equal to the preset node spacing. Then, considering that if the new node is located in a combined node, the addition of the new node will affect other group branches, it is also necessary to determine whether the new node is located in the combined node. If the new node is located in the combined node, the spacing between the branch to which the new node belongs and the adjacent branch is adjusted to the preset branch spacing.
[0063] The following is based on Figure 4 and Figure 5 The embodiments of the present disclosure are introduced exemplarily. Figure 4 As shown, the flowchart 400 includes a main branch consisting of a start node, nodes 201 to 204, and an end node. The combination node 204 includes multiple group branches, wherein the first group branch consists of a node 2041, a node 2044, and a node 2047, the second group branch consists of a node 2042 and a node 2045, and the third group branch consists of a node 2043 and a node 2046. Each group branch is a top-down structure.
[0064] For step S1032, exemplarily, if the newly inserted node is node 202 (node 202 is located in the main branch), assuming that the coordinates of the origin at the lower left corner of the icon of node 202 are (x1, y1), the width and height of the icon of node 202 are (width1, height1), the coordinates of the origin at the lower left corner of the icon of node 201 are (x2, y2), the width and height of the icon of node 201 are (width2, height2), and the preset node spacing and preset branch spacing are represented by ySpace and xSpace respectively, then the spacing between nodes 201 and 202 is: y2 - y1 - height1. If y2 - y1 - height1 < ySpace, then move node 202 downward by a distance of ySpace - (y2 - y1 - height1), so that y2 - y1 - height1 == ySpace. In the same way, continue to move all the nodes after node 202 by ySpace - (y2 - y1 - height1) together, so that the spacing between nodes 202 and 203 is equal to ySpace. If the newly inserted node is node 2046 located in the combined branch, it is also processed in the same way.
[0065] For steps S1033-S1034, illustratively, if the inserted new node is node 2046, then assuming that the coordinates of the lower left corner origin of the icon of node 2046 are (x3, y3), the width and height of the icon of node 2046 are (width3, height3), the coordinates of the lower left corner origin of the icon of node 2045 are (x4, y4), the width and height of the icon of node 2045 are (width4, height4), then the distance between the branch to which node 2045 belongs and the adjacent branch can be x3-x4-width4, if this value is less than the preset branch spacing xSpace, then the adjacent branches are all moved left by a distance xSpace-(x3-x4-width4), so that the distance between node 2046 and node 2045 is equal to xSpace. However, in this way, the distance between node 2042 and node 2045 may also be less than xSpace. A more preferred way is to first obtain the width of node 2042 and node 2045, and then take the node with a larger width, for example (x5, y5), the width and height of the icon are (width5, height5), and then obtain the width of node 2043, and take the larger width node between node 2043 and node 2046, for example (x10, y10), the width and height are (width10, height10), then the distance between the branch to which node 2046 belongs and the adjacent branch can be x10-x5-width5, if this value is less than xSpace, then the adjacent branches are moved left by a distance xSpace-(x10-x5-width5), so that the distance between the branch to which node 2046 belongs and the adjacent branch is equal to xSpace.
[0066] For steps S1033-S1034, illustratively, Figure 5As shown, if the inserted new node is node 505, it is assumed that node 505 is the node with the largest width in the branch to which it belongs, the coordinates of the lower left corner origin of the icon of node 505 are (x6, y6), the width and height of the icon of node 505 are (width6, height6), node 504 is the node with the largest width in the adjacent left branch to which it belongs, and the coordinates of the lower left corner origin of the icon of node 504 are (x7, y7), the width and height of the icon of node 504 are (width7, height7), node 506 is the node with the largest width in the adjacent right branch to which it belongs, and the coordinates of the lower left corner origin of the icon of node 506 are (x8, y8), node 5 The width and height of the icon 06 are (width8, height8), then the distance between branch 510 and the left branch is: x6-x7-width7. If this value is less than xSpace, the adjacent branches are moved left by a distance of xSpace-(x6-x7-width7) to make the distance between branch 510 and the left branch equal to the preset branch spacing. The distance between branch 510 and the right branch is: x8-x6-width6. If this value is less than xSpace, the adjacent branches are moved right by a distance of xSpace-(x8-x6-width6) to make the distance between branch 510 and the right branch equal to the preset branch spacing xSpace.
[0067] In some embodiments, after inserting a new node in the flowchart, a label is set for the new node according to user operation. In the above embodiment, the larger value of the label width and the icon width is taken as the width during calculation, and the label height and the icon height are added as the height during calculation.
[0068] In addition to the combined node and the single node described above, this embodiment also defines a node without width and height definition and a branch node, such as Figure 4 and 5 As shown, the node 2047 without width and height definition has no width and height attributes defined, and only serves as the convergence of all branch edges of the combined node (that is, the edges of the last nodes of all branches in the combined node are connected to this node). The branch node is used to form a group branch. Figure 4 The nodes 2041, 2042 and 2043 in are branch nodes, and the branch nodes can be added to the combined node through the "+" icon in the combined node. The node 2047 without width and height definition can be used in the step of adjusting the connection edge described above. Specifically, starting from the node without width and height definition, the incoming edge information of the node without width and height definition is obtained, and then all the incoming edges are traversed to obtain the position information and width information of the preceding node corresponding to each connection line, and then the path point information of the connection line is adjusted.
[0069] In the above method, a visual business parameter setting function can also be provided. For example, in response to a user double-clicking a node, a corresponding business pop-up window is displayed, and the business parameters involved in the node are edited and assigned in the business pop-up window by inputting, dragging, pulling, dragging, clicking, etc., and when the flowchart is saved, the business parameter information of all nodes is saved together.
[0070] Accordingly, the embodiment of the present disclosure also provides a node adaptive process scheduling system. The system is a software system implemented by a computer program and can be run by a corresponding computer device. Figure 5 The system 600 includes a user operation response module 601 , a node position adjustment module 602 , a node parameter adjustment module 603 and a flow chart storage module 604 .
[0071] The user operation response module 601 continuously receives user operations through a graphical interface, and first creates a process canvas according to the user operations. The process canvas includes a start node and an end node and a directed connection line between the start node and the end node; then, according to the user operations, a new node located between adjacent adjacent nodes is created in the process canvas, and the directed connection line between the adjacent nodes is replaced with a directed connection line between the new node and the adjacent nodes. In the initial state, the adjacent nodes are the start node and the end node.
[0072] The node position adjustment module 602 is used to adjust the position of each node according to a preset node spacing and a preset branch spacing. The preset node spacing and the preset branch spacing are predefined constants.
[0073] The node parameter adjustment module 603 is used to set attribute values for each node in response to user operations. The attributes of a node include information such as the node label and the display mode of the node icon.
[0074] The flowchart saving module 604 is used to save all the relevant information of the flowchart to a database or a file in response to the saving operation. The relevant information of the flowchart includes but is not limited to the position information of each node in the flowchart, icon information, connection relationship between each node, node type of each node, and single node of a combined node.
[0075] It should be understood that the node adaptive process orchestration system provided in the embodiments of the present disclosure corresponds to the node adaptive process orchestration method, and therefore the node adaptive process orchestration system is introduced in a relatively brief manner.
[0076] In addition, an embodiment of the present disclosure further provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, each step of the above embodiment is implemented.
[0077] Furthermore, the embodiments of the present disclosure further provide a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps in the above embodiments are implemented.
[0078] The embodiments according to the embodiments of the present disclosure are described above, and these embodiments do not describe all the details in detail, nor do they limit the invention to the specific embodiments described. Obviously, many modifications and changes can be made based on the above description. This specification selects and specifically describes these embodiments in order to better explain the principles and practical applications of the embodiments of the present disclosure, so that those skilled in the art can make good use of the embodiments of the present disclosure and the modified use based on the embodiments of the present disclosure. The embodiments of the present disclosure are limited only by the claims and their full scope and equivalents.
Claims
1. A node adaptive process scheduling method, comprising: In response to a user operation, a process canvas is created, wherein the process canvas includes a start node and an end node and a connection line between the start node and the end node; In response to a user operation, creating a third node located between adjacent first and second nodes in the process canvas, and replacing a connection line between the first and second nodes with a connection line between the third node and the first node and a connection line between the third node and the second node, wherein the first node and the second node include the start node and the end node; as well as Adjust the position of each node according to the preset node spacing and the preset branch spacing; Wherein, adjusting the position of each node according to the preset node spacing and the preset branch spacing includes: Determine whether the third node is located in the combined node, and if the third node is located in the combined node, adjust the branch spacing between the branch to which the third node belongs and the adjacent branch to a preset branch spacing; The step of adjusting the branch spacing between the branch to which the third node belongs and the adjacent branch to a preset branch spacing includes: Obtaining the position, length and height information of the maximum width node in the branch to which the third node belongs, the position, length and height information of the maximum width node in the left branch of the branch to which the third node belongs, and the position, length and height information of the maximum width node in the right branch of the branch to which the third node belongs; Calculate and determine whether the branch distance between the branch to which the third node belongs and the left branch is equal to the preset branch distance; if not, move the left branch of the branch to which the third node belongs to the left based on the preset branch distance; Calculate and determine whether the branch distance between the branch to which the third node belongs and the right branch is equal to the preset branch distance. If not, move the right branch of the branch to which the third node belongs to the right based on the preset branch distance.
2. The node adaptive process scheduling method according to claim 1, wherein: The adjusting the position of each node according to the preset node spacing and the preset branch spacing includes: Center all nodes in the branch to which the third node belongs; The position of the third node and the positions of the nodes after the third node are adjusted according to a preset node spacing.
3. The node adaptive process scheduling method according to claim 1, further comprising: Adjust the connection line.
4. The node adaptive process scheduling method according to claim 1, wherein: The connecting line is provided with an insertable node identifier, and the step of creating a third node located between the adjacent first node and the second node on the process canvas in response to a user operation includes: When the user drags a node on the process canvas, the position information of the insertable node identifier of each connecting line in the process canvas is obtained in real time, and the position information of the dragged node in the process canvas is obtained at the same time; When it is detected that the user presses the mouse button, it is calculated whether the position of the dragged node coincides with the position information of the insertable node identifier of any connecting line, and if so, the third node is created according to the node type of the dragged node.
5. The node adaptive process scheduling method according to claim 1, further comprising: In response to user operations, the service parameter information of each node is modified.
6. The node adaptive process scheduling method according to claim 2, wherein: The aligning of the nodes in the branch to which the third node belongs comprises: Arrange the nodes in the branch to which the third node belongs in the center.
7. The node adaptive process scheduling method according to claim 3, wherein: In the combined node, the adjusting connection line includes: Get the incoming edge information of nodes without width and height; Traverse all incoming edges to obtain the position and width information of the preceding node corresponding to each connecting line, and then adjust the path point information of the connecting line.
8. A node adaptive process scheduling system, comprising: A user operation response module, configured to create a process canvas in response to a user operation, wherein the process canvas includes a start node and an end node and a connection line between the start node and the end node, create a new node located between adjacent nodes in the process canvas, and replace the connection line between the adjacent nodes with the connection lines between the new node and the adjacent nodes, wherein in an initial state, the adjacent nodes are the start node and the end node; a node position adjustment module, used to determine whether the new node is located in a combined node, and if the new node is located in a combined node, obtain the position, length and height information of the maximum width node in the branch to which the new node belongs, the position, length and height information of the maximum width node in the left branch of the branch to which the new node belongs, and the position, length and height information of the maximum width node in the right branch of the branch to which the new node belongs, and calculate and determine whether the branch spacing between the branch to which the new node belongs and the left branch is equal to the preset branch spacing, if not, move the left branch of the branch to which the new node belongs to the left based on the preset branch spacing, and calculate and determine whether the branch spacing between the branch to which the new node belongs and the right branch is equal to the preset branch spacing, if not, move the right branch of the branch to which the new node belongs to the right based on the preset branch spacing; A node parameter adjustment module, used to set attribute values for each node in response to user operations; The flowchart saving module is used to save the relevant information of the flowchart.
Citation Information
Patent Citations
Graph dragging-based approval process generation method and apparatus
CN114677114A
Flow chart editing method and device and electronic equipment
CN117111921A
