CN112256259A - Method, device and equipment for processing thinking guide graph and storage medium - Google Patents

Method, device and equipment for processing thinking guide graph and storage medium Download PDF

Info

Publication number
CN112256259A
CN112256259A CN202011149112.5A CN202011149112A CN112256259A CN 112256259 A CN112256259 A CN 112256259A CN 202011149112 A CN202011149112 A CN 202011149112A CN 112256259 A CN112256259 A CN 112256259A
Authority
CN
China
Prior art keywords
node
new
old
mind map
target
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
CN202011149112.5A
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.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network 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 Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN202011149112.5A priority Critical patent/CN112256259A/en
Publication of CN112256259A publication Critical patent/CN112256259A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3684Test management for test design, e.g. generating new test cases

Abstract

The application provides a method, a device, equipment and a storage medium for processing a mind map, wherein the method comprises the following steps: the method comprises the steps of obtaining an identification of at least one change node with a change between new thought chart data and old thought chart data according to the new thought chart data and the old thought chart data, rendering according to the new thought chart data to obtain a new thought chart, rendering according to the old thought chart data to obtain an old thought chart, displaying the new thought chart in a new thought chart display area, displaying the old thought chart in an old thought chart area, and displaying the identification of each change node in a change node display area. The application displays the new and old thinking guide diagrams and the marks of the changed nodes in the corresponding areas by providing the graphical user interface, and the user can visually compare the changed nodes between the new and old thinking guide diagrams and the new and old thinking guide diagrams.

Description

Method, device and equipment for processing thinking guide graph and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method, an apparatus, a device, and a storage medium for processing a mind map.
Background
The xmind is thought-guide software, also called as a thought-guide graph and a thought-guide graph, and more users use the xmind as a writing tool of a test case at present, so that the problem can be described and analyzed comprehensively and systematically, and thought guide can be fully reflected.
In the prior art, the written test cases are often required to be checked and modified, so that when the modified test cases are required to be known, the written test cases can be orally communicated with a case writer who modifies the test cases, or old test cases and new test cases can be completely read to find out the modified test cases.
However, the method for finding out the changed test cases has high labor cost, low efficiency and low accuracy.
Disclosure of Invention
An object of the present application is to provide a method, an apparatus, a device and a storage medium for processing a mind map, so as to solve the problems of high labor cost, low efficiency and low accuracy caused by manually searching change points in a test case mind map in the prior art.
In order to achieve the above purpose, the technical solutions adopted in the embodiments of the present application are as follows:
in a first aspect, an embodiment of the present application provides a method for processing a mind map, which is applied to an electronic device, where the electronic device provides a graphical user interface, and the graphical user interface includes a new mind map display area, an old mind map display area, and a changed node display area, and the method includes:
acquiring an identifier of at least one change node with a change between new thinking guide graph data and old thinking guide graph data according to the new thinking guide graph data and the old thinking guide graph data, wherein the new thinking guide graph data is the new version of the target task, and the old thinking guide graph data is the old version of the target task;
rendering according to the new thinking guide diagram data to obtain a new thinking guide diagram, and rendering according to the old thinking guide diagram data to obtain an old thinking guide diagram;
and respectively displaying the new thinking guide graph in the new thinking guide graph display area, the old thinking guide graph in the old thinking guide graph area, and the identification of each change node in the change node display area.
Optionally, the rendering according to the new mind map data to obtain a new mind map includes:
analyzing the new thought guide graph data to obtain attribute information of each node in the new thought guide graph data, wherein the attribute information comprises content information and a node structure of the node;
and rendering according to the attribute information to obtain the new thinking map of the data.
Optionally, the rendering the data new thinking map according to the attribute information includes:
converting the attribute information into a preset format according to a preset conversion logic;
and rendering according to the converted attribute information by adopting a preset mind map rendering method to obtain the new mind map.
Optionally, the displaying, in the changed node display area, an identifier of each changed node includes:
classifying the identification of each change node according to the type of each change node;
and displaying the mark of each classified change node in the change node display area.
Optionally, after the indication of each changed node is displayed in the changed node display area, the method further includes:
acquiring a background color corresponding to the change node according to the type of the change node;
and rendering the background where the marks of the nodes corresponding to the new mind map and/or the old mind map are located according to the background color.
Optionally, after rendering the background where the identifier of the corresponding node in the new mind map and/or the old mind map is located according to the background color, the method further includes:
and positioning and jumping to the nodes corresponding to the target nodes in the new mind map and the old mind map according to the selected operation aiming at the target nodes in the changed nodes.
Optionally, the type of the target node is a deletion type, and the positioning and jumping to the corresponding node in the new mind map and the old mind map according to the selected operation for the target node in each changed node includes:
and according to the selected operation, positioning and jumping to a first node in the new thought guide graph, and positioning and jumping to the target node in the old thought guide graph, wherein the identification of the first node is the same as that of the father node of the target node in the old thought guide graph.
Optionally, the type of the target node is a newly added type, and the positioning and jumping to the corresponding node in the new mind map and the old mind map according to the selected operation for the target node in each changed node includes:
and according to the selected operation, positioning and jumping to the target node in the new thought map, and positioning and jumping to a second node in the old thought map, wherein the identifier of the second node is the same as that of the father node of the target node in the new thought map.
Optionally, the type of the target node is a modified type, and the positioning and jumping to the corresponding node in the new mind map and the old mind map according to the selected operation for the target node in each changed node includes:
and respectively positioning and jumping to a third node corresponding to the target node in the new mind map and a fourth node corresponding to the target node in the old mind map according to the selected operation.
Optionally, the respectively locating and jumping to a third node corresponding to the target node in the new mind map and a fourth node corresponding to the target node in the old mind map according to the selected operation includes:
in accordance with a selected operation for the third node, locating a jump to the third node in the new mind map;
in accordance with a selected operation for the fourth node, the location jumps to the fourth node in the old mind map.
Optionally, the type of the target node is a deletion type, and the positioning and jumping to the front of the corresponding node in the new mind map and the old mind map according to the selected operation for the target node in each changed node further includes:
and expanding the target node and an n-level father node of the target node in the old thinking graph, wherein the n-th-level father node is a root node, and n is a positive integer greater than or equal to 1.
Optionally, the type of the target node is a newly added type, and the positioning and jumping to the front of the corresponding node in the new mind map and the old mind map according to the selected operation for the target node in each changed node further includes:
and expanding the target node and an n-level father node of the target node in the new thinking graph, wherein the n-th-level father node is a root node, and n is a positive integer greater than or equal to 1.
Optionally, the type of the target node is a modified type, and the positioning respectively jumps to a third node corresponding to the target node in the new mind map according to the selected operation, and before a fourth node corresponding to the target node in the old mind map, the method further includes:
expanding the third node and an n-level father node of the third node in the new thinking graph, wherein the n-level father node is a root node, and n is a positive integer greater than or equal to 1;
expanding the fourth node in the old mind map with an n-level parent node of the fourth node.
Optionally, the method further comprises:
and displaying the corresponding node in the viewport center of the corresponding mind map.
In a second aspect, another embodiment of the present application provides an apparatus for processing a mind map, where an electronic device provides a graphical user interface that includes a new mind map display area, an old mind map display area, and a change node display area, the apparatus including:
the system comprises an acquisition module, a processing module and a display module, wherein the acquisition module is used for acquiring an identifier of at least one change node which is changed between new thought map data and old thought map data according to the new thought map data and the old thought map data, the new thought map data is the new version of the thought map data of a target task, and the old thought map data is the old version of the thought map data of the target task;
the rendering module is used for rendering according to the new thinking guide graph data to obtain a new thinking guide graph and rendering according to the old thinking guide graph data to obtain an old thinking guide graph;
and the display module is used for displaying the new thinking guide graph in the new thinking guide graph display area, displaying the old thinking guide graph in the old thinking guide graph area and displaying the identification of each changed node in the changed node display area.
Optionally, the rendering module is specifically configured to:
analyzing the new thought guide graph data to obtain attribute information of each node in the new thought guide graph data, wherein the attribute information comprises content information and a node structure of the node;
and rendering according to the attribute information to obtain the new thinking map of the data.
Optionally, the rendering module is specifically configured to:
converting the attribute information into a preset format according to a preset conversion logic;
and rendering according to the converted attribute information by adopting a preset mind map rendering method to obtain the new mind map.
Optionally, the display module is specifically configured to:
classifying the identification of each change node according to the type of each change node;
and displaying the mark of each classified change node in the change node display area.
Optionally, the obtaining module is further configured to:
acquiring a background color corresponding to the change node according to the type of the change node;
and the rendering module is further used for rendering the background where the identifier of the corresponding node in the new mind map and/or the old mind map is located according to the background color.
Optionally, the method further comprises:
and the processing module is used for positioning and jumping to the nodes corresponding to the target nodes in the new thinking guide graph and the old thinking guide graph according to the selected operation aiming at the target nodes in the changed nodes.
Optionally, the type of the target node is a deletion type, and the processing module is specifically configured to:
and according to the selected operation, positioning and jumping to a first node in the new thought guide graph, and positioning and jumping to the target node in the old thought guide graph, wherein the identification of the first node is the same as that of the father node of the target node in the old thought guide graph.
Optionally, the type of the target node is an added type, and the processing module is specifically configured to:
and according to the selected operation, positioning and jumping to the target node in the new thought map, and positioning and jumping to a second node in the old thought map, wherein the identifier of the second node is the same as that of the father node of the target node in the new thought map.
Optionally, the type of the target node is a modification type, and the processing module is specifically configured to:
and respectively positioning and jumping to a third node corresponding to the target node in the new mind map and a fourth node corresponding to the target node in the old mind map according to the selected operation.
Optionally, the processing module is specifically configured to:
in accordance with a selected operation for the third node, locating a jump to the third node in the new mind map;
in accordance with a selected operation for the fourth node, the location jumps to the fourth node in the old mind map.
Optionally, the type of the target node is a deletion type, and the processing module is further configured to:
and expanding the target node and an n-level father node of the target node in the old thinking graph, wherein the n-th-level father node is a root node, and n is a positive integer greater than or equal to 1.
Optionally, the type of the target node is an added type, and the processing module is further configured to:
and expanding the target node and an n-level father node of the target node in the new thinking graph, wherein the n-th-level father node is a root node, and n is a positive integer greater than or equal to 1.
Optionally, the type of the target node is a modification type, and the processing module is further configured to:
expanding the third node and an n-level father node of the third node in the new thinking graph, wherein the n-level father node is a root node, and n is a positive integer greater than or equal to 1;
expanding the fourth node in the old mind map with an n-level parent node of the fourth node.
Optionally, the display module is further configured to:
and displaying the corresponding node in the viewport center of the corresponding mind map.
In a third aspect, another embodiment of the present application provides an electronic device, including: a processor, a storage medium and a bus, wherein the storage medium stores a computer program executable by the processor, and when the electronic device runs, the processor and the storage medium communicate with each other through the bus to execute the method according to any one of the first aspect.
In a fourth aspect, another embodiment of the present application provides a storage medium having a computer program stored thereon, where the computer program is executed by a processor to perform the method according to any one of the above first aspects.
The embodiment of the application provides a method, a device, equipment and a storage medium for processing a mind map, wherein the electronic equipment provides a graphical user interface, the graphical user interface comprises a new mind map display area, an old mind map display area and a change node display area, and the method comprises the following steps: according to the new thinking guide graph data and the old thinking guide graph data, the identification of at least one change node which is changed between the new thinking guide graph data and the old thinking guide graph data is obtained, the new thinking guide graph data is the new version of the thinking guide graph data of the target task, the old thinking guide graph data is the old version of the thinking guide graph data of the target task, the new thinking guide graph is obtained through rendering according to the new thinking guide graph data, the old thinking guide graph is obtained through rendering according to the old thinking guide graph data, the new thinking guide graph is respectively displayed in a new thinking guide graph display area, the old thinking guide graph is displayed in an old thinking guide graph area, and the identification of each change node is displayed in a change node display area. The application displays the new and old thinking guide diagrams and the marks of the changed nodes in the corresponding areas by providing the graphical user interface, and the user can visually compare the changed nodes between the new and old thinking guide diagrams and the new and old thinking guide diagrams.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
FIG. 1 is a first diagram illustrating a graphical user interface provided by an embodiment of the present application;
FIG. 2 is a first flowchart illustrating a method for processing a mind map provided by an embodiment of the present application;
FIG. 3 is a flow chart diagram II illustrating a method for processing a mind map provided by an embodiment of the present application;
FIG. 4 is a flow chart diagram III illustrating a method for processing a mind map provided by an embodiment of the present application;
FIG. 5 is a diagram illustrating a second graphical user interface provided by an embodiment of the present application;
FIG. 6 is a fourth flowchart illustrating a method for processing a mind map provided by an embodiment of the present application;
FIG. 7 is a schematic diagram three of a graphical user interface provided by an embodiment of the present application;
FIG. 8 is a flow chart diagram of a fifth example of a method for processing a mind map provided by an embodiment of the present application;
FIG. 9 is a diagram illustrating a fourth graphical user interface provided by an embodiment of the present application;
FIG. 10 is a sixth schematic flow chart diagram illustrating a method for processing a mind map provided by an embodiment of the present application;
FIG. 11 shows a seventh schematic view of a graphical user interface provided by an embodiment of the present application;
FIG. 12 is a schematic diagram illustrating node expansion provided by an embodiment of the present application;
FIG. 13 is a schematic diagram illustrating a processing apparatus of a mind map provided in an embodiment of the present application;
fig. 14 shows a schematic structural diagram of an electronic device provided in an embodiment of the present application.
Detailed Description
In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it should be understood that the drawings in the present application are for illustrative and descriptive purposes only and are not used to limit the scope of protection of the present application. Additionally, it should be understood that the schematic drawings are not necessarily drawn to scale. The flowcharts used in this application illustrate operations implemented according to some embodiments of the present application. It should be understood that the operations of the flow diagrams may be performed out of order, and steps without logical context may be performed in reverse order or simultaneously. One skilled in the art, under the guidance of this application, may add one or more other operations to, or remove one or more operations from, the flowchart.
In addition, the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present application without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that in the embodiments of the present application, the term "comprising" is used to indicate the presence of the features stated hereinafter, but does not exclude the addition of further features.
Aiming at the problems of high labor cost, low efficiency and low accuracy caused by the fact that a change test case in a mind map of a new test case and an old test case needs to be found out manually in the prior art, the mind map processing method provided by the embodiment of the application displays the new mind map, the old mind map and the identification of a change node in the new mind map and the old mind map in the area corresponding to the graphical user interface through providing the graphical user interface, so that a user can visually compare the change node between the new mind map and the old mind map.
The message display method provided by the present application is described in detail below with reference to several specific embodiments.
Fig. 1 shows a first schematic diagram of a graphical user interface provided by an embodiment of the present application, and fig. 2 shows a first schematic flowchart of a processing method of a mind map provided by an embodiment of the present application.
As shown in fig. 1, the electronic device provides a graphic user interface 10, and the graphic user interface 10 includes an old mind map display area 20, a new mind map display area 30, and a changed node display area 40.
The user can enter the thinking guide webpage through a corresponding browser on the electronic device, and a graphical user interface 10 is displayed on the thinking guide webpage, wherein the graphical user interface 10 comprises an old thinking guide image display area 20, a new thinking guide image display area 30 and a change node display area 40, the old thinking guide image display area 20 is used for displaying an old thinking guide image, the new thinking guide image display area 30 is used for displaying a new thinking guide image, and the change node display area 40 is used for displaying the identification of a change node between the new thinking guide image and the old thinking guide image.
It should be noted that the old mind map display area 20 may be located on the left, right, upper, and lower sides of the gui 10, and similarly, the new mind map display area 30 and the changed node display area 40 may be located on the left, right, upper, and lower sides of the gui 10, which may be determined according to actual situations, and the specific positions of the new mind map display area 30, the old mind map display area 20, and the changed node display area 40 are not particularly limited in this embodiment. Referring to fig. 1, the old mind map display area 20 is on the left side of the graphic user interface 10, the changed node display area 40 is on the right side of the graphic user interface 10, and the new mind map display area 30 is in the middle of the graphic user interface.
The layout of the graphical user interface 10 may be an elastic layout, the elastic layout is used to maintain a ratio, and if a user adjusts the size of a browser window, the corresponding display areas may be adjusted accordingly, that is, in order to ensure the reading experience of the user under different screens, the old mind map display area 20, the new mind map display area 30, and the change node display area 40 may be manually or automatically adjusted according to the available area of the screen.
As shown in fig. 2, the execution main body of the embodiment may be an electronic device, such as a desktop computer, a notebook computer, a tablet computer, and the like, and the method for processing the mind map includes:
s101, according to the new thought chart data and the old thought chart data, acquiring the identification of at least one change node with change between the new thought chart data and the old thought chart data.
The new mind map data is the new version of the mind map data of the target task, and the old mind map data is the old version of the mind map data of the target task.
The target task may be, for example, a test case, that is, the new mind map data is a new version test case, and the old mind map data is an old version test case, where the new version test case may be a test case of a later version of the old version test case, and may also be a test case of a later two versions of the old version test case.
Of course, the target task may also be any other task that needs to be shown by a mind map, and the target task is taken as an example for description in the present application.
The new thought map data may be an original file of the new thought map, the old thought map data may be an original file of the old thought map, and the new thought map data and the old thought map data respectively include identifications of a plurality of nodes and contents corresponding to the nodes. By comparing the new mind map data and the old mind map data, an identification of at least one changed node where there is a change between the new mind map data and the old mind map data can be obtained.
It should be noted that both the new mind map data and the old mind map data may be in Extensible Markup Language (XML) format.
And S102, rendering according to the new thinking guide diagram data to obtain a new thinking guide diagram, and rendering according to the old thinking guide diagram data to obtain an old thinking guide diagram.
The new mind map can be obtained by loading the new mind map data on the mind map webpage and rendering the new mind map by adopting a preset mind map rendering method, and the old mind map can be obtained by loading the old mind map data on the mind map webpage and rendering the old mind map by adopting the preset mind map rendering method.
S103, displaying the new mind map in the new mind map display area, displaying the old mind map in the old mind map area, and displaying the mark of each changed node in the changed node display area.
After the new mind map and the old mind map are obtained through rendering, the new mind map can be displayed in a new mind map display area, the old mind map can be displayed in an old mind map display area, and the identification of each change node can be displayed in a change node display area.
When the change node display area displays the mark of each change node, the mark of each change node can be displayed in a list form.
The method for processing the mind map provided by the embodiment comprises the following steps: the method comprises the steps of obtaining an identification of at least one change node with a change between new thought chart data and old thought chart data according to the new thought chart data and the old thought chart data, rendering according to the new thought chart data to obtain a new thought chart, rendering according to the old thought chart data to obtain an old thought chart, displaying the new thought chart in a new thought chart display area, displaying the old thought chart in an old thought chart area, and displaying the identification of each change node in a change node display area. The application displays the new and old thinking guide diagrams and the marks of the changed nodes in the corresponding areas by providing the graphical user interface, and the user can visually compare the changed nodes between the new and old thinking guide diagrams and the new and old thinking guide diagrams.
The following describes a specific implementation process of the new mind map with reference to the embodiment of fig. 3. Fig. 3 is a schematic flowchart illustrating a second method for processing a mind map according to an embodiment of the present application, and as shown in fig. 3, rendering a new mind map according to new mind map data to obtain the new mind map includes:
s201, analyzing the new thought chart data to obtain attribute information of each node in the new thought chart data, wherein the attribute information comprises content information and a node structure of the node.
And S202, rendering according to the attribute information to obtain a new thinking map.
The new thought graph data includes identifiers of a plurality of nodes and contents corresponding to the nodes, and the attribute information of each node in the new thought graph data can be obtained by analyzing the new thought graph data, and includes content information of the node and a node structure, where the content information of the node may be the identifier of the node, the identifier of the node may be, for example, an authentication logic test, and the node structure is used to indicate the structure of the node in the new thought graph, that is, whether the node has a parent node, a child node, and the like.
And then, according to the attribute information of each node, a preset thinking guide graph rendering method is adopted to render to obtain a new thinking guide graph.
In an optional embodiment, rendering the data new thinking map according to the attribute information includes:
converting the attribute information into a preset format according to a preset conversion logic;
and rendering according to the converted attribute information by adopting a preset mind map rendering method to obtain a new mind map.
The preset format may be a JSON Object Notation (JSON) format, and the attribute information of each node may be converted into the preset format according to a preset conversion logic, that is, the attribute information of each node is converted into a JSON field, that is, data of a JSON structure is used to describe the new thought guide map, and then a preset thought guide map rendering method is used to render the new thought guide map according to the converted attribute information.
It should be noted that the xmind parser library in python may be used to parse the new mind map data, and then, through a preset conversion logic, the parsed contents are one-to-one mapped into a preset JSON field to obtain converted attribute information, and then, the new mind map is obtained by rendering according to the converted attribute information.
The method may further include rendering in a similar manner to obtain an old mind map, that is, parsing old mind map data to obtain attribute information of each node in the old mind map data, and rendering according to the attribute information of each node in the old mind map data to obtain the old mind map, where rendering according to the attribute information of each node in the old mind map data to obtain the old mind map specifically includes: and according to the preset conversion logic, converting the attribute information of each node in the old mind map into a preset format, and rendering according to the converted attribute information by adopting a preset mind map rendering method to obtain the old mind map. The rendering mode of the old mind map is similar to that of the new mind map, and is not repeated here.
The method for processing the mind map provided by the embodiment comprises the following steps: analyzing the new thought chart data, acquiring attribute information of each node in the new thought chart data, wherein the attribute information comprises content information and node structure of the node, and rendering according to the attribute information to obtain the new thought chart. Therefore, a new thinking guide graph can be obtained through rendering according to the attribute information of each node.
Next, a display mode of the flag of each change node will be described with reference to the embodiments of fig. 4 and 5. Fig. 4 is a schematic flowchart showing a third method for processing a mind map provided in the embodiment of the present application, and fig. 5 is a schematic diagram showing a second graphical user interface provided in the embodiment of the present application.
As shown in fig. 4, displaying the mark of each change node in the change node display area includes:
s301, classifying the identification of each change node according to the type of each change node.
And S302, displaying the mark of each classified change node in a change node display area.
The type of the change node comprises at least one of a deletion type, an addition type and a modification type.
The deletion type indicates that the changed node exists in the old mind map and is deleted in the new mind map, the addition type indicates that the changed node exists in the new mind map and does not exist in the old mind map, and the modification type indicates that the changed node exists in both the new mind map and the old mind map, but the identification of the changed node is modified.
The method comprises the steps of obtaining the type of each change node, classifying the identification of each change node according to the type of each change node, displaying the identification of each classified change node in a change node display area, namely classifying the change nodes of the same type into one type, and displaying the identification of each classified change node in the change node display area.
Referring to fig. 5, it is described with an example that the identifiers of the changed nodes include an identifier 1, an identifier 2, an identifier 3, an identifier 4, an identifier 5, an identifier 6, and an identifier 7, where the changed node corresponding to the identifier 3 is a deleted node, the changed node corresponding to the identifier 6 is a newly added node, the changed nodes corresponding to the identifiers 4 and 7 are modified nodes, and the identifiers 4 and 7 are identifiers of the same node before and after modification, and then the identifiers 3 are classified into one type, the identifiers 6 are classified into one type, and the identifiers 4 and 7 are classified into one type, that is, the identifiers 3, 6, 4, and 7 are respectively displayed in the changed node display area 30.
In addition, as shown in fig. 5, the type of the change node may be displayed in the change node display area 30, and the mark of the classified change node is displayed around the corresponding type to remind the user of the type of each change node.
Note that, the arrow direction in fig. 5 indicates that the parent node points to the child node.
The method for processing the mind map provided by the embodiment comprises the following steps: and classifying the identification of each change node according to the type of each change node, and displaying the identification of each classified change node in a change node display area. The classified identification of each change node is displayed in the change node display area, so that the user can more intuitively check the new and old thinking guide graphs and the change nodes between the new and old thinking guide graphs, the type and scale of the change nodes are integrally known, and the user experience is further improved.
In an optional implementation manner, after the change node display area displays the identifier of each change node, the steps shown in the embodiment of fig. 6 may be further performed. Fig. 6 is a flowchart illustrating a fourth method for processing a mind map according to an embodiment of the present application, where as shown in fig. 6, after the change node display area displays the identifier of each change node, the method further includes:
s401, obtaining a background color corresponding to the change node according to the type of the change node.
S402, rendering the background where the marks of the corresponding nodes in the new thought guide graph and/or the old thought guide graph are located according to the background color.
The background color corresponding to the node may be a color of a background where the node is located, the background where the node is located may be, for example, a square frame where the identifier 1 in fig. 5 is located, and of course, the background where the node is located may also be a circle or other shapes, which is not limited in this embodiment.
The type of the change node and the corresponding background color have a one-to-one correspondence, and after the display area of the change node displays the identifier of each change node, the background color corresponding to the change node can be acquired according to the type of the change node.
And then, rendering the background of the corresponding node identifiers in the new thought guide graph and the old thought guide graph according to the background color corresponding to the changed node, namely, traversing all the nodes in the new thought guide graph and the old thought guide graph and the identifiers of the changed nodes, and if the identifiers of the changed nodes exist in the new thought guide graph and the old thought guide graph, adding a color mark to the corresponding node identifiers in the new thought guide graph and the old thought guide graph.
In an optional implementation manner, if the type of the change node is a deletion type, it may be determined that the node corresponding to the old mind map is the change node, and then the background where the identifier of the change node in the old mind map is located may be rendered according to the background color corresponding to the change node; if the type of the changed node is a newly added type, determining that the corresponding node in the new mind map is the changed node, and rendering the background where the mark of the changed node in the new mind map is located according to the background color corresponding to the changed node; if the type of the changed node is a modified type, the corresponding node in the new mind map can be determined to be the modified node in the changed node, that is, the modified node in the new mind map is rendered according to the background color corresponding to the changed node, and the node before modification in the old mind map is rendered according to the background color corresponding to the changed node.
Referring to the embodiment of fig. 7, fig. 7 shows a schematic diagram three of a graphical user interface provided by the embodiment of the present application, and based on the embodiment of fig. 5, as shown in fig. 7, the background where the identifier 3 in the old mind map is located is rendered to be red (marked as unfilled), the background where the identifier 6 in the new mind map is located is rendered to be green (marked as diagonal lines), the background where the identifier 4 in the new mind map is located is rendered to be blue (marked as dots), and the background where the identifier 7 in the old mind map is located is rendered to be blue (marked as dots).
The method for processing the mind map provided by the embodiment comprises the following steps: and according to the type of the changed node, obtaining a background color corresponding to the changed node, and rendering the background where the identifier of the corresponding node in the new thought guide graph and/or the old thought guide graph is located. By carrying out color marking on the marks of the corresponding nodes according to the types of the changed nodes, the new and old thinking guide graphs with the color nodes can help a user to quickly distinguish the changed nodes, focus the sight of the user and improve the reading quality.
In an optional implementation manner, in order to facilitate the user to jump from the identification location of the changed node displayed in the changed node display area to the corresponding node in the new mind map and/or the old mind map, a location jump function may be further added to the changed node.
Fig. 8 is a schematic flowchart illustrating a fifth processing method of the mind map provided in the embodiment of the present application, and as shown in fig. 8, after rendering the background where the node identifier is located according to the background color, the method further includes:
and positioning and jumping to the nodes corresponding to the target nodes in the new thought guide graph and the old thought guide graph according to the selected operation aiming at the identification of the target node in each changed node.
In the second case, the change node display area may further display a control corresponding to each change node, according to the selection operation for the identifier of the target node in each change node, which may be a selection operation for the identifier of the target node or a selection operation for a control corresponding to the identifier of the target node. The selection operation can be any one of a single-click operation and a double-click operation.
By adding the positioning and jumping function to each changed node in the changed node display area, according to the selected operation aiming at the target node in each changed node, the positioning and jumping to the node corresponding to the target node in the new thinking guide graph and the old thinking guide graph can be realized.
Optionally, the method further comprises:
and displaying the corresponding node in the viewport center of the corresponding mind map.
After the positioning jumps to the node corresponding to the target node in the new mind map and/or the old mind map, the node corresponding to the target node can be displayed in the center of the viewport of the corresponding mind map, wherein the center of the viewport refers to the center of the display area, that is, the corresponding mind map can be translated to a certain extent, so that the node corresponding to the target node can be displayed in the center of the display area.
It should be noted that, the positioning jump process may be different for different types of the change node, and the following description is separately provided for each case.
In the first case: the type of the target node is a deletion type, and according to the selected operation aiming at the target node in each changed node, the positioning jumps to the corresponding node in the new thinking guide graph and the old thinking guide graph, and the method comprises the following steps:
s501, according to the selected operation, positioning and jumping to a first node in the new thought guide graph, and positioning and jumping to a target node in the old thought guide graph.
The type of the target node is a deletion type, that is, the target node exists in the old mind map and is deleted in the new mind map, according to the selection operation for the target node, the target node can be positioned and jumped to a first node in the new mind map and to a target node in the old mind map, wherein the identifier of the first node is the same as the identifier of a parent node of the target node in the old mind map, that is, the target node is positioned and jumped to the first node in the new mind map, so that the user can know that a child node of the first node is deleted, the user can know from which node the deletion occurs, and the user can know that the target node in the old mind map is deleted.
In the second case: the type of the target node is a newly added type, and according to the selected operation aiming at the target node in each changed node, the positioning jumps to the corresponding node in the new thought guide graph and the old thought guide graph, and the method comprises the following steps:
s502, according to the selected operation, positioning and jumping to a target node in the new thinking guide graph, and positioning and jumping to a second node in the old thinking guide graph.
The type of the target node is a new type, that is, the target node exists in the new thought graph and does not exist in the old thought graph, according to the selection operation aiming at the target node, the target node in the new thought graph can be positioned and jumped to the second node in the old thought graph, wherein the identification of the second node is the same as the identification of the father node of the target node in the new thought graph, that is, the target node in the new thought graph is positioned and jumped to, so that the user can know that the target node in the new thought graph is newly added, and the positioning and jumping to the second node in the old thought graph is helpful for the user to know from which node the new node is added.
In the third case: the type of the target node is a modification type, and according to the selected operation aiming at the target node in each changed node, the positioning jumps to the corresponding node in the new thinking guide graph and the old thinking guide graph, and the method comprises the following steps:
s503, according to the selected operation, respectively positioning and jumping to a third node corresponding to the target node in the new thought guide graph and a fourth node corresponding to the target node in the old thought guide graph.
The type of the target node is a modified type, that is, the target node exists in both the new thought graph and the old thought graph, but the identifier of the changed node is modified, according to the selection operation for the target node, the target node can be positioned and jumped to a third node corresponding to the target node in the new thought graph, and positioned and jumped to a fourth node corresponding to the target node in the old thought graph, wherein the third node corresponding to the target node can be a modified node, and the fourth node corresponding to the target node can be a node before modification, which is helpful for a user to know which node is modified.
It should be noted that, the identifier of the node is modified, and the substance content corresponding to the identifier is also modified, where the identifiers of the nodes related in this embodiment are text identifiers of the node, but not border identifiers, remark identifiers, and the like of the node, that is, when the text of the node is not changed, only the border identifiers and remark identifiers of the node are changed, and the node is not recognized as a modified node of the modification type, where the border of the node may include, for example, the color of the border of the node, and the remark identifiers of the node may be, for example, remark information for the node.
Taking fig. 9 as an example, fig. 9 shows a schematic diagram of a graphical user interface provided in the embodiment of the present application, as shown in fig. 9, an old mind map display area 20 displays an old mind map, and a new mind map display area 30 displays a new mind map. The identification of nodes in the old mind map includes: the table head of the table is not consistent with the table content, the text problem, the iterative test attention, the business process and the external placement are realized, and the identification of the nodes in the new thinking guide graph comprises the following steps: text questions, branch topics 4, iterative test attention, a business process 12, and a foreign language, wherein the identifiers of the change nodes displayed in the change node display area 30 include: the method comprises the steps of table header and table content inconsistency, branch subject 4 and service flow, wherein the table header and the table content inconsistency is the identification of a deletion type change node, the branch subject 4 is the identification of a newly added type change node, and the service flow is the identification of a modification type change node, wherein the service flow is adopted before modification, the service flow is adopted after modification 12, and the common identification before modification and after modification, namely the service flow, is displayed in a change node display area. By the selection operation of the target node in the changed node display area 30, the jump to the node corresponding to the target node in the new thought guide graph and the old thought guide graph can be positioned, taking the branch subject 4 as an example, the jump to the branch subject 4 in the new thought guide graph can be positioned according to the selection operation of the branch subject 4, and the jump to the iterative test attention in the old thought guide graph can be positioned, wherein the iterative test attention is the father node of the branch subject 4.
It should be noted that the changed node display area 30 may also directly display the identifiers before and after modification, which are the service flow and the service flow 12, respectively, and according to the selected operation for any one of the service flow and the service flow 12, the positioning jumps to the branch subject 4 in the new mind map, and the positioning jumps to the iterative test attention in the old mind map.
The method for processing the mind map provided by the embodiment comprises the following steps: the type of the target node is a deletion type, according to a selection operation, positioning and jumping to a first node in the new thought guide graph and positioning and jumping to a target node in the old thought guide graph, the type of the target node is a new addition type, according to the selection operation, positioning and jumping to the target node in the new thought guide graph and positioning and jumping to a second node in the old thought guide graph, the type of the target node is a modification type, according to the selection operation, positioning and jumping to a third node corresponding to the target node in the new thought guide graph and a fourth node corresponding to the target node in the old thought guide graph respectively. Therefore, the time for manually searching the nodes is saved, and the working efficiency is improved.
In an alternative implementation, step S803 is specifically described below with reference to the embodiment of fig. 10. Fig. 10 is a schematic flowchart illustrating a sixth method for processing a mind map according to an embodiment of the present application, and as shown in fig. 10, according to a selection operation, a jump is respectively located to a third node corresponding to a target node in a new mind map, and a fourth node corresponding to the target node in an old mind map includes:
s5031, according to the selected operation aiming at the third node, positioning and jumping to the third node in the new thinking map.
S5032, according to the selected operation aiming at the fourth node, positioning and jumping to the fourth node in the old thinking map.
Wherein, if the type of the target node is a modification type, the target node comprises a third node and a fourth node, the third node can be a modified node, the fourth node can be a node before modification, then, based on the selected operation for the third node, the positioning may jump to the third node in the new mind map, according to the selected operation aiming at the fourth node, the positioning jumps to the fourth node in the old thinking guide graph, referring to the graph 9, the target node is a service process, the target node comprises a third node and a fourth node, the third node is the service process, the fourth node is the service process 12, the service process and the service process 12 are displayed in the display area of the change node, so that the positioning can jump to the service process in the old thinking guide graph according to the selected operation aiming at the service process, and according to the selected operation aiming at the business process 12, positioning and jumping to the business process 12 in the new thinking guide graph.
The method for processing the mind map provided by the embodiment comprises the following steps: and according to the selected operation aiming at the third node, positioning and jumping to the third node in the new thinking guide graph, and according to the selected operation aiming at the fourth node, positioning and jumping to the fourth node in the old thinking guide graph. Therefore, the nodes before modification or the nodes after modification can be jumped to according to the requirements, so that the time for manually searching the nodes is saved, and the working efficiency is improved.
In an alternative embodiment, before the positioning jumps to the corresponding nodes in the new mind map and the old mind map, the corresponding nodes are required to be expanded. As shown in fig. 11, according to the selected operation on the target node in each changed node, before the location jumps to the corresponding node in the new mind map and the old mind map, corresponding steps may also be executed according to the type of the target node, and specifically, the steps include:
in the first case, the type of the target node is a deletion type, and according to the selected operation for the target node in each changed node, the positioning jumps to the position before the corresponding node in the new mind map and the old mind map, the method further includes:
s601, expanding a target node and an n-level father node of the target node in the old thinking graph, wherein the nth-level father node is a root node, and n is a positive integer greater than or equal to 1.
If the type of the target node is a deletion type, the target node in the old thought guide graph and the n-level father node of the target node can be expanded, because the target node needs to be expanded to check the content of the target node, and the premise of expanding the target node is that the n-level father nodes are all expanded.
Referring to fig. 12, fig. 12 shows a schematic diagram of node expansion provided in the embodiment of the present application, a mind map includes A, B, C, D, E, F, G7 nodes, and as shown in fig. 12, if a target node is D, an n-level parent node of D is B, A, and a is a 2 nd level parent node, that is, a root node, A, B, D is expanded, where B is a descendant node of a and D is a descendant node of B.
It should be noted that, when traversing the node structure in the thought graph, a depth-first strategy may be adopted, and each node looks down first without any child node, and traverses in this order to determine the complete node structure.
In the second case, the type of the target node is a newly added type, and according to the selected operation for the target node in each changed node, the positioning jumps to the position before the corresponding node in the new thought guide graph and the old thought guide graph, the method further includes:
s602, expanding a target node and an n-level father node of the target node in the new thinking graph, wherein the nth-level father node is a root node, and n is a positive integer greater than or equal to 1.
Similar to step S601, if the type of the target node is the new type, the target node and the n-level parent node of the target node in the new thought graph may also be expanded, because in order to view the content of the target node, the target node needs to be expanded, and the expansion of the target node is based on the premise that the n-level parent nodes are all expanded.
And under the third condition, the type of the target node is a modification type, and according to the selected operation, the positioning and jumping to a third node corresponding to the target node in the new thought map are respectively carried out, and the method also comprises the following steps of before a fourth node corresponding to the target node in the old thought map:
s603, expanding a third node and an n-level father node of the third node in the new thinking guide graph, wherein the n-level father node is a root node, and n is a positive integer greater than or equal to 1.
S604, expanding the fourth node in the old thinking graph and the n-level father node of the fourth node.
If the type of the target node is a modification type, the target node includes a third node and a fourth node, the third node may be a modified node, and the fourth node may be a node before modification.
Similar to step S601 and step S602, if the type of the target node is the modified type, the third node in the new thought graph and the n-level parent node of the third node may also be expanded, because in order to view the content of the third node, the third node needs to be expanded, and the expansion of the third node is based on the premise that the n-level parent nodes are all expanded; the fourth node and the n-level parent node of the fourth node in the new thinking graph are expanded, because the fourth node needs to be expanded to view the content of the fourth node, and the expansion of the fourth node is based on the premise that the n-level parent nodes are expanded.
It should be noted that, except for the above three cases, the other nodes are in the off state, so as to eliminate the interference of the non-joint points, and make the mind-guiding brain display more concise.
The method for processing the mind map provided by the embodiment comprises the following steps: the type of the target node is a deletion type, and according to the selected operation aiming at the target node in each changed node, the positioning jumps to the nodes corresponding to the new thought guide graph and the old thought guide graph, and the method also comprises the following steps: expanding a target node in the old thinking graph and an n-level father node of the target node, wherein the n-level father node is a root node; the type of the target node is a newly added type, and according to the selected operation aiming at the target node in each changed node, the positioning jumps to the positions behind the corresponding nodes in the new thought guide graph and the old thought guide graph, and the method also comprises the following steps: expanding a target node in the new thinking graph and an n-level father node of the target node, wherein the n-level father node is a root node; the type of the target node is a modification type, according to the selection operation, the target node is positioned and jumped to a third node corresponding to the target node in the new thought guide graph, and after a fourth node corresponding to the target node in the old thought guide graph, the method further comprises the following steps: and expanding a third node in the new thinking graph and an n-level father node of the third node, wherein the n-level father node is a root node. Reading experience is improved by expanding nodes concerned by users.
Fig. 13 is a schematic structural diagram of a processing apparatus of a mind map provided in an embodiment of the present application, where the processing apparatus of the mind map may be integrated in an electronic device, and the electronic device provides a graphical user interface, where the graphical user interface includes a new mind map display area, an old mind map display area, and a change node display area, and as shown in fig. 13, the processing apparatus 70 of the mind map includes:
an obtaining module 701, configured to obtain, according to new mind map data and old mind map data, an identifier of at least one change node that changes between the new mind map data and the old mind map data, where the new mind map data is a new version of mind map data of a target task, and the old mind map data is an old version of mind map data of the target task;
a rendering module 702, configured to render according to the new mind map data to obtain a new mind map, and render according to the old mind map data to obtain an old mind map;
a display module 703, configured to display the new mind map in the new mind map display area, display the old mind map in the old mind map area, and display the identifier of each changed node in the changed node display area.
Optionally, the rendering module 702 is specifically configured to:
analyzing the new thought guide graph data to obtain attribute information of each node in the new thought guide graph data, wherein the attribute information comprises content information and a node structure of the node;
and rendering according to the attribute information to obtain the new thinking map of the data.
Optionally, the rendering module 702 is specifically configured to:
converting the attribute information into a preset format according to a preset conversion logic;
and rendering according to the converted attribute information by adopting a preset mind map rendering method to obtain the new mind map.
Optionally, the display module 703 is specifically configured to:
classifying the identification of each change node according to the type of each change node;
and displaying the mark of each classified change node in the change node display area.
Optionally, the obtaining module 701 is further configured to:
acquiring a background color corresponding to the change node according to the type of the change node;
and the rendering module is further used for rendering the background where the identifier of the corresponding node in the new mind map and/or the old mind map is located according to the background color.
Optionally, the method further comprises:
and the processing module 704 is configured to perform positioning and jumping to the nodes corresponding to the target nodes in the new mind map and the old mind map according to the selected operation for the target nodes in the changed nodes.
Optionally, the type of the target node is a deletion type, and the processing module 704 is specifically configured to:
and according to the selected operation, positioning and jumping to a first node in the new thought guide graph, and positioning and jumping to the target node in the old thought guide graph, wherein the identification of the first node is the same as that of the father node of the target node in the old thought guide graph.
Optionally, the type of the target node is an added type, and the processing module 704 is specifically configured to:
and according to the selected operation, positioning and jumping to the target node in the new thought map, and positioning and jumping to a second node in the old thought map, wherein the identifier of the second node is the same as that of the father node of the target node in the new thought map.
Optionally, the type of the target node is a modification type, and the processing module 704 is specifically configured to:
and respectively positioning and jumping to a third node corresponding to the target node in the new mind map and a fourth node corresponding to the target node in the old mind map according to the selected operation.
Optionally, the processing module 704 is specifically configured to:
in accordance with a selected operation for the third node, locating a jump to the third node in the new mind map;
in accordance with a selected operation for the fourth node, the location jumps to the fourth node in the old mind map.
Optionally, the type of the target node is a deletion type, and the processing module 704 is further configured to:
and expanding the target node and an n-level father node of the target node in the old thinking graph, wherein the n-th-level father node is a root node, and n is a positive integer greater than or equal to 1.
Optionally, the type of the target node is an added type, and the processing module 704 is further configured to:
and expanding the target node and an n-level father node of the target node in the new thinking graph, wherein the n-th-level father node is a root node, and n is a positive integer greater than or equal to 1.
Optionally, the type of the target node is a modification type, and the processing module 704 is further configured to:
expanding the third node and an n-level father node of the third node in the new thinking graph, wherein the n-level father node is a root node, and n is a positive integer greater than or equal to 1;
expanding the fourth node in the old mind map with an n-level parent node of the fourth node.
Optionally, the display module 703 is further configured to:
and displaying the corresponding node in the viewport center of the corresponding mind map.
The description of the processing flow of each module in the device and the interaction flow between the modules may refer to the related description in the above method embodiments, and will not be described in detail here.
Fig. 14 shows a schematic structural diagram of an electronic device provided in an embodiment of the present application, and as shown in fig. 14, an electronic device 80 includes: a processor 801, a storage medium 802 and a bus 803, wherein the storage medium 802 stores a computer program executable by the processor 801, and when the electronic device 80 runs, the processor 801 communicates with the storage medium 802 through the bus 803 to execute the above method embodiments.
The embodiment of the application also provides a storage medium, wherein a computer program is stored on the storage medium, and the computer program is executed by a processor when being executed.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the system and the apparatus described above may refer to corresponding processes in the method embodiments, and are not described in detail in this application. In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. The above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is merely a logical division, and there may be other divisions in actual implementation, and for example, a plurality of modules or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or modules through some communication interfaces, and may be in an electrical, mechanical or other form.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer (which may be a personal computer, a server, or a network device) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application.

Claims (17)

1. A method for processing a mind map, applied to an electronic device providing a graphical user interface including a new mind map display area, an old mind map display area, and an altered node display area, the method comprising:
acquiring an identifier of at least one change node with a change between new thinking guide graph data and old thinking guide graph data according to the new thinking guide graph data and the old thinking guide graph data, wherein the new thinking guide graph data is the new version of the target task, and the old thinking guide graph data is the old version of the target task;
rendering according to the new thinking guide diagram data to obtain a new thinking guide diagram, and rendering according to the old thinking guide diagram data to obtain an old thinking guide diagram;
and respectively displaying the new thinking guide graph in the new thinking guide graph display area, the old thinking guide graph in the old thinking guide graph area, and the identification of each change node in the change node display area.
2. The method as claimed in claim 1, wherein said rendering a new mind map based on said new mind map data comprises:
analyzing the new thought guide graph data to obtain attribute information of each node in the new thought guide graph data, wherein the attribute information comprises content information and a node structure of the node;
and rendering according to the attribute information to obtain the new thinking map of the data.
3. The method according to claim 2, wherein said rendering the data new thinking map according to the attribute information comprises:
converting the attribute information into a preset format according to a preset conversion logic;
and rendering according to the converted attribute information by adopting a preset mind map rendering method to obtain the new mind map.
4. The method of claim 1, wherein said displaying an identification of each of said changed nodes in said changed node display area comprises:
classifying the identification of each change node according to the type of each change node;
and displaying the mark of each classified change node in the change node display area.
5. The method of claim 1, wherein after displaying the identity of each of the changed nodes in the changed node display area, further comprising:
acquiring a background color corresponding to the change node according to the type of the change node;
and rendering the background where the marks of the nodes corresponding to the new mind map and/or the old mind map are located according to the background color.
6. The method according to claim 5, wherein after rendering the background in which the identifier of the corresponding node in the new mind map and/or the old mind map is located according to the background color, further comprising:
and positioning and jumping to the nodes corresponding to the target nodes in the new mind map and the old mind map according to the selected operation aiming at the target nodes in the changed nodes.
7. The method as claimed in claim 6, wherein the type of the target node is a delete type, and the positioning jump to the corresponding node in the new mind map and the old mind map according to the selected operation for the target node in the changed nodes comprises:
and according to the selected operation, positioning and jumping to a first node in the new thought guide graph, and positioning and jumping to the target node in the old thought guide graph, wherein the identification of the first node is the same as that of the father node of the target node in the old thought guide graph.
8. The method as claimed in claim 6, wherein the type of the target node is a new adding type, and the positioning jumping to the corresponding node in the new mind map and the old mind map according to the selected operation for the target node in each changed node comprises:
and according to the selected operation, positioning and jumping to the target node in the new thought map, and positioning and jumping to a second node in the old thought map, wherein the identifier of the second node is the same as that of the father node of the target node in the new thought map.
9. The method as claimed in claim 6, wherein the type of the target node is a modified type, and the positioning jumps to the corresponding node in the new mind map and the old mind map according to the selected operation for the target node in the changed nodes comprises:
and respectively positioning and jumping to a third node corresponding to the target node in the new mind map and a fourth node corresponding to the target node in the old mind map according to the selected operation.
10. The method according to claim 9, wherein said respectively locating and jumping to a third node in the new mind map corresponding to the target node and a fourth node in the old mind map corresponding to the target node according to the selected operation comprises:
in accordance with a selected operation for the third node, locating a jump to the third node in the new mind map;
in accordance with a selected operation for the fourth node, the location jumps to the fourth node in the old mind map.
11. The method as claimed in claim 6, wherein the type of the target node is a delete type, and wherein the positioning jumps to the node before the corresponding node in the new mind map and the old mind map according to the selected operation for the target node in the changed nodes, further comprising:
and expanding the target node and an n-level father node of the target node in the old thinking graph, wherein the n-th-level father node is a root node, and n is a positive integer greater than or equal to 1.
12. The method as claimed in claim 6, wherein the type of the target node is a new adding type, and the positioning jumps to the front of the corresponding node in the new mind map and the old mind map according to the selected operation for the target node in each changed node, further comprising:
and expanding the target node and an n-level father node of the target node in the new thinking graph, wherein the n-th-level father node is a root node, and n is a positive integer greater than or equal to 1.
13. The method as claimed in claim 6, wherein the type of the target node is a modified type, and the positioning respectively jumps to a third node corresponding to the target node in the new mind map according to the selected operation, and before a fourth node corresponding to the target node in the old mind map, further comprises:
expanding the third node and an n-level father node of the third node in the new thinking graph, wherein the n-level father node is a root node, and n is a positive integer greater than or equal to 1;
expanding the fourth node in the old mind map with an n-level parent node of the fourth node.
14. The method of claim 6, further comprising:
and displaying the corresponding node in the viewport center of the corresponding mind map.
15. An apparatus for processing a mind map, wherein an electronic device provides a graphical user interface including a new mind map display area, an old mind map display area, and a change node display area, the apparatus comprising:
the system comprises an acquisition module, a processing module and a display module, wherein the acquisition module is used for acquiring an identifier of at least one change node which is changed between new thought map data and old thought map data according to the new thought map data and the old thought map data, the new thought map data is the new version of the thought map data of a target task, and the old thought map data is the old version of the thought map data of the target task;
the rendering module is used for rendering according to the new thinking guide graph data to obtain a new thinking guide graph and rendering according to the old thinking guide graph data to obtain an old thinking guide graph;
and the display module is used for displaying the new thinking guide graph in the new thinking guide graph display area, displaying the old thinking guide graph in the old thinking guide graph area and displaying the identification of each changed node in the changed node display area.
16. An electronic device, comprising: a processor, a storage medium and a bus, the storage medium storing a computer program executable by the processor, the processor and the storage medium communicating via the bus when the electronic device is running, the processor executing the computer program to perform the method of any one of claims 1-14.
17. A storage medium having stored thereon a computer program which, when executed by a processor, performs the method of any of claims 1-14.
CN202011149112.5A 2020-10-23 2020-10-23 Method, device and equipment for processing thinking guide graph and storage medium Pending CN112256259A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011149112.5A CN112256259A (en) 2020-10-23 2020-10-23 Method, device and equipment for processing thinking guide graph and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011149112.5A CN112256259A (en) 2020-10-23 2020-10-23 Method, device and equipment for processing thinking guide graph and storage medium

Publications (1)

Publication Number Publication Date
CN112256259A true CN112256259A (en) 2021-01-22

Family

ID=74261886

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011149112.5A Pending CN112256259A (en) 2020-10-23 2020-10-23 Method, device and equipment for processing thinking guide graph and storage medium

Country Status (1)

Country Link
CN (1) CN112256259A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114090464A (en) * 2022-01-24 2022-02-25 中国民航信息网络股份有限公司 JSON format test case updating method and related device
CN117035067A (en) * 2023-10-07 2023-11-10 腾讯科技(深圳)有限公司 Thinking guide drawing rendering method and device and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106933744A (en) * 2017-03-21 2017-07-07 网易(杭州)网络有限公司 Node revision status indication method and device, electronic equipment and storage medium
CN109559094A (en) * 2018-11-21 2019-04-02 恒生电子股份有限公司 Display methods, device, server and the storage medium of process difference
CN110008304A (en) * 2019-04-03 2019-07-12 网易(杭州)网络有限公司 The difference visible processing method and device of behavior tree

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106933744A (en) * 2017-03-21 2017-07-07 网易(杭州)网络有限公司 Node revision status indication method and device, electronic equipment and storage medium
CN109559094A (en) * 2018-11-21 2019-04-02 恒生电子股份有限公司 Display methods, device, server and the storage medium of process difference
CN110008304A (en) * 2019-04-03 2019-07-12 网易(杭州)网络有限公司 The difference visible processing method and device of behavior tree

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114090464A (en) * 2022-01-24 2022-02-25 中国民航信息网络股份有限公司 JSON format test case updating method and related device
CN114090464B (en) * 2022-01-24 2022-04-26 中国民航信息网络股份有限公司 JSON format test case updating method and related device
CN117035067A (en) * 2023-10-07 2023-11-10 腾讯科技(深圳)有限公司 Thinking guide drawing rendering method and device and electronic equipment
CN117035067B (en) * 2023-10-07 2024-01-23 腾讯科技(深圳)有限公司 Thinking guide drawing rendering method and device and electronic equipment

Similar Documents

Publication Publication Date Title
US10929449B2 (en) Generating a structured document guiding view
US7562070B2 (en) Method and system for aggregating rules that define values for the same property associated with the same document element
US9870484B2 (en) Document redaction
US7870503B1 (en) Technique for analyzing and graphically displaying document order
CN107729445B (en) HTML 5-based large text reading positioning and displaying method
CN107885713B (en) File format conversion method, device, equipment and storage medium
US7940273B2 (en) Determination of unicode points from glyph elements
US20150143338A1 (en) Spatial layout of hierarchical shared resources
US20120304089A1 (en) Method for tagging elements in a user interface
CN112256259A (en) Method, device and equipment for processing thinking guide graph and storage medium
CN111291533B (en) Sentence segment to be displayed display method and device, computer equipment and storage medium
US20140082471A1 (en) Displaying a Syntactic Entity
US20180018315A1 (en) Information processing device, program, and information processing method
CN114416056A (en) Page generation method, system, computer equipment and readable storage medium
CN116911240B (en) Command configuration method, device, equipment and medium of electronic automation design software
CN113076717A (en) Data automatic association method and device and electronic equipment
EP1837776A1 (en) Document processing device and document processing method
US7576749B2 (en) Positioning screen elements
CN115331247A (en) Document structure identification method and device, electronic equipment and readable storage medium
CN114356291A (en) Method, device, equipment and medium for generating form based on configuration file
CN112686014A (en) Cable number plate compiling system and method
CN114970486B (en) Method, apparatus and medium for generating PDF reports for software test results
US10613839B2 (en) Source code display device, source code display method, and computer readable recording medium having program for performing the same
CN116664674A (en) Remote sensing image annotation method, device, equipment and storage medium
US20240126978A1 (en) Determining attributes for elements of displayable content and adding them to an accessibility tree

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