CN117742690A - Node self-adaptive flow scheduling method and system - Google Patents

Node self-adaptive flow scheduling method and system Download PDF

Info

Publication number
CN117742690A
CN117742690A CN202311789387.9A CN202311789387A CN117742690A CN 117742690 A CN117742690 A CN 117742690A CN 202311789387 A CN202311789387 A CN 202311789387A CN 117742690 A CN117742690 A CN 117742690A
Authority
CN
China
Prior art keywords
node
branch
nodes
preset
distance
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311789387.9A
Other languages
Chinese (zh)
Inventor
李晓宾
罗小勇
罗映汉
肖伟
蒋楷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Lingyan Technology Co ltd
Original Assignee
Beijing Lingyan Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Lingyan Technology Co ltd filed Critical Beijing Lingyan Technology Co ltd
Priority to CN202311789387.9A priority Critical patent/CN117742690A/en
Publication of CN117742690A publication Critical patent/CN117742690A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

A node self-adaptive process scheduling method and system are disclosed. The method comprises the following steps: in response to a user operation, creating a process canvas comprising a start node and an end node and a connection line between the start node and the end node; responding to user operation, creating a third node between adjacent first nodes and second nodes in the flow canvas, and replacing connecting wires of the first nodes and the second nodes with connecting wires of the third nodes and the first nodes and connecting wires between the third nodes and the second nodes, wherein the first nodes and the second nodes comprise a start node and an end node; and adjusting the positions of the nodes according to the preset node spacing and the preset branch spacing. According to the node self-adaptive flow arranging method and system, the positions of all nodes are calculated and adjusted according to the preset node spacing and the preset branch spacing, so that a flow chart with fixed position relation among all nodes can be output.

Description

Node self-adaptive flow scheduling method and system
Technical Field
The embodiment of the disclosure relates to the technical field of computers, in particular to a node self-adaptive flow arranging method and system.
Background
When the existing visual orchestration flow software (such as visio) is used for manufacturing a flow chart, all nodes are dragged into a flow canvas, then free connection is carried out on all the nodes, and the attribute (such as node label) of all the nodes is configured. In such software, typesetting operations such as node positions, node pitches, and the like in the flowcharts need to be manually implemented.
Disclosure of Invention
In order to reduce typesetting operations which need to be manually performed in visual flow scheduling software, an embodiment of the disclosure provides a node adaptive flow scheduling method and system.
According to a first aspect of an embodiment of the present disclosure, there is provided a node adaptive flow scheduling method, including:
in response to a user operation, creating a process canvas comprising 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 flow canvas, and replacing connection lines of the first and second nodes with connection lines of the third node and the first node and connection lines of the third node and the second node, the first and second nodes including the start and end nodes; and
and adjusting the positions of all the nodes according to the preset node spacing and the preset branch spacing.
In some embodiments, the adjusting the positions of the nodes according to the preset node spacing and the preset branch spacing includes:
centering and aligning each node in the branch to which the third node belongs;
and adjusting the position of the third node and the positions of all nodes behind the third node according to the preset node distance.
In some embodiments, the adjusting the positions of the nodes according to the preset node spacing and the preset branch spacing includes:
judging whether the third node is located in the combined node or not, and if the third node is located in the combined node, adjusting the branch distance between the branch to which the third node belongs and the adjacent branch to be a preset branch distance.
In some embodiments, further comprising: and adjusting the connecting wire.
In some embodiments, the connecting line is provided with an pluggable node identification, and the creating a third node on the flow canvas between adjacent first and second nodes in response to a user operation comprises:
when a user drags a node on the process canvas, acquiring position information of an insertable node identifier of each connecting wire in the process canvas in real time, and simultaneously acquiring the position information of the dragged node in the process canvas;
and when the fact that the user presses the mouse button is detected, calculating whether the position of the dragged node coincides with the position information of the pluggable node identifier of any connecting line, and if so, creating the third node according to the node type of the dragged node.
In some embodiments, further comprising: and responding to the user operation, and modifying the service parameter information of each node.
In some embodiments, said aligning respective nodes within a branch to which said third node belongs comprises:
and centering each node in the branch to which the third node belongs.
In some embodiments, the adjusting the branch distance between the branch to which the third node belongs and the adjacent branch to the preset branch distance includes:
acquiring position, length and height information of a maximum width node in a branch to which the third node belongs, position, length and height information of a maximum width node in a left branch to which the third node belongs, and position, length and height information of a maximum width node in a right branch to which the third node belongs;
calculating and judging whether the branch distance between the branch to which the third node belongs and the left branch is equal to a preset branch distance, if not, moving the left branch of the branch to which the third node belongs to the left side by taking the preset branch distance as a reference;
and calculating and judging whether the branch distance between the branch of the third node and the right branch is equal to a preset branch distance, if not, taking the preset branch distance as a reference, and moving the right branch of the third node to the right.
In some embodiments, in the combining node, the adjusting connection line includes:
acquiring the incoming side information of the node without width and height;
traversing all the incoming edges to obtain the position and width information of the front node corresponding to each connecting line, and then adjusting the path point information of the connecting line.
According to a second aspect of embodiments of the present disclosure, there is provided a node adaptive flow orchestration system, comprising:
the user operation response module is used for responding to user operation, creating a process canvas, wherein the process canvas comprises a start node, an end node and connecting lines between the start node and the end node, creating new nodes between adjacent nodes in the process canvas, replacing the connecting lines between the adjacent nodes with the connecting lines between the new nodes and the adjacent nodes respectively, and in an initial state, the adjacent nodes are the start node and the end node;
the node position adjustment module is used for adjusting the positions of all the nodes according to the preset node spacing and the preset branch spacing;
the node parameter adjustment module is used for responding to user operation and setting attribute values for all nodes;
and the flow chart saving module is used for saving the related information of the flow chart. According to the node self-adaptive flow arranging method and system, the positions of all nodes are calculated and adjusted according to the preset node spacing and the preset branch spacing, so that a flow chart with fixed position relation among all nodes can be output.
The foregoing description is merely an overview of the technical solutions of the present disclosure, and may be implemented according to the content of the specification in order to make the technical means of the present disclosure more clearly understood, and in order to make the above and other objects, features and advantages of the present disclosure more clearly understood, the following specific embodiments of the present disclosure are specifically described.
Drawings
The above and other objects, features and advantages of the embodiments of the present disclosure will become more apparent from the following description of the embodiments of the present disclosure with reference to the accompanying drawings, in which:
FIG. 1 is a flow chart of a node adaptive flow orchestration method provided by embodiments of the present disclosure;
FIG. 2 is a flowchart of an embodiment of step S102 in FIG. 1;
FIG. 3 is a flowchart of an embodiment of step S103 in FIG. 1;
FIGS. 4 and 5 are exemplary flowcharts obtained according to embodiments of the present disclosure;
fig. 6 is a block diagram of a node adaptive flow orchestration system provided by embodiments of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Like elements are denoted by like reference numerals throughout the various figures. For clarity, the various features of the drawings are not drawn to scale. Furthermore, some well-known portions may not be shown.
The embodiments of the present disclosure are described below based on the embodiments, but the embodiments of the present disclosure are not limited to only these embodiments. In the following detailed description of embodiments of the present disclosure, certain specific details are set forth in detail. The embodiments of the present disclosure will be fully understood by those skilled in the art without a description of these details. Well-known methods, procedures, flows, components, and circuits have not been described in detail so as not to obscure the embodiments of the disclosure.
Unless the context clearly requires otherwise, throughout the description and the claims, the words "comprise", "comprising", and the like are to be construed in an inclusive sense as opposed to an exclusive or exhaustive sense; that is, it is the meaning of "including but not limited to". In describing embodiments of the present disclosure, it should be understood that the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. Furthermore, in the description of the embodiments of the present disclosure, unless otherwise indicated, the meaning of "a plurality" is two or more.
Prior to describing the various embodiments of the present disclosure, related terms and concepts will be described. The flow arrangement of the embodiments of the present disclosure belongs to a top-down structure, based on which a concept of branches is created, which are formed by directional connection lines connecting adjacent nodes. The nodes are divided into combined nodes and single nodes according to the combined characteristics, and the combined nodes comprise a plurality of single nodes. The branches are divided into main branches and group branches according to the position characteristics, wherein the main branches comprise a starting node and an ending node, and the group branches are branches in the combined node.
Fig. 1 is a flowchart of a node adaptive flow arrangement method according to an embodiment of the present disclosure, including the following steps.
In step S101, in response to a user operation, a flow canvas is created. The flow canvas includes a start node and an end node, and a connection line between the start node and the end node.
Based on this step, in the initial state, when the user clicks a menu item of "new flowchart" in the graphical interface of the node adaptive flow arranging system through the mouse, the system responds to the user operation, and performs an operation of creating a flow canvas object and initializing the flow canvas object, so as to create a flow canvas at a designated position of the graphical interface (the flow canvas refers to an area on the graphical interface for drawing the flowchart), and a plurality of icons representing various types of nodes can be displayed on the graphical interface. The process canvas further includes a start node and an end node, and a directional connection line between the start node and the end node, the directional connection line pointing from the start node to the end node. That is, when creating and initializing the flow canvas object, the system designates the size of the icons of the start node and the end node and the position in the flow canvas, the length and pound of the connecting line, the arrow size and shape, and other attributes, and then creates and initializes the two node objects accordingly.
In step S102, in response to a user operation, a third node located between the adjacent first node and second node is created in the flow canvas, and the connection lines of the first node and the second node are replaced with connection lines of the third node and the first node and connection lines between the third node and the second node. The first node and the second node include a start node and an end node.
In step S103, the positions of the nodes are adjusted according to the preset node pitches and the preset branch pitches.
Steps S102 and S103 describe operations of continuing to add a new node on the flow canvas according to a user operation and adjusting a positional relationship between the respective nodes after adding the new node, specifically, in an initial state, only the start node and the end node and a connection line therebetween, then creating a new node interposed between the start node and the end node according to a user operation, and replacing a directional connection line between the start node and the end node with a directional connection line between the start node and the new node and a directional connection line between the new node and the end node, then adjusting a positional relationship between the start node, the new node and the end node such that a longitudinal straight line distance between the start node and the new node is equal to a preset node distance, then continuing to insert the new node, and repeating the above steps. If the flow chart includes a combination node, the adjusting step further needs to make the transverse straight line spacing between the component branches in the combination node equal to the preset branch spacing. The preset node spacing and the preset branch spacing are constants set in advance.
According to the node self-adaptive flow arranging method provided by the embodiment, the positions of all nodes are calculated and adjusted according to the preset node spacing and the preset branch spacing, so that a flow chart with fixed position relation among all nodes can be output.
Fig. 2 is a flowchart of an embodiment of step S102 in fig. 1. In this embodiment, each connection line is provided with an insertable node identifier. The method specifically comprises the following steps.
In step S1021, when the user drags the node to move on the flow canvas, the position information of the pluggable node identifier on each connection line in the flow canvas is obtained in real time, and the position information of the dragged node in the flow canvas is obtained at the same time.
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 pluggable node identifier of any one of the connection lines, and if so, step S1023 is performed.
In step S1023, a third node is created according to the node type of the dragged node at the pluggable node identification position of the corresponding connection line.
Based on this embodiment, when a user drags a new node on a process canvas through a mouse, the system continuously calculates the position of the new node in the process canvas while comparing the position of the new node in the process canvas with the positions of pluggable node identifiers of connection lines between any two adjacent nodes in the canvas, when the position of the new node in the process canvas coincides with the position, and when the system detects that the user presses a mouse button, a new node object is created and initialized so as to set the new node at the positions of the pluggable node identifiers of the connection lines between the two adjacent nodes, and the connection lines between the new node and the two adjacent nodes replace the connection lines between the two adjacent nodes.
It should be understood that the operation of setting the pluggable node identifier on the connection line and comparing the position of the pluggable node identifier with the position of the new node in the drag in the process canvas to check whether there is a coincidence is only an alternative implementation, and is not necessarily so, 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 in the drag in the process canvas to check whether there is a coincidence.
In some embodiments, the embodiment shown in FIG. 1 further includes adjusting individual connection lines by traversing each connection line.
Fig. 3 is a flowchart of an embodiment of step S103 in fig. 1. The method specifically comprises the following steps.
In step S1031, each node within the branch to which the third node belongs is centrally aligned.
In step S1032, the position of the third node and the positions of the nodes following the third node in the branch to which the third node belongs are adjusted according to the preset node pitch
In step S1033, it is determined whether the third node is located in the combined node, and if so, step S1034 is performed.
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.
Based on the present embodiment, the step of adjusting the positions of the respective nodes according to the preset node pitches and the preset branch pitches in S103 described above includes the following operations: after new nodes are newly added between two adjacent nodes on a flow canvas, arranging all the nodes in branches to which the new nodes belong in a centering way, wherein the distance between the new nodes and the two adjacent nodes is changed, the distance between the two adjacent nodes is equal to the preset node distance, the distance between the new nodes and the adjacent subsequent nodes is necessarily smaller than the preset node distance considering that the size of the icons of the new nodes also has an influence on the node distance, in this case, the positions of the new nodes need to be adjusted and the positions of all the nodes after the new nodes need to be moved together, so that the distance between all the nodes is continuously equal to the preset node distance, and then, considering that if the new nodes are located in the combined node, the increase of the new nodes affects other groups of branches, therefore, whether the new nodes are located in the combined node is also judged, and if the new nodes are located in the combined node, the distance between the branches to which the new nodes belong and the adjacent branches is adjusted to be the preset branch distance.
Embodiments of the present disclosure are exemplarily described below based on fig. 4 and 5. Referring to FIG. 4, a flow chart 400 includes a main branch consisting of a start node, nodes 201 through 204, and an end node. The combined node 204 comprises a plurality of sets of branches, a first set of branches consisting of nodes 2041 and 2044 and 2047, a second set of branches consisting of nodes 2042 and 2045, and a third set of branches consisting of nodes 2043 and 2046. Each component branch is in a structure from top to bottom.
For step S1032, exemplarily, if the new node inserted is node 202 (node 202 is located in the main branch), assuming that the coordinates of the origin of the lower left corner of the icon of node 202 are (x 1, y 1), the width and height of the icon of node 202 are (width 1, height 1), the coordinates of the origin of the lower left corner of the icon of node 201 are (x 2, y 2), the width and height of the icon of node 201 are (width 2, height 2), and the preset node spacing and preset branch spacing are represented by ySpace and xSpace, respectively, the spacing between nodes 201 and 202 is: y2-y1-height1, if y2-y1-height1< ySpace, then node 202 is moved down by the distance ySpace- (y 2-y1-height 1), thus satisfying y2-y1-height 1= ySpace. In the same manner, all nodes following node 202 continue to be moved together by ySpace- (y 2-y1-height 1) such that the spacing between nodes 202 and 203 is equal to ySpace. The same applies if the new node inserted is node 2046 located in the combined branch.
For steps S1033-S1034, for example, if the new node inserted is node 2046, it is assumed that the coordinates of the origin of the left lower corner of the icon of node 2046 are (x 3, y 3), the width and height of the icon of node 2046 are (width 3, height 3), the coordinates of the origin of the left lower corner of the icon of node 2045 are (x 4, y 4), the width and height of the icon of node 2045 are (width 4, height 4), the distance between the branch to which node 2045 belongs and the adjacent branch may be x3-x4-width4, and if the value is smaller than the preset branch distance xSpace, the distance between the adjacent branches is equal to xSpace- (x 3-x4-width 4), and thus the distance between node 2046 and node 2045 is equal to xSpace. However, in this manner, the spacing between node 2042 and node 2045 may also be less than xSpace. More preferably, the respective widths of the nodes 2042 and 2045 are obtained first, then the larger width node is taken as, for example, (x 5, y 5), the width and height of the icon is taken as (width 5, height 5), then the width of the node 2043 is obtained, and the larger width node of the nodes 2043 and 2046 is taken as, for example, (x 10, y 10), the width and height are taken as (width 10, height 10), then the distance between the branch to which the node 2046 belongs and the adjacent branch may be x10-x5-width5, and if the value is smaller than xSpace, the distance between the adjacent branch and each of the branches is shifted to the left by xSpace- (x 10-x5-width 5) such that the distance between the branch to which the node 2046 belongs and the adjacent branch is equal to xSpace.
For steps S1033-S1034, for example, as shown in fig. 5, if the new node is inserted as node 505, then assuming that node 505 is the largest width node in the belonging branch, the coordinates of the bottom left corner origin of the icon of node 505 are (x 6, y 6), the width and height of the icon of node 505 are (width 6, height 6), node 504 is the largest width node in the belonging left adjacent branch, the coordinates of the bottom left corner origin of the icon of node 504 are (x 7, y 7), the width and height of the icon of node 504 are (width 7, height 7), node 506 is the largest width node in the belonging right adjacent branch, and the coordinates of the bottom left corner origin of the icon of node 506 are (x 8, y 8), the distance between the branch 510 and the left branch is: x6-x7-width7, if the value is less than xSpace, then adjacent branches are all shifted left by a distance xSpace- (x 6-x7-width 7) such that the distance between branch 510 and the left branch is equal to the preset branch distance, and the distance between branch 510 and the right branch is: x8-x6-width6, if the value is less than xSpace, then adjacent branches are all right shifted by a distance xSpace- (x 8-x6-width 6) such that the distance between branch 510 and the right branch is equal to the preset branch distance xSpace.
In some embodiments, when a label is set to a new node according to a user operation after a new node is inserted in the flowchart, in the above embodiments, the label width and the icon width are taken as the width at the time of calculation, and the label height and the icon height are added as the height at the time of calculation.
In addition, in addition to the above-described combination node and single node, this embodiment defines a no-width-height definition node and a branch node, as shown in fig. 4 and 5, the no-width-height definition node 2047 does not define a width-height attribute, and is only used as a convergence of all branch edges of the combination node (i.e., the edges of the last node of all branches in the combination node are connected to the node), the branch node is used to form a group of branches, and the nodes 2041, 2042, and 2043 in fig. 4 are branch nodes, and the branch nodes can be added to the combination node through "+" icons in the combination node. The non-wide-height definition node 2047 may be used in the step of adjusting the connection edge described above, specifically, starting from the non-wide-height definition node, acquiring the incoming edge information of the non-wide-height node, traversing all incoming edges to obtain the position information and the width information of the front node corresponding to each connection line, and adjusting the path point information of the connection line.
In the method, a visual service parameter setting function can be provided. For example, in response to a double-click operation of a user on a certain node, a corresponding service popup window is displayed, service parameters related to the node are edited and assigned in the service popup window through methods such as input, dragging, pulling, clicking and the like, and when a flow chart is stored, service parameter information of all the nodes is stored together.
Correspondingly, the embodiment of the disclosure also provides a node self-adaptive flow scheduling system. The system is a software system implemented by a computer program and is executable by a corresponding computer device. As shown in fig. 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 flowchart save module 604.
The user operation response module 601 continuously receives user operation through a graphical interface, and firstly, creates a process canvas according to the user operation, wherein the process canvas comprises a start node, an end node and a directional connecting line between the start node and the end node; then, creating new nodes between adjacent nodes in the process canvas according to user operation, replacing the directional connecting lines between the adjacent nodes with the directional connecting lines between the new nodes and the adjacent nodes respectively, wherein in an initial state, the adjacent nodes are a start node and an end node.
The node position adjustment module 602 is configured to adjust the positions of the nodes according to the preset node spacing and the preset branch spacing. The preset node spacing and the preset branch spacing are predefined constants.
The node parameter adjustment module 603 is configured to set attribute values for respective nodes in response to a user operation. The attribute of the node comprises information such as a label of the node, a display mode of the node icon and the like.
The flowchart saving module 604 is configured to save the relevant information of the flowchart to a database or a file in response to a save operation. The relevant information of the flow chart includes, but is not limited to, position information of each node, icon information, connection relation between each node, node type of each node, and single node of the combined node in the flow chart.
It should be understood that the node adaptive flow scheduling system provided by the embodiments of the present disclosure corresponds to the node adaptive flow scheduling method, and thus is performed in a relatively simplified manner when introducing the node adaptive flow scheduling system.
In addition, the embodiment of the disclosure also provides a computer device, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor executes the computer program to realize the steps of the above embodiment.
Still further, the embodiments of the present disclosure also provide a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the above embodiments.
Embodiments in accordance with the present disclosure, as described above, are not intended to be exhaustive or to limit the invention to the precise embodiments disclosed. Obviously, many modifications and variations are possible in light of the above teaching. The embodiments were chosen and described in order to best explain the principles of the disclosed embodiments and the practical application, to thereby enable others skilled in the art to best utilize the disclosed embodiments and their modifications as are suited to the particular use contemplated. The disclosed embodiments are limited only by the claims and the full scope and equivalents thereof.

Claims (10)

1. A node adaptive flow orchestration method, comprising:
in response to a user operation, creating a process canvas comprising 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 flow canvas, and replacing connection lines of the first and second nodes with connection lines of the third node and the first node and connection lines of the third node and the second node, the first and second nodes including the start and end nodes; and
and adjusting the positions of all the nodes according to the preset node spacing and the preset branch spacing.
2. The node adaptive flow programming method according to claim 1, wherein the adjusting the positions of the respective nodes according to the preset node spacing and the preset branch spacing comprises:
centering and aligning each node in the branch to which the third node belongs;
and adjusting the position of the third node and the positions of all nodes behind the third node according to the preset node distance.
3. The node adaptive flow scheduling method according to claim 1 or 2, wherein the adjusting the positions of the respective nodes according to the preset node spacing and the preset branch spacing comprises:
judging whether the third node is located in the combined node or not, and if the third node is located in the combined node, adjusting the branch distance between the branch to which the third node belongs and the adjacent branch to be a preset branch distance.
4. A node-adaptive flow orchestration method according to claim 2 or 3, further comprising: and adjusting the connecting wire.
5. The node-adaptive flow orchestration method according to claim 1, wherein the connecting lines are provided with pluggable node identities, and the creating a third node on the flow canvas between adjacent first and second nodes in response to a user operation comprises:
when a user drags a node on the process canvas, acquiring position information of an insertable node identifier of each connecting wire in the process canvas in real time, and simultaneously acquiring the position information of the dragged node in the process canvas;
and when the fact that the user presses the mouse button is detected, calculating whether the position of the dragged node coincides with the position information of the pluggable node identifier of any connecting line, and if so, creating the third node according to the node type of the dragged node.
6. The node-adaptive flow orchestration method according to claim 1, further comprising: and responding to the user operation, and modifying the service parameter information of each node.
7. The node-adaptive flow orchestration method according to claim 2, wherein the aligning the respective nodes within the branch to which the third node belongs comprises:
and centering each node in the branch to which the third node belongs.
8. The node adaptive flow scheduling method of claim 3, wherein the adjusting the branch distance between the branch to which the third node belongs and the adjacent branch to a preset branch distance includes:
acquiring position, length and height information of a maximum width node in a branch to which the third node belongs, position, length and height information of a maximum width node in a left branch to which the third node belongs, and position, length and height information of a maximum width node in a right branch to which the third node belongs;
calculating and judging whether the branch distance between the branch to which the third node belongs and the left branch is equal to a preset branch distance, if not, moving the left branch of the branch to which the third node belongs to the left side by taking the preset branch distance as a reference;
and calculating and judging whether the branch distance between the branch of the third node and the right branch is equal to a preset branch distance, if not, taking the preset branch distance as a reference, and moving the right branch of the third node to the right.
9. The node-adaptive flow orchestration method according to claim 4, wherein in a combined node, the adjusting connection lines comprises:
acquiring the incoming side information of the node without width and height;
traversing all the incoming edges to obtain the position and width information of the front node corresponding to each connecting line, and then adjusting the path point information of the connecting line.
10. A node adaptive flow orchestration system, comprising:
the user operation response module is used for responding to user operation, creating a process canvas, wherein the process canvas comprises a start node, an end node and connecting lines between the start node and the end node, creating new nodes between adjacent nodes in the process canvas, replacing the connecting lines between the adjacent nodes with the connecting lines between the new nodes and the adjacent nodes respectively, and in an initial state, the adjacent nodes are the start node and the end node;
the node position adjustment module is used for adjusting the positions of all the nodes according to the preset node spacing and the preset branch spacing;
the node parameter adjustment module is used for responding to user operation and setting attribute values for all nodes;
and the flow chart saving module is used for saving the related information of the flow chart.
CN202311789387.9A 2023-12-22 2023-12-22 Node self-adaptive flow scheduling method and system Pending CN117742690A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311789387.9A CN117742690A (en) 2023-12-22 2023-12-22 Node self-adaptive flow scheduling method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311789387.9A CN117742690A (en) 2023-12-22 2023-12-22 Node self-adaptive flow scheduling method and system

Publications (1)

Publication Number Publication Date
CN117742690A true CN117742690A (en) 2024-03-22

Family

ID=90250704

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311789387.9A Pending CN117742690A (en) 2023-12-22 2023-12-22 Node self-adaptive flow scheduling method and system

Country Status (1)

Country Link
CN (1) CN117742690A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110232162A (en) * 2019-05-29 2019-09-13 北京中亦安图科技股份有限公司 A kind of flow defining method and system based on HTML5
CN114677114A (en) * 2022-03-25 2022-06-28 中国工商银行股份有限公司 Approval process generation method and device based on graph dragging
WO2022135478A1 (en) * 2020-12-25 2022-06-30 第四范式(北京)技术有限公司 Task orchestration method and orchestration apparatus
US11435871B1 (en) * 2021-05-18 2022-09-06 Amazon Technologies, Inc. Workflow assembly tool and workflow model for runtime execution
CN115509503A (en) * 2022-09-28 2022-12-23 科大讯飞股份有限公司 Editing method and device of automation process, electronic equipment and storage medium
CN115904352A (en) * 2022-12-30 2023-04-04 广州品唯软件有限公司 Process arrangement method, device, storage medium and business process execution method
WO2023060652A1 (en) * 2021-10-14 2023-04-20 国云科技股份有限公司 Visual design platform for data collaboration chain
CN117111921A (en) * 2023-07-26 2023-11-24 企知道科技有限公司 Method and device for editing flow chart and electronic equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110232162A (en) * 2019-05-29 2019-09-13 北京中亦安图科技股份有限公司 A kind of flow defining method and system based on HTML5
WO2022135478A1 (en) * 2020-12-25 2022-06-30 第四范式(北京)技术有限公司 Task orchestration method and orchestration apparatus
US11435871B1 (en) * 2021-05-18 2022-09-06 Amazon Technologies, Inc. Workflow assembly tool and workflow model for runtime execution
WO2023060652A1 (en) * 2021-10-14 2023-04-20 国云科技股份有限公司 Visual design platform for data collaboration chain
CN114677114A (en) * 2022-03-25 2022-06-28 中国工商银行股份有限公司 Approval process generation method and device based on graph dragging
CN115509503A (en) * 2022-09-28 2022-12-23 科大讯飞股份有限公司 Editing method and device of automation process, electronic equipment and storage medium
CN115904352A (en) * 2022-12-30 2023-04-04 广州品唯软件有限公司 Process arrangement method, device, storage medium and business process execution method
CN117111921A (en) * 2023-07-26 2023-11-24 企知道科技有限公司 Method and device for editing flow chart and electronic equipment

Similar Documents

Publication Publication Date Title
US11270066B2 (en) Temporary formatting and charting of selected data
US11037340B2 (en) Automatic obstacle avoidance optimization method for connecting line of graphical programming software
CN109918437A (en) Distributed data processing method, apparatus and data assets management system
CN110363828A (en) A kind of method for drawing flow chart and the equipment for drawing flow chart
CN101650798A (en) Flow modeling method
CN111399941A (en) Batch configuration method, device and equipment for BMC (baseboard management controller) functions
CN111722842A (en) Pipeline arranging method and device, electronic equipment and storage medium
CN103354990B (en) The system and method for the virtual machine in process cloud platform
CN114820279A (en) Distributed deep learning method and device based on multiple GPUs and electronic equipment
CN114070741A (en) Topological graph generation method, system, equipment and storage medium
CN117742690A (en) Node self-adaptive flow scheduling method and system
CN110544284B (en) Method for automatically planning optimal layout flow chart
CN117131299A (en) Page layout method and device based on user
CN111814438A (en) System and method for drawing network diagram
CN109992249A (en) A kind of stream data process operating method and system
CN109697061A (en) The method and device of lines dragging is realized in WEBization business process designer
CN115934653A (en) Method and device for adding external OFD page content in OFD file
CN115963974A (en) Method and device for generating mind map and storage medium
KR102593844B1 (en) Method for constructing deep learning network, system for auto deep learning platform service and computer program for the same
CN114780094A (en) Method, device and equipment for generating screening page and storage medium
CN114782200A (en) Data processing method and device, electronic equipment and storage medium
CN114756468A (en) Test data creating method, device, equipment and storage medium
JP2018032113A (en) Information management device and file management method
CN114003152A (en) Application icon management method and system
CN111897618A (en) UI interface determination method and device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination