WO2023092254A1 - Mind map adjustment method, storage medium and device - Google Patents

Mind map adjustment method, storage medium and device Download PDF

Info

Publication number
WO2023092254A1
WO2023092254A1 PCT/CN2021/132298 CN2021132298W WO2023092254A1 WO 2023092254 A1 WO2023092254 A1 WO 2023092254A1 CN 2021132298 W CN2021132298 W CN 2021132298W WO 2023092254 A1 WO2023092254 A1 WO 2023092254A1
Authority
WO
WIPO (PCT)
Prior art keywords
node
adsorption
mind map
adsorption area
target node
Prior art date
Application number
PCT/CN2021/132298
Other languages
French (fr)
Chinese (zh)
Inventor
李梅
黄家凤
Original Assignee
广州视源电子科技股份有限公司
广州视睿电子科技有限公司
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 广州视源电子科技股份有限公司, 广州视睿电子科技有限公司 filed Critical 广州视源电子科技股份有限公司
Priority to CN202180005694.6A priority Critical patent/CN116490845A/en
Priority to PCT/CN2021/132298 priority patent/WO2023092254A1/en
Publication of WO2023092254A1 publication Critical patent/WO2023092254A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance

Definitions

  • the embodiments of the present invention relate to the field of communication technologies, and in particular, to a mind map adjustment method, storage medium and equipment.
  • the way to adjust the position of nodes in the mind map is usually to delete the original node that needs to be adjusted, and add a new node that is consistent with the content of the original node at the expected position.
  • This adjustment method cannot directly adjust the mind map by moving the node. The content is adjusted, and the steps to adjust the node position are cumbersome.
  • the embodiment of the present application provides a mind map adjustment method, storage medium and equipment, which can realize the adjustment of the node position through the set adsorption area and the association relationship between the nodes, reduce the operation complexity of the node position adjustment, and improve the node position adjustment s efficiency.
  • the first aspect of the embodiment of the present application provides a mind map adjustment method, including:
  • Adjustment processing is performed on the first mind map based on the first association relationship, the removal style and the preview style are eliminated, and a second mind map obtained after the adjustment process is displayed.
  • the second aspect of the embodiment of the present application provides a mind map adjustment device, including:
  • An operation receiving unit configured to receive a first touch operation in the application interface
  • a handwriting writing unit configured to confirm that the first touch operation is a writing operation, and write corresponding handwriting in the application interface
  • a node acquiring unit configured to confirm that the first touch operation is a node selection operation for the first mind map, and acquire the selected target node in the first mind map based on the node selection operation;
  • a node moving unit configured to acquire a moving operation for the target node
  • a style display unit configured to move the target node based on the moving operation, and display the removal style of the target node at the initial position of the target node during the moving process, and display the removal style of the target node following the moving operation
  • An area determination unit configured to determine a first adsorption area where the end point of the target node is located after the moving operation is completed, and determine an adsorption node corresponding to the first adsorption area, the adsorption node being the first adsorption node Any other node in the mind map except the target node;
  • a relationship determining unit configured to determine a first association relationship between the target node and the adsorption node
  • a mind map adjustment unit configured to adjust the first mind map based on the first association relationship, eliminate the removal style and the preview style, and display the second thought obtained after the adjustment process map.
  • a third aspect of the embodiments of the present application provides a computer storage medium, where the computer storage medium stores a computer program, the computer program includes program instructions, and when the program instructions are executed by a processor, the above method steps are executed.
  • the fourth aspect of the embodiment of the present application provides an interactive tablet device, including: a processor, a display component, and a touch component; the touch component is used to receive a node selection operation and a target node movement operation, and send processing information to the processor for processing
  • the controller is used to execute the steps of the above method, and the display component is used to display the adjustment process of all nodes in the interactive tablet device.
  • the target node by selecting the target node that needs to be adjusted in the mind map, the target node is controlled to move according to the movement operation, and the position change of the target node is displayed in real time through the preview style and the removal style, and the target node and the adsorption node are determined and update the mind map to adjust the position of nodes through the set adsorption area and the relationship between nodes, avoiding operations such as adding and deleting nodes when adjusting the position of nodes, and directly
  • the mobile node adjusts the position of the node, which reduces the operational complexity of node position adjustment and improves the efficiency of node position adjustment.
  • FIG. 1 is a schematic diagram of a mind map adjustment scenario provided by an embodiment of the present application
  • Fig. 2 is a schematic flow chart of a mind map adjustment method provided in the embodiment of the present application.
  • Fig. 3 is a schematic flow chart of a mind map adjustment method provided in the embodiment of the present application.
  • Fig. 4 is a schematic diagram of an example of mind map adjustment provided by the embodiment of the present application.
  • Fig. 5 is a schematic diagram of an example of mind map adjustment provided by the embodiment of the present application.
  • Fig. 6 is a schematic diagram of an example of mind map adjustment provided by the embodiment of the present application.
  • Fig. 7 is a schematic diagram of an example of mind map adjustment provided by the embodiment of the present application.
  • Fig. 8 is a schematic diagram of an example of mind map adjustment provided by the embodiment of the present application.
  • FIG. 9 is a schematic flowchart of a method for adjusting a mind map provided in an embodiment of the present application.
  • FIG. 10 is a schematic structural diagram of a mind map adjustment device provided in an embodiment of the present application.
  • Fig. 11 is a schematic structural diagram of a style display unit provided by an embodiment of the present application.
  • Fig. 12 is a schematic structural diagram of an area determination unit provided by an embodiment of the present application.
  • Fig. 13 is a schematic structural diagram of a relationship determination unit provided by an embodiment of the present application.
  • Fig. 14 is a schematic structural diagram of a mind map adjustment unit provided by an embodiment of the present application.
  • Fig. 15 is a schematic structural diagram of an interactive tablet device provided by an embodiment of the present application.
  • the mind map adjustment method and mind map adjustment device provided in the embodiments of the present application can be applied to scenarios requiring analysis and summary, such as meeting planning and meeting records.
  • the devices used in the mind map adjustment method provided in the embodiments of the present application include but are not limited to mobile phones, personal computers, notebook computers, interactive tablets and other terminal devices with display functions.
  • the display device has a touch screen, which can be controlled by The stylus, the user's finger, etc. control the nodes in the mind map to perform operations.
  • the mind map adjustment method is applied in the whiteboard application software of the interactive tablet.
  • An interactive tablet can be an integrated device that controls the content displayed on the display screen and realizes human-computer interaction through touch technology. one or more functions.
  • the interactive panel does not include a limitation on the surface features of the display surface.
  • the surface features of the interactive panel may be a plane, a curved surface, or a combination of multiple planes.
  • the interactive tablet is installed with at least one operating system, wherein the operating system includes but is not limited to Android system, Linux system, Windows system and Huawei Hongmeng system, which are used to control and coordinate the interactive tablet and external devices, so that the interactive tablet
  • the operating system includes but is not limited to Android system, Linux system, Windows system and Huawei Hongmeng system, which are used to control and coordinate the interactive tablet and external devices, so that the interactive tablet
  • Various independent hardware in the system can work in coordination as a stable whole, and the architectural level where the operating system is located is defined as the system layer.
  • the interactive tablet is installed with applications developed to meet different fields and different problems of users, and its corresponding architecture level is the application layer.
  • at least one application program with a writing function may be installed on the interactive tablet.
  • the application program having the writing function may be an application program provided by the operating system, and meanwhile, may also be an application program downloaded from a third-party device or a server.
  • the application program in addition to the writing function based on the touch operation, the application program also has other editing functions, such as functions such as deleting functions, inserting tables, inserting pictures, illustrating graphics, drawing tables, and drawing graphics.
  • the interactive panel includes at least one display screen.
  • the interactive tablet is configured with a display screen with touch function
  • the display screen with touch function may be an infrared display screen, a capacitive display screen, a resistive display screen, an electromagnetic display screen, or a pressure-sensitive display screen.
  • the interactive panel detects the touch position and responds according to the touch position to realize the touch function.
  • the touch sensing module is an infrared touch frame
  • the collected touch signals may include a signal indicating that infrared rays are blocked
  • the converted touch signal may include a position touch signal
  • the position touch signal may include an X of the touch position. coordinates and Y coordinates.
  • the touch sensor module is a capacitive touch panel, and the touch signal collected by it may include the current flowing through each electrode of the touch screen, and the converted touch signal may include a position touch signal, and the position touch signal may include The X and Y coordinates of the touch location.
  • the touch sensor module is a resistive touch panel, the touch signal collected by it may include the voltage of the touch position, the converted touch signal may include a position touch signal, and the position touch signal may include the X of the touch position coordinates and Y coordinates.
  • the touch sensor module is an electromagnetic board, and the touch signal collected by it may include the variation of the magnetic flux and the frequency of the received electromagnetic signal, and the converted touch signal may include the frequency corresponding to the variation of the magnetic flux.
  • a position touch signal, a pressure-sensitive signal corresponding to the frequency, the position touch signal may include the X coordinate and Y coordinate of the touch position; the pressure-sensitive signal may include a pressure value.
  • the touch sensing module is a pressure sensor
  • the tactile signal collected by it may include a pressure signal
  • the converted touch signal may include a position touch signal
  • the position touch signal may include the X coordinate and Y coordinate of the touch position. coordinate.
  • a whiteboard application refers to an application for users to perform operations such as writing and displaying. It can be used to generate handwriting according to the user's writing operations on the interface of the whiteboard application, and can also be used to insert and display multimedia elements on the interface of the whiteboard application.
  • the multimedia elements May include graphs, images, tables, documents, audio files and/or video files.
  • users can implement operations such as writing, drawing, and erasing similar to the physical blackboard, and further have better digital functions such as moving, saving, zooming, inserting pictures, color adjustment, and stroke thickness settings.
  • the whiteboard application can also be named as writing application, electronic whiteboard application, collaborative whiteboard application, etc. No matter how the name is changed, as long as the application is used to realize the above functions, it is equivalent to the whiteboard application in this application.
  • FIG. 1 provides a schematic diagram of a mind map adjustment scene according to the embodiment of the present application.
  • the first mind map set by the user can be displayed on the display screen of the terminal device used to implement the method, by obtaining the node that the user selects to move on the first mind map, for example: select " The three nodes "Branch Topic 2", “Sub Topic 3” and “Sub Topic 4" are used as moving nodes, and the selected nodes will be prompted, such as "Branch Topic 2", “Sub Topic 3” and "Sub Topic 4" Check the prompt next to the three nodes; then control the node to move into the adsorption area, and connect the node with the corresponding adsorption node in the adsorption area.
  • the mind map adjustment device adjusts the position and size of all nodes on the first mind map, for example: reduce the “Branch Topic 1" and “Branch Topic 3” ", reduce the height of "Branch Topic 2", and keep the height of "Branch Topic 2" consistent with "Subtopic 1", “Subtopic 5", etc.
  • Target node control the target node to move according to the mobile operation. If the target node is within the range of the first adsorption area of the adsorption node, the target node will be adsorbed to the adsorption node, and the mind map will be updated.
  • FIG. 2 provides a schematic flowchart of a method for adjusting a mind map according to an embodiment of the present application. As shown in FIG. 2 , the method in this embodiment of the present application may include the following steps S101-S107.
  • the first touch operation triggered in the application interface can be monitored in real time, and the first touch operation can be an operation track generated by the user using a finger, a stylus, etc. in the application interface , can be used for writing in the application interface, or setting nodes in the first mind map displayed on the application interface, etc.
  • the first touch operation is a writing operation
  • the first touch operation is a touch operation outside the area where the first mind map is located in the application interface
  • a third adsorption area is set for the first mind map
  • the third adsorption area may be the adsorption area of the first mind map. If a node exists in the third adsorption area, it means that the node belongs to the first mind map.
  • the third adsorption area is used to divide the area where the first mind map is located in the application interface, and other areas except the first mind map.
  • the first touch operation does not fall within the range of the third adsorption area, it is determined that the first touch operation is a writing operation; otherwise, the first touch operation is determined as a node selection operation for the first mind map.
  • the handwriting corresponding to the writing operation can be displayed in the application interface.
  • the display method of the handwriting can be displayed following the writing operation, or it can be displayed on the recorded track after the writing operation is completed.
  • One-time display the specific display method can be set according to the actual situation.
  • the handwriting and the first mind map are independent elements, which can be separated Make adjustments, for example, when the handwriting is selected for movement, the first mind map remains unchanged, and vice versa.
  • the first touch operation is a node selection operation
  • the first touch operation is a touch operation in the area where the first mind map is located in the application interface
  • the node selection operation performed on all nodes included in the first mind map refers to the mind map set by the user
  • the node selection operation refers to the operation of selecting nodes.
  • the mind map is displayed in the application interface of the interactive device such as the whiteboard application. If the user wants to adjust the position of the node in the mind map in the interactive application interface, he needs to select the selection node in the first mind map in the interactive device, and then select Selected nodes for operation processing.
  • each branch can have multiple nodes, and each node is attached to the branch to form a parent-child node relationship, that is, the first node on the same branch can be the parent node of the second node, and the first node on the same branch can be the parent node of the second node.
  • the second node can be a child node of the first node. If a node has only child nodes without a parent node, the node is determined to be the root node.
  • a node if a node has no parent node and child nodes, the node is determined to be the root node; if the target node is located at If there are two or more nodes on the same branch, there must be at least a pair of parent-child relationships. As shown in Figure 1, “root node”, “branch topic 1" and “child topic 1” are located on the same branch, and “root node “ is the parent node of "Branch Topic 1", and "Branch Topic 1" is the parent node of "Subtopic 1".
  • the target node can be one node or multiple nodes;
  • the target node can be a node of the same branch, or a node of a different branch, that is, the target node can be the first node, or a child node of the first node and the first node, or the first node and the second node, may also be child nodes of the first node and the second node, etc.
  • the mind map adjustment device obtains the movement operation for the target node, and controls the target node to move according to the movement operation;
  • the movement operation can be a sliding operation of the user's finger or stylus on the mind map adjustment device, or it can be The finger click operation on the thinking path adjustment device, etc.;
  • the target node moves according to the movement operation, which can be the target node moves according to the movement direction of the movement operation and the preset movement speed;
  • the mind map adjustment device can be real-time Display or delay display the moving process of the target node.
  • the mind map adjustment device obtains the initial position of the target node in the first mind map.
  • the initial position refers to the position before the target node is moved.
  • Obtaining the initial position can observe the position change process of the target node;
  • the move operation of the target node generates the removal style and preview style of the target node.
  • the removal style refers to the preview result of the target node that is always at the initial position during the movement;
  • the preview style refers to the connection between the preview target node and the adsorption node
  • the mind map adjusts the initial position of the device in the first mind map to generate the removal style of the target node;
  • the target node that the user moves is the preview style of the target node.
  • the preview style refers to the preview result of the target node that follows the movement during the movement process. It can be understood that the preview style can be the preview result of multiple nodes and connection relationships. There may be multiple sub-nodes hidden, and moving by operating the preview style can make the picture of the moving process more concise.
  • the preview style When the preview style is moved, the removed style of the target node is displayed at the initial position; when the preview style reaches the adsorption area of the adsorption node, the preview style can be adsorbed on the shape edge of the adsorption node, and the preview style and the adsorption node display connecting lines, such as As shown in Figure 1, "Branch Topic 2", “Subtopic 3” and “Subtopic 4" are target nodes, and "Branch Topic 3" is an adsorption node, while the preview style in Figure 1 only shows “Branch Topic 2", When “Branch Topic 2" is close to “Branch Topic 3", a connecting line is displayed between the two nodes.
  • the adsorption node is any other node in the first mind map except the target node node;
  • the mind map adjustment device obtains the coordinate position of the target node after moving as the end position, and determines the adsorption area where the node position is based on the preview style as the first adsorption area, and determines the end point position of the target node after the movement operation is completed.
  • the first adsorption area at determine the adsorption node corresponding to the first adsorption area, and display the target node at the end position, wherein the adsorption node is any other node in the first mind map except the target node.
  • the first association relationship between the target node and the adsorption node is determined.
  • the first association relationship refers to the connection relationship between the target node and the adsorption node. If the adsorption node has no child nodes, the target node is the child node of the adsorption node; if the adsorption node has child nodes, determine the positional relationship between the target node and the child nodes of the adsorption node.
  • the mind map adjustment device adjusts the first mind map based on the association relationship to obtain the second mind map. It can be understood that after the nodes in the first mind map are moved, the positions between nodes The relationship will change. There is no node at the position before the target node is moved, and new nodes are added at the position after the target node is moved. The distribution of nodes with different spacing affects the beauty of the mind map. Therefore, it is necessary to perform adjustment processing on the first mind map. Adjust the node attributes of all nodes in the first mind map, the node attribute information includes at least one of node position, node size and node shape, and determine the adjusted first mind map as the second mind map, and Display the second mind map.
  • the target node by selecting the target node whose position needs to be adjusted in the mind map, the target node is controlled to move according to the movement operation.
  • the target node is within the range of the first adsorption area of the adsorption node, the target node is adsorbed to the adsorption node , and update the mind map, you can adjust the node position through the set adsorption area and the association between the nodes, reduce the operational complexity of node position adjustment, and improve the efficiency of node position adjustment.
  • Figure 3 provides a schematic flow chart of a mind map adjustment method for the embodiment of the present application, which is used to further refine the embodiment shown in Figure 2, as shown in Figure 3, the method of the embodiment of the present application
  • the following step S201-step S214 may be included.
  • step S103 specifically includes the following steps S201-S202:
  • the mind map adjustment device acquires the operation mode for the first mind map, and the operation mode is used to represent the operation mode of the mind map, and is specifically used to set different operation modes for selecting target nodes, and determine that the node selection operation satisfies the operation
  • the node selection method corresponding to the mode is based on the node selection operation to obtain the selected target node in the first mind map; different modes of node selection are provided in different operation modes, which improves the flexibility of node selection.
  • the operation mode is the writing operation mode
  • the node selection method is a long press operation
  • the writing operation mode refers to adjusting the first mind map during the process of adding nodes, deleting nodes, etc. to edit the content of nodes in the first mind map
  • the mode of operation in which the position and association relationship of the nodes in the Obtain the target node corresponding to the long-press operation.
  • the long-press operation can be a touch object such as a stylus, a finger, and long-press the node to be selected in the first mind map for more than a fixed time.
  • the fixed time can be set according to the demand, which is understandable Yes, long pressing a node for more than a fixed time can prevent the user from touching the node by mistake, resulting in wrong node selection.
  • the first mind map acquires that the first node is long pressed for more than 2 seconds
  • the first node is determined to be the target node.
  • the operation mode is the writing operation mode
  • the input click operation is obtained in the first mind map, and the target node corresponding to the point operation is obtained, and the click operation can be at least one click on a touch object such as a stylus or a finger Nodes to be selected in the first mind map;
  • the node selection method is the sliding operation
  • the selection operation mode refers to the location where the first mind map adjusts the position and association relationship of the nodes in the first mind map after the content editing of the nodes is completed.
  • mode of operation Obtain the target node within the range of the sliding area of the sliding operation; the sliding operation can be a touch object such as a stylus, a finger touching a node during the sliding process in the first mind map, or clicking a single node, or simultaneously Click on multiple nodes, or draw a marquee containing the nodes in the first mind map, for example, touch the first node during the sliding operation mode of the first mind map, and confirm the first node as the target node.
  • node selection operation in different operation modes can be customized and set, and this embodiment of the present application provides only an optional implementation manner.
  • content editing functions such as adding nodes and deleting nodes cannot be performed.
  • the selected target node is obtained in the first mind map, and the target node displays a selection prompt, which can be a rectangular box surrounding the target node, or a tick generated next to the target node. Prompt information that has the effect of distinguishing nodes such as selection symbols. If the selected node has child nodes, the child nodes will also be selected.
  • the stylus clicks on the "Branch Topic 1" node to obtain the "Branch Topic 1" node and its child nodes “Subtopic 1” and “Subtopic 2” as target nodes;
  • the nodes "branch topic 1" and “subtopic 3” touched by the stylus from position A to position B, so "branch topic 1", “subtopic 1” ”, “Subtopic 2” and “Subtopic 3” are determined as target nodes.
  • the results of the adsorption can be displayed to the user, which is convenient for the user to determine the position of the node to move or adjust the position of the node to move.
  • step S104 the following steps S203-S204 are specifically included:
  • the root node in the first mind map can have multiple branches, and each branch can have multiple nodes.
  • the mind map adjustment device obtains the second adsorption area corresponding to each node on each branch, and the second adsorption The area refers to the area where the target node can be adsorbed with each node.
  • the mind map adjustment device obtains the node position of each node on each branch in the first mind map, the second association relationship between each node and the vertical position of the center, based on the node position of each node, each The second association relationship among the nodes and the center vertical position of each node respectively determine the second adsorption area corresponding to each node.
  • the mind map adjustment device divides the first mind map into an XY coordinate system, the node position of the node includes the coordinate position of the node in the XY coordinate system, the second association relationship between each node includes the connection relationship between nodes, etc., the center
  • the vertical position is the position set for the shape of the node, generally set at the midpoint of the bisector of the shape of the node, for example, if the shape of the first node is a rectangle, the vertical position of the center of the first node is located at the midpoint of the diagonal of the rectangle ; If the shape of the first node is a circle, then the center vertical position of the first node is located at the center of the circle.
  • the second adsorption region may be determined as the first adsorption region.
  • the boundaries of the second adsorption area of two adjacent nodes can be close to each other or overlap, and adjacent The second adsorption area of two nodes has no intersection; if the second adsorption area of each node on each branch has intersection, it cannot be determined that the target node after moving is located in the adsorption node corresponding to the first adsorption area. Therefore, the first thinking There is no intersection between the second adsorption areas of any two nodes in the map;
  • the node determines whether the node is the root node. If the node is not the root node, then determine the positional relationship between the node and the root node; after determining the positional relationship between the node and the root node, determine whether the node has A node is determined based on the judgment result to correspond to the second adsorption area.
  • the center vertical line of the first node is determined as the negative X boundary of the second adsorption area, and the distance from the positive edge of the shape of the first node
  • a line segment with a fixed length is determined as the positive X boundary of the second adsorption area
  • the center vertical line of the first node is determined as the second adsorption
  • the line segment with a fixed length from the negative shape edge of the first node is determined as the negative X boundary of the second adsorption area; the fixed length can be adjusted according to requirements;
  • X Positive boundary can be a collection of center vertical lines of multiple child nodes, not necessarily a straight line; the center vertical line is a line segment passing through the center vertical position; if the first node has child nodes in the negative direction of the X axis, then the first The central vertical line of the node is determined as the positive X boundary of the second adsorption area, and the central vertical line of the child nodes of the first node is determined as the negative X boundary of the second adsorption area; the negative X boundary can be the central vertical line of multiple child nodes A set, not necessarily a straight line.
  • the boundary information includes the coordinate point information including the first adsorption area, the distance between coordinate points, etc., and the area boundary information refers to the boundary information of the adsorption area; the maximum value of the Y coordinate of the X negative boundary and the Y of the X positive boundary The line segment connected by the maximum coordinate value is determined as the Y positive boundary, and the line segment connecting the Y coordinate minimum value of the X negative boundary and the Y coordinate minimum value of the X positive boundary is determined as the Y negative boundary; X negative boundary, X positive boundary, Y positive boundary and The Y negative boundary is the area boundary information of the first node, and the rectangular area connected based on the area boundary information is determined as the second adsorption area of the first node; the positive edge of the shape of the first node refers to the shape of the first node Boundary in the positive direction of the X axis.
  • the first node has two second adsorption areas.
  • the second adsorption area in the positive direction of the X axis is defined as the X positive second adsorption area, and the steps of determining the X positive second adsorption area are the same as determining "the first node is located in the positive direction of the X axis of the root node, and the first node does not have children
  • the steps of the second adsorption area of node" are the same;
  • the second adsorption area in the negative direction of the X axis is defined as the X negative second adsorption area, and the steps of determining the X negative second adsorption area are the same as determining "the first node is located at the root node X In the negative direction of the axis, and the first node has no child nodes", the steps of the second adsorption area are the same.
  • the length of the positive X boundary is consistent with the length of the negative X boundary. If the first node has no child nodes, the length of the positive X boundary of the first node is the height of the shape of the first node plus a fixed length. If the first node has child nodes, the length of the positive X boundary of the first node is the sum of the heights of the positive X boundaries of all child nodes of the first node plus a fixed length.
  • Branch Topic 1 is the first node, and it is located in the negative direction of the X-axis of the root node.
  • Line segment L1 is the central vertical line of "Branch Topic 1", that is, the positive X boundary of "Branch Topic 1”
  • the line segment L2 passing through the center vertical position D2 of "Subtopic 1” is determined as the central vertical line of "Subtopic 1” , that is, the X negative boundary of "Branch Topic 1”
  • the line segment L3 and the line segment L4 are the connection lines between the X negative boundary and the X positive boundary, and based on the area enclosed by the line segments L1, L2, L3, and L4, the corresponding the second adsorption zone;
  • the mind map adjustment device determines the third adsorption area of the first mind map based on the second adsorption area corresponding to each node, and the third adsorption area of the first mind map corresponds to all nodes of the first mind map. It can be understood that the ranges of the second adsorption areas of the two nodes do not overlap each other, and the second adsorption areas corresponding to all nodes in the first mind map form the third area of the first mind map.
  • Adsorption area Adsorption area
  • the positive Y boundary of the maximum value in the Y-axis direction of the second adsorption area and determine the positive Y boundary of the maximum value in the Y-axis direction as the positive Y boundary of the third adsorption area; obtain the minimum Y-axis direction of the second adsorption area
  • the Y negative boundary of the value, the line segment that determines the fixed distance of the Y negative boundary of the minimum value in the Y axis direction is the Y negative boundary of the third adsorption area; as shown in Figure 7, the Y axis of the Y positive boundary of the adsorption area C1 and the adsorption area C2 If the direction is the largest, the Y positive boundary of the third adsorption area is the line segment S1 passing through the Y positive boundaries of the adsorption area C1 and the adsorption area C2, and the Y axis direction of the Y negative boundary of the adsorption area C4 and adsorption area C7 is the smallest, then
  • the set of the positive X boundaries of the second adsorption area corresponding to the node with the maximum value in the X axis direction of each branch of the root node is determined as the positive X boundary of the third adsorption area, Determine the negative X boundary of the second adsorption area of the root node as the negative X boundary of the third adsorption area;
  • the set S3 of boundaries is determined as the positive X boundaries of the third adsorption area.
  • the set of negative X boundaries of the second adsorption area corresponding to the node with the maximum value in the X-axis direction of each branch of the root node is determined as the X of the third adsorption area Negative boundary, determine the positive X boundary of the second adsorption area of the root node as the positive X boundary of the third adsorption area;
  • the set of positive X boundaries of the adsorption area corresponding to the node with the maximum value in the X-axis direction of each branch of the root node is determined as the positive X boundary of the third adsorption area
  • the set of negative X boundaries of the adsorption area corresponding to the node with the minimum value in the X-axis direction of each branch of the root node is determined as the negative X boundary of the third adsorption area; based on the positive Y boundary of the third adsorption area and the negative Y boundary of the third adsorption area
  • the boundary, the negative X boundary of the third adsorption area, and the positive X boundary of the third adsorption area constitute the third adsorption area of the rectangular area.
  • step S105 specifically includes the following steps S205-step S208:
  • the nodes of each branch in the first mind map are connected according to the parent-child node relationship. Therefore, on the same branch, the closer the node is to the root node, the higher the node priority is, and the target node is obtained Node priority on each branch, the target node contains nodes and sub-nodes of different branches, obtain the highest priority node in the target node, adjust the mind map device to divide the priority of the nodes in the target node, and determine the different nodes contained in the target node The node closest to the root node in a branch is the highest priority node of the branch.
  • the preview style corresponding to the node with the highest priority among the target nodes is generated.
  • the preview style refers to hiding the nodes except the node with the highest priority, and only displays the node with the highest priority on each branch of the target node.
  • the preview style can make the moving process of the node more concise, and can prevent the target node from covering the adsorption node too much.
  • the mind map adjustment device generates the removal style of the target node while generating the preview style;
  • the removal style refers to the preview result of the target node that is always at the initial position during the moving process.
  • the preview style refers to the preview result of the target node that follows the movement during the movement process. It is understandable that the preview style can be the preview result of multiple nodes and connection relationships, and the mind map adjustment device is displayed at the initial position.
  • the removal style of the target node and display the preview style of the target node during the moving process, which can prompt the user the coordinate position of the target node and the coordinate position to which the target node is moved during the process of moving the node.
  • both the removal style and the preview style have hints that are inconsistent with the shape appearance of the target node.
  • all nodes in the target node except the node with the highest priority are expanded.
  • a virtual button between the parent node and the child node corresponding to the parent node in the first mind map.
  • the virtual button is used to expand or hide the child node.
  • clicking the virtual button will hide Child node; when the child node is hidden, clicking the virtual button will expand the child node.
  • the removal style and the preview style are eliminated, and at the same time, the node with the highest priority of each branch in the target node is determined as a child node of the adsorption node;
  • step S106 before step S106, the following steps S209-step S210 are specifically included:
  • the mind map adjustment device acquires the second node closest to the preview style in the first mind map in real time, and the second node refers to the adsorption node closest to the preview style.
  • the mind map adjustment device uses a preset display format to display the fourth adsorption area of the second node.
  • the display format can be to increase the brightness of the fourth adsorption area, or to change the color of the fourth adsorption area, etc.
  • the fourth adsorption area refers to the adsorption area of the second node.
  • step S107 may include the following steps S211-step S212.
  • the mind map adjustment device determines the first adsorption area where the end point is located based on the end point position and the boundary information of the second adsorption area corresponding to each node.
  • the adsorption node is any other node except the target node in the first mind map, and each node refers to any other node except the target node.
  • the mind map adjustment device determines the first adsorption area where the end point is located. It needs to traverse from the root node, first traverse the root node, and determine whether the end point is in the positive direction of the X-axis of the root node or the negative direction of the X-axis, and then Traverse the nodes on each branch; determine the first adsorption area where the end point is located based on the end point position and the second adsorption area of the first mind map.
  • the end point is determined as the node in the positive direction of the X-axis of the root node, and the list of child nodes in the positive direction of the X-axis of the root node and the positive direction of the X-axis are obtained A list of first-level child nodes; if the X-axis coordinate of the end point is smaller than the X-axis coordinate of the vertical position of the root node's midpoint, the end point is determined as the node in the negative direction of the X-axis of the root node, and the child in the negative direction of the X-axis of the root node is obtained A node list and a list of first-level child nodes in the negative direction of the X axis;
  • the child node list records the child nodes of the node in the X-axis direction
  • the first-level child node list records the child nodes of the root node; based on the child node list, it is judged whether the root node has child nodes in the X-axis direction; If the number of node lists is 0, it is determined that the root node has no child nodes in the positive direction of the X-axis. If the number of child node lists in the negative direction of the X-axis is 0, it is determined that the root node has no child nodes in the negative direction of the X-axis.
  • the target node determines whether the X-axis coordinate of the end point is smaller than the X-axis coordinate of the positive X boundary of the root node's X positive second adsorption area; if so, the target node is adsorbed to the root node, The target node becomes the first positive X-axis child node of the root node; if not, the target node cannot be adsorbed to the positive X-axis direction of the root node, and the target node is out of the area of the first mind map.
  • the target node determines whether the X-axis coordinate of the end point is greater than the X-axis coordinate of the X-negative second adsorption area of the root node; if so, the target node is adsorbed to the root node, The target node becomes the first negative X-axis child node of the root node; if not, the target node cannot be adsorbed to the negative X-axis direction of the root node, and the target node is out of the area of the first mind map.
  • the end point is located in the positive direction of the X-axis of the root node, and the number of child node lists is not 0, it is determined that the root node has child nodes in the positive direction of the X-axis, and a list of first-level child nodes in the positive direction of the X-axis is obtained.
  • the mind map adjustment device starts to traverse the node in the positive direction of the X-axis of the root node and the first child node in the list of child nodes.
  • the first child node is a child node of the root node.
  • the traversal can be from the positive direction of the Y-axis to the negative direction of the Y-axis.
  • the order judgment of the direction can also be the order judgment from the negative direction of the Y axis to the positive direction of the Y axis;
  • the end point is located in the first child node.
  • the adsorption area of the node or the adsorption area of the child node located in the first child node determine the child node of the first child node as the second child node, and obtain the X-axis coordinate of the center vertical position of the second child node and the first child node If the X-axis coordinate of the center vertical position of the end point is smaller than the X-axis coordinate of the center vertical position of the second child node and greater than the X-axis coordinate of the center vertical position of the first child node, then the end point position is determined as The sibling node of the second child node;
  • the end point is located in the negative direction of the X-axis of the root node, and the number of child node lists is not 0, then it is determined that the root node has child nodes in the negative direction of the X-axis, obtain the list of first-level child nodes in the negative direction of the X-axis, and obtain the X of the root node Negative boundary information of the second adsorption area, the X-axis coordinate of the vertical position of the center of the root node is determined as the X of the root node and the positive X boundary of the second adsorption area;
  • the mind map adjustment device starts to traverse the node in the negative X-axis direction of the root node and the first child node in the child node list; if the Y-axis coordinate of the end point is greater than the Y-axis coordinate of the Y-negative boundary of the first child node, and the end point If the Y-axis coordinate of the position is smaller than the Y-axis coordinate of the positive Y boundary of the first child node, it is determined that the end position is located in the adsorption area of the first child node or in the adsorption area of the child node of the first child node; the first child node's The child node is determined as the second child node, and the X-axis coordinate of the center vertical position of the second child node and the X-axis coordinate of the center vertical position of the first child node are obtained, if the X-axis coordinate of the end position is greater than the center of the second child node The X-axis coordinate of the vertical position is smaller
  • a sibling node is two adjacent nodes connected to the same parent node; if the Y-axis coordinate of the end point is greater than the Y-axis coordinate of the center vertical position of the second child node, then the target node is determined to be the brother node of the second child node, The brother node is the node with the largest Y-axis coordinate among the sibling nodes. If the Y-axis coordinate of the end point is smaller than the Y-axis coordinate of the center vertical position of the second child node, then the target node is determined to be the younger node of the second child node, and the younger node is The node with the smallest Y-axis coordinate among sibling nodes.
  • the first child node may be the first node or the second node; the second child node may be the first node or the second node.
  • the mind map adjustment device before determining the first adsorption area where the end point is located based on the boundary information of the end point position and the boundary information of the second adsorption area corresponding to each node, performs Boundary information, to obtain the adsorption result of the target node and the first mind map; if the adsorption result indicates that the end position is in the third adsorption area, then determine the end point position based on the end point position and the boundary information of the second adsorption area corresponding to each node The step of the first adsorption area; if the adsorption result indicates that the end position is not in the third adsorption area, then generate a third mind map based on the target node.
  • the target node and the first mind map based on the end point position and the boundary information of the third adsorption area
  • obtain the target node and perform a move operation The adsorption result of the previous historical mobile node; if the adsorption result indicates that the end position is in the third adsorption area, then obtain the historical mobile node and the historical adsorption node.
  • the end position satisfies the boundary information of the second adsorption area corresponding to the historical adsorption node, then determine the second adsorption area corresponding to the historical adsorption node as the first adsorption area where the end point is located;
  • the end position does not meet the boundary information of the second adsorption area corresponding to the historical adsorption node, traverse the remaining nodes in each node except the historical adsorption node, and determine the end point based on the end point position and the boundary information of the second adsorption area corresponding to the remaining nodes
  • the historical adsorption node of the historical mobile node is obtained; based on the boundary information and the end position of the adsorption area of the historical adsorption node, the first adsorption area of the end point is determined.
  • the historical mobile node can be understood as the target node of the last operation before the target node of this operation is moved, and the historical adsorption node of the historical mobile node can be understood as the adsorption node adsorbed by the target node of the last operation;
  • the end position and the historical adsorption node are located in the positive direction of the root node's X-axis, and the X-axis coordinate of the end position is greater than the X-axis coordinate of the historical adsorption node, and the Y-axis coordinate of the end position is greater than the Y-axis coordinate of the Y negative boundary of the historical adsorption node , and the Y-axis coordinate of the end point is greater than the Y-axis coordinate of the Y positive boundary of the historical adsorption node, then it is judged that the first adsorption node corresponding to the end point is close to the position of the historical adsorption node, and the mind map adjustment device starts to traverse the X-axis of the root node The node in the positive direction and the first child node in the child node list, until the first adsorption node corresponding to the end point is obtained; if the X-axis coordinate of the end point is smaller than the X-
  • the end position and the historical adsorption node are located in the negative direction of the root node's X axis, and the X-axis coordinate of the end position is smaller than the X-axis coordinate of the historical adsorption node, and the Y-axis coordinate of the end position is greater than the Y-axis coordinate of the Y negative boundary of the historical adsorption node , and the Y-axis coordinate of the end point is greater than the Y-axis coordinate of the Y positive boundary of the historical adsorption node, then it is judged that the first adsorption node corresponding to the end point is close to the position of the historical adsorption node, and the mind map adjustment device starts to traverse the X-axis of the root node The node in the negative direction and the first child node in the child node list, until the first adsorption node corresponding to the end point is obtained; if the X-axis coordinate of the end point is greater than the X-
  • the mind map adjustment device obtains the coordinate information of the adsorption node corresponding to the first adsorption area, and determines the relationship between the target node and the adsorption node based on the Y-axis coordinate size comparison between the target node and the adsorption node;
  • the target node is adsorbed on the edge of the shape of the adsorption node, and the target node is determined to be the child node of the adsorption node, and the adsorption node is the parent node of the target node;
  • the adsorption node has child nodes, it is judged whether the Y-axis coordinate of the end position of the target node is greater than the Y-axis coordinate of the midpoint position of the child node, and smaller than the Y-axis coordinate of the midpoint position of the child node in the positive direction of the adjacent Y-axis , if yes, the target node is the sibling node of the child node, if not, the target node is the sibling node of the child node; the adsorption node is any other node in the first mind map except the target node.
  • step S108 may include the following steps S213-S214.
  • the mind map adjustment device adjusts the node attribute information of all nodes in the first mind map based on the association relationship, and the node attribute information includes at least one of node position, node size and node shape. Adjust the size of all nodes in the first mind map and the distance between nodes, adjust the new third adsorption area and the adsorption area of each node, and determine that the adjusted first mind map is the second mind map, and at the same time , the removed style and the preview style are erased. It can be understood that before the target node moves, each node in the first mind map determines the adsorption area based on the adjacent nodes.
  • the adsorption area corresponding to each node in the first mind map needs to be Readjust, and the third adsorption area of the first mind map will also be adjusted accordingly.
  • the mind map automatically updates the node attribute information between nodes, making the mind map more tidy and beautiful.
  • the target node by selecting the target node whose position needs to be adjusted in the mind map, the target node is controlled to move according to the movement operation. If the target node is located within the range of the first adsorption area of the adsorption node, the target node is adsorbed to the adsorption node , and update the mind map, realize the adjustment of the position of the node through the set adsorption area and the association between the nodes, avoiding the operation of adding and deleting nodes when adjusting the position of the node, and adjusting the position of the node by directly moving the node position, which reduces the operational complexity of node position adjustment and improves the efficiency of node position adjustment.
  • FIG. 9 provides a schematic flowchart of a method for adjusting a mind map according to an embodiment of the present application. It is used to further refine step S211 in the embodiment shown in FIG. 3 . As shown in FIG. 9 , the method in the embodiment of the present application may include the following steps S301 - S304.
  • steps S301-S302 in the embodiment of the present application reference may be made to the specific description of step S211 in the embodiment shown in FIG. 3 , and details are not repeated here.
  • a third mind map is generated based on the position of the target node
  • the target node before the position of the target node generates the third mind map, extend the blank canvas to display the third mind map on the canvas; clear the removal style of the first mind map, based on the first mind map
  • the association relationship between nodes adjusts the node attribute information of all nodes in the first mind map.
  • the mind map adjustment device adjusts the node attribute information of all nodes in the first mind map, and the node attribute information includes at least one of node position, node size and node shape. Adjust the size of all nodes and the distance between nodes in the first mind map, update the third adsorption area of the first mind map and the second adsorption area of each node, so as to generate the second mind map.
  • the third mind map is generated with the target node, which can Directly generate a new mind map by moving, reducing operations such as adding and deleting nodes in the mind map creation, and improving the efficiency of generating mind maps.
  • the mind map adjustment device 1 of the embodiment of the present application may include: an operation receiving unit 11, a handwriting writing unit 12, a node acquiring unit 13, a node moving unit 14, a style display unit 15, an area determining unit 16, A relationship determination unit 17 and a mind map adjustment unit 18 .
  • An operation receiving unit 11 configured to receive a first touch operation in the application interface
  • a handwriting writing unit 12 configured to confirm that the first touch operation is a writing operation, and write corresponding handwriting in the application interface
  • a node acquisition unit 13 configured to confirm that the first touch operation is a node selection operation for the first mind map, and acquire the selected target node in the first mind map based on the node selection operation;
  • the node moving unit 14 is used to obtain the movement operation for the target node, and obtain the initial position of the target node in the first mind map;
  • the style display unit 15 is used to move the target node based on the movement operation, and during the movement process, display the removal style of the target node at the initial position of the target node, and display the preview style of the target node following the movement operation;
  • the area determining unit 16 is used to determine the first adsorption area where the terminal position of the target node is located after the movement operation is completed, and determine the adsorption node corresponding to the first adsorption area, and the adsorption node is the target node except in the first mind map Any other node outside;
  • a relationship determining unit 17, configured to determine a first association relationship between the target node and the adsorption node
  • the mind map adjustment unit 18 is configured to adjust the first mind map based on the first association relationship, eliminate the removal style and the preview style, and display the second mind map obtained after the adjustment process.
  • the target node by selecting the target node whose position needs to be adjusted in the mind map, the target node is controlled to move according to the movement operation.
  • the target node is within the range of the first adsorption area of the adsorption node, the target node is adsorbed to the adsorption node , and update the mind map, you can adjust the node position through the set adsorption area and the association between the nodes, reduce the operational complexity of node position adjustment, and improve the efficiency of node position adjustment.
  • the node acquiring unit 13 is specifically used to acquire the operation mode for the first mind map in the interactive application interface, if the node selection operation satisfies the node selection method corresponding to the operation mode, then based on the node selection operation in the first mind map Get the selected target node in ; if the operation mode is the writing operation mode, the node selection method is the long press operation; if the operation mode is the selection operation mode, the node selection method is the sliding operation.
  • FIG. 11 provides a schematic structural diagram of the style display unit 1 for the embodiment of the present application.
  • the style display unit 15 may include:
  • the priority acquisition subunit 151 is used to acquire the node priority of the target node on each branch of the first mind map;
  • a preview style generation subunit 152 configured to generate a preview style of the target node based on the node with the highest node priority in each branch;
  • the style display subunit 154 is configured to display the removed style of the target node at the initial position, and display the preview style of the target node during the moving process.
  • FIG. 12 provides a schematic structural diagram of the area determination unit in this embodiment of the present application.
  • the area determining unit 16 may include:
  • the second adsorption area acquisition subunit 161 is configured to acquire the second adsorption area corresponding to each node in the first mind map;
  • the second adsorption area acquisition subunit 161 is specifically used to acquire the node position of each node in the first mind map and the second association relationship between each node, and acquire the center vertical position of each node;
  • the second association relationship and the center vertical position of each node respectively determine the second adsorption area corresponding to each node; determine that the first node in each node has child nodes, based on the first node The position of the node, the second association relationship, the center vertical line of the first node and the center vertical line of the child node determine the area boundary information of the first node;
  • Determining that the first node in each node does not have child nodes based on the node position of the first node, the second association relationship and the central vertical line of the first node, determining the area boundary information of the first node; based on the area of the first node Boundary information generates the second snapping area of the first node.
  • the third adsorption area determination subunit 162 is configured to determine the third adsorption area of the first mind map based on the second adsorption area corresponding to each node, and the third adsorption area is the adsorption area of the first mind map.
  • FIG. 13 provides a schematic structural diagram of a relationship determining unit in this embodiment of the present application.
  • the relationship determining unit 17 may include:
  • the adsorption result determination subunit 171 is used to obtain the adsorption result of the target node and the first mind map based on the end point position and the boundary information of the third adsorption area;
  • the adsorption result determination subunit 171 is specifically used to obtain the adsorption result of the target node and the first mind map based on the end point position and the boundary information of the third adsorption area; determine that the adsorption result indicates that the end point position is not in the third adsorption area, based on the target
  • the node generates a third mind map; determining that the adsorption result indicates that the terminal position is in the third adsorption area, and based on the terminal position and the boundary information of the second adsorption area corresponding to each node, determine the first adsorption area where the terminal position is located.
  • the first association relationship determination subunit 172 acquires the adsorption node corresponding to the first adsorption area, and determines the first association relationship between the target node and the adsorption node;
  • FIG. 14 provides a schematic structural diagram of a mind map adjustment unit for the embodiment of the present application.
  • the mind map adjustment unit 18 may include:
  • the mind map adjustment subunit 181 is used to adjust the distance and position between each node in the first mind map based on the first association relationship and the end position;
  • the mind map display subunit 182 is configured to display the second mind map obtained after adjustment processing.
  • the target node by selecting the target node whose position needs to be adjusted in the mind map, the target node is controlled to move according to the movement operation. If the target node is located within the range of the first adsorption area of the adsorption node, the target node is adsorbed to the adsorption node , and update the mind map, realize the adjustment of the position of the node through the set adsorption area and the association between the nodes, avoiding the operation of adding and deleting nodes when adjusting the position of the node, and adjusting the position of the node by directly moving the node position, which reduces the operational complexity of node position adjustment and improves the efficiency of node position adjustment.
  • Different modes of node selection are provided in different operation modes, which improves the flexibility of node selection; preview styles and removal styles are added to improve user interaction experience, and the results of adsorption can be displayed to users, which is convenient for users to determine node movement
  • the position of the node or adjust the position of the node movement; the mind map automatically updates the node attribute information between nodes, making the mind map more neat and beautiful.
  • the interactive tablet device 1000 may include: at least one processor 1001, at least one memory 1002, at least one touch component 1003, at least one input and output interface 1004, at least one communication bus 1005 and at least one display component 1006.
  • the processor 1001 may include one or more processing cores.
  • the processor 1001 uses various interfaces and lines to connect various parts in the entire interactive tablet device 1000, by running or executing instructions, programs, code sets or instruction sets stored in the memory 1002, and calling data stored in the memory 1002, Various functions of the terminal 1000 are performed and data is processed.
  • the memory 1002 may be a high-speed RAM memory, or a non-volatile memory, such as at least one disk memory.
  • the memory 1002 may also be at least one storage device located away from the aforementioned processor 1001 .
  • the touch component 1003 may optionally include a piezoelectric sensing module or other touch elements.
  • the communication bus 1005 is used to realize connection communication between these components.
  • the display component 1006 may be a display interface of a touch panel.
  • the memory 1002 as a storage medium may include an operating system, a network communication module, an input/output interface module, and a mind map adjustment program.
  • the input and output interface 1004 is mainly used to provide an input interface for the user and the access device, and obtain data input by the user and the access device.
  • the processor 1001 can be used to call the mind map adjustment program stored in the memory 1002, and specifically perform the following operations:
  • the target node is moved based on the move operation, and during the move process, the removal style of the target node is displayed at the initial position of the target node, and the preview style of the target node is displayed following the move operation;
  • the first mind map is adjusted based on the first association relationship, the removal style and the preview style are eliminated, and the second mind map obtained after the adjustment process is displayed.
  • the processor 1001 acquires the selected target node in the first mind map based on the node selection operation, specifically perform the following steps:
  • the node selection method is long press operation
  • the node selection method is the sliding operation.
  • processor 1001 may specifically perform the following steps:
  • the third adsorption area of the first mind map is determined based on the second adsorption area corresponding to each node, and the third adsorption area is the adsorption area of the first mind map.
  • the processor 1001 acquires the second adsorption area corresponding to each node in the first mind map, specifically perform the following steps:
  • the second adsorption area corresponding to each node is respectively determined.
  • the processor 1001 determines the second adsorption area corresponding to each node based on the node position of each node, the second association relationship, and the vertical center position of each node, the processor 1001 specifically performs the following steps:
  • the second adsorption area of the first node is generated based on the area boundary information of the first node.
  • processor 1001 displays the removal style of the target node at the initial position of the target node, and displays the preview style of the target node following the movement operation, specifically perform the following steps:
  • the processor 1001 determines the first association relationship between the target node and the adsorption node, specifically perform the following steps:
  • the adsorption node corresponding to the first adsorption area is obtained, and the first association relationship between the target node and the adsorption node is determined.
  • the processor 1001 determines the first adsorption area where the end point is located based on the end point position and the boundary information of the second adsorption area corresponding to each node, the processor 1001 specifically performs the following steps:
  • the processor 1001 determines the first adsorption area in which the end position is located based on the end position and the boundary information of the second adsorption area corresponding to each node, based on the end position and the boundary information of the second adsorption area corresponding to each node, after the processor 1001 executes the determination that the adsorption result indicates that the end position is in the third adsorption area, Specifically perform the following steps:
  • the end position does not meet the boundary information of the second adsorption area corresponding to the historical adsorption node, then traverse the remaining nodes in each node except the historical adsorption node, and determine the end point based on the end point position and the boundary information of the second adsorption area corresponding to the remaining nodes The first snap zone the position is in.
  • the processor 1001 determines the first adsorption area where the end point position of the target node is located after the moving operation is completed, and before determining the adsorption node corresponding to the first adsorption area, the processor 1001 specifically performs the following steps:
  • the fourth adsorption area of the second node is displayed in a preset display format.
  • the processor 1001 determines the first association relationship between the target node and the adsorption node, specifically perform the following steps:
  • a first association relationship between the target node and the adsorption node is determined.
  • the processor 1001 when the processor 1001 performs adjustment processing on the first mind map based on the first association relationship, eliminates the removal style and the preview style at the end position, and displays the second mind map obtained after the adjustment process , perform the following steps:
  • the target node by selecting the target node that needs to be adjusted in the mind map, the target node is controlled to move according to the movement operation. If the target node is located within the range of the first adsorption area of the adsorption node, the target node is adsorbed to the adsorption node , and update the mind map, realize the adjustment of the position of the node through the set adsorption area and the relationship between the nodes, avoiding the operation of adding and deleting nodes when adjusting the position of the node, and adjusting the position of the node by directly moving the node position, which reduces the operational complexity of node position adjustment and improves the efficiency of node position adjustment.
  • Different modes of node selection are provided in different operation modes, which improves the flexibility of node selection; preview styles and removal styles are added to improve user interaction experience, and the results of adsorption can be displayed to users, which is convenient for users to determine node movement
  • the position of the node or adjust the position of the node movement; the mind map automatically updates the node attribute information between nodes, making the mind map more neat and beautiful.
  • the embodiment of the present application also provides a computer storage medium, and the computer storage medium can store a plurality of program instructions, and the program instructions are suitable for being loaded and executed by a processor as described in the above-mentioned embodiments shown in FIGS. 2-9 .
  • the method steps and the specific execution process refer to the specific description of the embodiments shown in FIGS. 2-9 , and details are not repeated here.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM) or a random access memory (Random Access Memory, RAM), etc.

Abstract

A mind map adjustment method, a storage medium, and a device. The method comprises: in an application interface, obtaining a selected target node in a first mind map on the basis of a node selection operation (S103); obtaining a movement operation for the target node (S104); moving the target node on the basis of the movement operation, and in the moving process, displaying the removal style of the target node at the initial position of the target node, and displaying the preview style of the target node following the movement process (S105); after the movement operation, determining a first adsorption area where the endpoint position of the target node is located, and determining an adsorption node corresponding to the first adsorption area (S106); determining a first association relationship between the target node and the adsorption node (S107); and performing adjustment processing on the first mind map on the basis of the first association relationship, and displaying a second mind map after the adjustment processing (S108). The adjustment of the node position can be implemented by setting the association relationship between the adsorption area and the node, the operation complexity of node position adjustment is reduced, and the node position adjustment efficiency is improved.

Description

一种思维导图调整方法、存储介质及设备A mind map adjustment method, storage medium and device 技术领域technical field
本发明实施例涉及通信技术领域,尤其涉及一种思维导图调整方法、存储介质及设备。The embodiments of the present invention relate to the field of communication technologies, and in particular, to a mind map adjustment method, storage medium and equipment.
背景技术Background technique
对于日常工作中所讨论的内容,人们往往可以通过手动在黑板中绘制图表的方式,以简洁明了的表现形式对讨论内容进行归纳总结,而伴随着计算机技术的开发和完善,现如今可以通过思维导图的形式进行问题分析和逻辑梳理。For the content discussed in daily work, people can often summarize the content of the discussion in a concise and clear form by manually drawing charts on the blackboard. With the development and improvement of computer technology, people can now use thinking Problem analysis and logic sorting in the form of maps.
目前,思维导图中对于节点的位置的调整方式,通常是删除需要调整位置的原节点,在预想的位置添加与原节点内容一致的新节点,该调整方式无法直接通过移动节点对思维导图的内容进行调整,调整节点位置的步骤繁琐。At present, the way to adjust the position of nodes in the mind map is usually to delete the original node that needs to be adjusted, and add a new node that is consistent with the content of the original node at the expected position. This adjustment method cannot directly adjust the mind map by moving the node. The content is adjusted, and the steps to adjust the node position are cumbersome.
发明内容Contents of the invention
本申请实施例提供一种思维导图调整方法、存储介质及设备,可以通过设置的吸附区域和节点之间的关联关系实现节点位置的调整,降低节点位置调整的操作复杂度,提升节点位置调整的效率。The embodiment of the present application provides a mind map adjustment method, storage medium and equipment, which can realize the adjustment of the node position through the set adsorption area and the association relationship between the nodes, reduce the operation complexity of the node position adjustment, and improve the node position adjustment s efficiency.
本申请实施例第一方面提供了一种思维导图调整方法,包括:The first aspect of the embodiment of the present application provides a mind map adjustment method, including:
在应用界面中,接收第一触控操作;In the application interface, receiving a first touch operation;
确认所述第一触控操作为书写操作,在所述应用界面中书写对应的笔迹;Confirming that the first touch operation is a writing operation, and writing corresponding handwriting in the application interface;
确认所述第一触控操作为针对第一思维导图的节点选择操作,基于所述节点选择操作在所述第一思维导图中获取所选择的目标节点;Confirming that the first touch operation is a node selection operation for the first mind map, and obtaining the selected target node in the first mind map based on the node selection operation;
获取针对所述目标节点的移动操作;acquiring a move operation for the target node;
基于所述移动操作移动所述目标节点,且移动过程中,在所述目标节点的初始位置上显示所述目标节点的移除样式,并跟随所述移动操作显示所述目标节点的预览样式;moving the target node based on the moving operation, and during the moving process, displaying the removal style of the target node at the initial position of the target node, and displaying the preview style of the target node following the moving operation;
在所述移动操作结束后,确定所述目标节点的终点位置所处的第一吸附区域,并确定第一吸附区域对应的吸附节点,所述吸附节点为所述第一思维导图中除所述目标节点外的其它任一节点;After the moving operation is finished, determine the first adsorption area where the terminal position of the target node is located, and determine the adsorption node corresponding to the first adsorption area, and the adsorption node is the one removed from the first mind map Any node other than the above target node;
确定所述目标节点与所述吸附节点之间的第一关联关系;determining a first association relationship between the target node and the adsorption node;
基于所述第一关联关系对所述第一思维导图进行调整处理,消除所述移除样式和所述预览样式,并显示调整处理后所得到的第二思维导图。Adjustment processing is performed on the first mind map based on the first association relationship, the removal style and the preview style are eliminated, and a second mind map obtained after the adjustment process is displayed.
本申请实施例第二方面提供了一种思维导图调整设备,包括:The second aspect of the embodiment of the present application provides a mind map adjustment device, including:
操作接收单元,用于在应用界面中,接收第一触控操作;An operation receiving unit, configured to receive a first touch operation in the application interface;
笔迹书写单元,用于确认所述第一触控操作为书写操作,在所述应用界面中书写对应的笔迹;A handwriting writing unit, configured to confirm that the first touch operation is a writing operation, and write corresponding handwriting in the application interface;
节点获取单元,用于确认所述第一触控操作为针对第一思维导图的节点选择操作,基于所述节点选择操作在所述第一思维导图中获取所选择的目标节点;A node acquiring unit, configured to confirm that the first touch operation is a node selection operation for the first mind map, and acquire the selected target node in the first mind map based on the node selection operation;
节点移动单元,用于获取针对所述目标节点的移动操作;a node moving unit, configured to acquire a moving operation for the target node;
样式显示单元,用于基于所述移动操作移动所述目标节点,且移动过程中,在所述目标节点的初始位置上显示所述目标节点的移除样式,并跟随所述移动操作显示所述目标节点的预览样式;a style display unit, configured to move the target node based on the moving operation, and display the removal style of the target node at the initial position of the target node during the moving process, and display the removal style of the target node following the moving operation The preview style of the target node;
区域确定单元,用于在所述移动操作结束后,确定所述目标节点的终点位置所处的第一吸附区域,并确定第一吸附区域对应的吸附节点,所述吸附节点为所述第一思维导图中除所述目标节点外的其它任一节点;An area determination unit, configured to determine a first adsorption area where the end point of the target node is located after the moving operation is completed, and determine an adsorption node corresponding to the first adsorption area, the adsorption node being the first adsorption node Any other node in the mind map except the target node;
关系确定单元,用于确定所述目标节点与所述吸附节点之间的第一关联关系;a relationship determining unit, configured to determine a first association relationship between the target node and the adsorption node;
思维导图调整单元,用于基于所述第一关联关系对所述第一思维导图进行调整处理,消除所述移除样式和所述预览样式,并显示调整处理后所得到的第二思维导图。A mind map adjustment unit, configured to adjust the first mind map based on the first association relationship, eliminate the removal style and the preview style, and display the second thought obtained after the adjustment process map.
本申请实施例第三方面提供了一种计算机存储介质,所述计算机存储介质存储有计算机程序,所述计算机程序包括程序指令,所述程序指令当被处理器执行时,执行上述的方法步骤。A third aspect of the embodiments of the present application provides a computer storage medium, where the computer storage medium stores a computer program, the computer program includes program instructions, and when the program instructions are executed by a processor, the above method steps are executed.
本申请实施例第四方面提供了一种交互平板设备,包括:处理器、显示组件、触摸组件;触摸组件用于接收节点选择操作和目标节点移动操作,并将处理信息发送到处理器,处理器用于执行上述方法步 骤,显示组件用于显示交互平板设备中所有节点的调整过程。The fourth aspect of the embodiment of the present application provides an interactive tablet device, including: a processor, a display component, and a touch component; the touch component is used to receive a node selection operation and a target node movement operation, and send processing information to the processor for processing The controller is used to execute the steps of the above method, and the display component is used to display the adjustment process of all nodes in the interactive tablet device.
本申请实施例中,通过在思维导图中选择需要调整位置的目标节点,控制目标节点按照移动操作进行移动,通过预览样式和移除样式实时显示目标节点的位置变化,确定目标节点与吸附节点的第一关联关系,并更新思维导图,实现了通过设置的吸附区域和节点之间的关联关系调整节点的位置,避免了调整节点的位置时执行节点的添加、删除等操作,可以通过直接移动节点调整节点的位置,降低了节点位置调整的操作复杂度,提升了节点位置调整的效率。In the embodiment of this application, by selecting the target node that needs to be adjusted in the mind map, the target node is controlled to move according to the movement operation, and the position change of the target node is displayed in real time through the preview style and the removal style, and the target node and the adsorption node are determined and update the mind map to adjust the position of nodes through the set adsorption area and the relationship between nodes, avoiding operations such as adding and deleting nodes when adjusting the position of nodes, and directly The mobile node adjusts the position of the node, which reduces the operational complexity of node position adjustment and improves the efficiency of node position adjustment.
附图说明Description of drawings
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present application. Those skilled in the art can also obtain other drawings based on these drawings without creative work.
图1是本申请实施例提供的一种思维导图调整的场景示意图;FIG. 1 is a schematic diagram of a mind map adjustment scenario provided by an embodiment of the present application;
图2是本申请实施例提供的一种思维导图调整方法的流程示意图;Fig. 2 is a schematic flow chart of a mind map adjustment method provided in the embodiment of the present application;
图3是本申请实施例提供的一种思维导图调整方法的流程示意图;Fig. 3 is a schematic flow chart of a mind map adjustment method provided in the embodiment of the present application;
图4是本申请实施例提供的一种思维导图调整的举例示意图;Fig. 4 is a schematic diagram of an example of mind map adjustment provided by the embodiment of the present application;
图5是本申请实施例提供的一种思维导图调整的举例示意图;Fig. 5 is a schematic diagram of an example of mind map adjustment provided by the embodiment of the present application;
图6是本申请实施例提供的一种思维导图调整的举例示意图;Fig. 6 is a schematic diagram of an example of mind map adjustment provided by the embodiment of the present application;
图7是本申请实施例提供的一种思维导图调整的举例示意图;Fig. 7 is a schematic diagram of an example of mind map adjustment provided by the embodiment of the present application;
图8是本申请实施例提供的一种思维导图调整的举例示意图;Fig. 8 is a schematic diagram of an example of mind map adjustment provided by the embodiment of the present application;
图9是本申请实施例提供的一种思维导图调整方法的流程示意图;FIG. 9 is a schematic flowchart of a method for adjusting a mind map provided in an embodiment of the present application;
图10是本申请实施例提供的一种思维导图调整设备的结构示意图;FIG. 10 is a schematic structural diagram of a mind map adjustment device provided in an embodiment of the present application;
图11是本申请实施例提供的样式显示单元的结构示意图;Fig. 11 is a schematic structural diagram of a style display unit provided by an embodiment of the present application;
图12是本申请实施例提供的区域确定单元的结构示意图;Fig. 12 is a schematic structural diagram of an area determination unit provided by an embodiment of the present application;
图13是本申请实施例提供的关系确定单元的结构示意图;Fig. 13 is a schematic structural diagram of a relationship determination unit provided by an embodiment of the present application;
图14是本申请实施例提供的思维导图调整单元的结构示意图;Fig. 14 is a schematic structural diagram of a mind map adjustment unit provided by an embodiment of the present application;
图15是本申请实施例提供的一种交互平板设备的结构示意图。Fig. 15 is a schematic structural diagram of an interactive tablet device provided by an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the application with reference to the drawings in the embodiments of the application. Apparently, the described embodiments are only some of the embodiments of the application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.
在下述介绍中,术语“第一”、“第二”仅为用于描述的目的,而不能理解为指示或暗示相对重要性。下述介绍提供了本申请的多个实施例,不同实施例之间可以替换或者合并组合,因此本申请也可认为包含所记载的相同和/或不同实施例的所有可能组合。因而,如果一个实施例包含特征A、B、C,另一个实施例包含特征B、D,那么本申请也应视为包括含有A、B、C、D的一个或多个所有其他可能的组合的实施例,尽管该实施例可能并未在以下内容中有明确的文字记载。In the following introduction, the terms "first" and "second" are only used for the purpose of description, and should not be understood as indicating or implying relative importance. The following introduction provides multiple embodiments of the present application, and different embodiments can be replaced or combined and combined, so the present application can also be considered to include all possible combinations of the same and/or different embodiments described. Thus, if one embodiment contains features A, B, C, and another embodiment contains features B, D, then the application should also be considered to include all other possible combinations containing one or more of A, B, C, D Although this embodiment may not be clearly written in the following content.
本申请实施例提供的思维导图调整方法和思维导图调整设备可以应用于会议规划、会议记录等需要分析总结的场景。本申请实施例提供的思维导图调整方法所应用的设备包括但不限于手机、个人电脑、笔记本电脑、交互平板等具备显示功能的终端设备,可选的,所述显示设备具有触摸屏,可以由触控笔、用户手指等控制思维导图中的节点执行操作。在一个具体的实施例中,本思维导图调整方法应用在交互平板的白板应用软件中。The mind map adjustment method and mind map adjustment device provided in the embodiments of the present application can be applied to scenarios requiring analysis and summary, such as meeting planning and meeting records. The devices used in the mind map adjustment method provided in the embodiments of the present application include but are not limited to mobile phones, personal computers, notebook computers, interactive tablets and other terminal devices with display functions. Optionally, the display device has a touch screen, which can be controlled by The stylus, the user's finger, etc. control the nodes in the mind map to perform operations. In a specific embodiment, the mind map adjustment method is applied in the whiteboard application software of the interactive tablet.
交互平板可以是通过触控技术对显示在显示屏上的内容进行操控和实现人机交互操作的一体化设备,其集成了投影机、电子白板、幕布、音响、电视机以及视频会议终端等一种或多种功能。当然,交互平板并不包括对显示面的表面特征的限定,例如交互平板的表面特征可以是平面、曲面或多个平面的拼接等。An interactive tablet can be an integrated device that controls the content displayed on the display screen and realizes human-computer interaction through touch technology. one or more functions. Of course, the interactive panel does not include a limitation on the surface features of the display surface. For example, the surface features of the interactive panel may be a plane, a curved surface, or a combination of multiple planes.
典型的,交互平板安装有至少一种操作系统,其中,操作系统包括但不限定于安卓系统、Linux系统、Windows系统和华为鸿蒙系统,其用于控制和协调交互平板及外部设备,使得交互平板中各种独立的硬件可以作为一个稳定的整体协调工作,操作系统所在的架构层级定义为系统层。在系统层的基础上,交互平板中安装有为满足用户不同领域、不同问题而开发的应用程序,其对应所在的架构层级为应用层。在本方案的具体实施例描述中,交互平板可以安装至少一个具有书写功能的应用程序。其中,该具有书写功能的应用程序可以为操作系统自带的应用程序,同时,也可以是从第三方设备或者服务器中下载的应用程序。可选的,应用程序除具备基于触控操作的书写功能外,还具有其他编辑功能,如删除功能、插入表格、插入图片、插图图形、绘制表格、绘制图形等功能。Typically, the interactive tablet is installed with at least one operating system, wherein the operating system includes but is not limited to Android system, Linux system, Windows system and Huawei Hongmeng system, which are used to control and coordinate the interactive tablet and external devices, so that the interactive tablet Various independent hardware in the system can work in coordination as a stable whole, and the architectural level where the operating system is located is defined as the system layer. On the basis of the system layer, the interactive tablet is installed with applications developed to meet different fields and different problems of users, and its corresponding architecture level is the application layer. In the description of a specific embodiment of this solution, at least one application program with a writing function may be installed on the interactive tablet. Wherein, the application program having the writing function may be an application program provided by the operating system, and meanwhile, may also be an application program downloaded from a third-party device or a server. Optionally, in addition to the writing function based on the touch operation, the application program also has other editing functions, such as functions such as deleting functions, inserting tables, inserting pictures, illustrating graphics, drawing tables, and drawing graphics.
交互平板包括至少一块显示屏。例如,交互平板配置有一块具有触摸功能的显示屏,该具有触摸功能的显示屏可以是红外显示屏、电容显示屏、电阻显示屏、电磁显示屏或压感显示屏等。在具有触摸功能的显示屏上,用户可以通过手指或书写笔触控显示屏的方式实现触控操作,相应的,交互平板检测触控位置,并根据触控位置进行响应,以实现触控功能。具有触摸功能的显示屏上所采用的触摸传感模组不同时,触摸传感模组采集的原始的触感信号不同,转换所得的触摸信号也不完全相同。The interactive panel includes at least one display screen. For example, the interactive tablet is configured with a display screen with touch function, and the display screen with touch function may be an infrared display screen, a capacitive display screen, a resistive display screen, an electromagnetic display screen, or a pressure-sensitive display screen. On the display screen with touch function, the user can realize the touch operation by touching the display screen with a finger or writing pen. Correspondingly, the interactive panel detects the touch position and responds according to the touch position to realize the touch function. When the touch sensor modules used on the display screens with touch function are different, the original tactile signals collected by the touch sensor modules are different, and the converted touch signals are also not completely the same.
对于红外显示屏,触控传感模组为红外触摸框,其采集的触感信号可以包括表示红外线受阻的信号,转换所得的触摸信号可以包括位置触摸信号,该位置触摸信号可以包括触摸位置的X坐标和Y坐标。对于电容显示屏,触控传感模组为电容式触摸板,其采集的触感信号可以包括流经触摸屏的各电极的电流,转换所得的触摸信号可以包括位置触摸信号,该位置触摸信号可以包括触摸位置的X坐标和Y坐标。对于电阻显示屏,触控传感模组为电阻式触摸板,其采集的触感信号可以包括触摸位置的电压,转换所得的触摸信号可以包括位置触摸信号,该位置触摸信号可以包括触摸位置的X坐标和Y坐标。对于电磁显示屏,触控传感模组为电磁板,其采集的触感信号可以包括磁通量的变化量和接收的电磁信号的频率,转换所得的触摸信号可以包括与所述磁通变化量对应的位置触摸信号、与所述频率对应的压感信号,该位置触摸信号可以包括触摸位置的X坐标和Y坐标;压感信号可以包括压力值。对于压感显示屏,触控传感模组为压力传感器,其采集的触感信号可以包括压力信号,转换所得的触摸信号可以包括位置触摸信号,该位置触摸信号可以包括触摸位置的X坐标和Y坐标。For an infrared display screen, the touch sensing module is an infrared touch frame, and the collected touch signals may include a signal indicating that infrared rays are blocked, and the converted touch signal may include a position touch signal, and the position touch signal may include an X of the touch position. coordinates and Y coordinates. For a capacitive display screen, the touch sensor module is a capacitive touch panel, and the touch signal collected by it may include the current flowing through each electrode of the touch screen, and the converted touch signal may include a position touch signal, and the position touch signal may include The X and Y coordinates of the touch location. For a resistive display screen, the touch sensor module is a resistive touch panel, the touch signal collected by it may include the voltage of the touch position, the converted touch signal may include a position touch signal, and the position touch signal may include the X of the touch position coordinates and Y coordinates. For the electromagnetic display screen, the touch sensor module is an electromagnetic board, and the touch signal collected by it may include the variation of the magnetic flux and the frequency of the received electromagnetic signal, and the converted touch signal may include the frequency corresponding to the variation of the magnetic flux. A position touch signal, a pressure-sensitive signal corresponding to the frequency, the position touch signal may include the X coordinate and Y coordinate of the touch position; the pressure-sensitive signal may include a pressure value. For pressure-sensitive display screens, the touch sensing module is a pressure sensor, the tactile signal collected by it may include a pressure signal, and the converted touch signal may include a position touch signal, and the position touch signal may include the X coordinate and Y coordinate of the touch position. coordinate.
白板应用指供用户进行书写、展示等操作的应用,可以用于根据用户在白板应用的界面的书写操作生成书写笔迹,也可以用于在白板应用的界面插入和显示多媒体元素,所述多媒体元素可以包括图形、图像、表格、文档、音频文件和/或视频文件。在白板应用的界面中,用户可以实现与实体黑板类似的写、画、擦除等操作,并进一步有更好的移动、保存、缩放、插入图片、颜色调整、笔画粗细设置等数字化功能。在实际应用中,白板应用也可以命名为书写应用、电子白板应用、协同白板应用等名称,不管名称如何改变,只要用于实现上述功能的应用,均等同于本申请的白板应用。A whiteboard application refers to an application for users to perform operations such as writing and displaying. It can be used to generate handwriting according to the user's writing operations on the interface of the whiteboard application, and can also be used to insert and display multimedia elements on the interface of the whiteboard application. The multimedia elements May include graphs, images, tables, documents, audio files and/or video files. In the interface of the whiteboard application, users can implement operations such as writing, drawing, and erasing similar to the physical blackboard, and further have better digital functions such as moving, saving, zooming, inserting pictures, color adjustment, and stroke thickness settings. In practical applications, the whiteboard application can also be named as writing application, electronic whiteboard application, collaborative whiteboard application, etc. No matter how the name is changed, as long as the application is used to realize the above functions, it is equivalent to the whiteboard application in this application.
请参见图1,为本申请实施例提供了一种思维导图调整的场景示意图。如图1所示,用于实现本方法的终端设备的显示屏上可以显示有用户设置的第一思维导图,通过获取用户在第一思维导图上选择需要移动的节点,例如:选择“分支主题2”、“子主题3”和“子主题4”三个节点作为移动的节点,被选取的节点会有提示,例如“分支主题2”、“子主题3”和“子主题4”三个节点旁边的勾选提示;然后控制节点移动到吸附区域内,节点与吸附区域对应的吸附节点进行连接,例如:当“分支主题3”为吸附节点时,虚线矩形框为“分支主题3”的对应的吸附区域,将“分支主题2”、“子主题3”和“子主题4”从原来的位置移动到“分支主题3”的虚线矩形框内,由于“分支主题2”是“子主题3”和“子主题4”的父节点,则“分支主题2”在移动过程中,将子节点“子主题3”和“子主题4”隐藏,只显示父节点“分支主题2”;在“分支主题2”靠近“分支主题3”时,界面中显示“分支主题3”的吸附区域,即虚线矩形框,当“分支主题2”进入所述虚线矩形框范围内即可与“分支主题3”进行吸附连接;完成节点之间的连接后,思维导图调整设备调整第一思维导图上所有节点的位置、大小等,例如:减小“分支主题1”和“分支主题3”之间的距离,降低“分支主题2”的高度,使“分支主题2”的高度与“子主题1”、“子主题5”等保持一致,通过在思维导图中选择需要调整位置的目标节点,控制目标节点按照移动操作进行移动,若目标节点位于吸附节点的第一吸附区域范围内,则目标节点吸附于吸附节点,并更新思维导图,实现了通过设置的吸附区域和节点之间的关联关系调整节点的位置, 避免了调整节点的位置时执行节点的添加、删除等操作,可以通过直接移动节点调整节点的位置,降低了节点位置调整的操作复杂度,提升了节点位置调整的效率。Please refer to FIG. 1 , which provides a schematic diagram of a mind map adjustment scene according to the embodiment of the present application. As shown in Figure 1, the first mind map set by the user can be displayed on the display screen of the terminal device used to implement the method, by obtaining the node that the user selects to move on the first mind map, for example: select " The three nodes "Branch Topic 2", "Sub Topic 3" and "Sub Topic 4" are used as moving nodes, and the selected nodes will be prompted, such as "Branch Topic 2", "Sub Topic 3" and "Sub Topic 4" Check the prompt next to the three nodes; then control the node to move into the adsorption area, and connect the node with the corresponding adsorption node in the adsorption area. ", move "Branch Topic 2", "Sub Topic 3" and "Sub Topic 4" from their original positions to the dotted rectangular box of "Branch Topic 3", because "Branch Topic 2" is " The parent node of "Subtopic 3" and "Subtopic 4", then "Branch Topic 2" hides the child nodes "Subtopic 3" and "Subtopic 4" during the moving process, and only displays the parent node "Branch Topic 2" ;When "Branch Topic 2" is close to "Branch Topic 3", the interface displays the adsorption area of "Branch Topic 3", that is, the dotted rectangle frame. "Branch Topic 3" for adsorption connection; after the connection between nodes is completed, the mind map adjustment device adjusts the position and size of all nodes on the first mind map, for example: reduce the "Branch Topic 1" and "Branch Topic 3" ", reduce the height of "Branch Topic 2", and keep the height of "Branch Topic 2" consistent with "Subtopic 1", "Subtopic 5", etc. Target node, control the target node to move according to the mobile operation. If the target node is within the range of the first adsorption area of the adsorption node, the target node will be adsorbed to the adsorption node, and the mind map will be updated. Adjust the position of the node through the relationship between them, avoiding operations such as adding and deleting nodes when adjusting the position of the node. You can adjust the position of the node by directly moving the node, which reduces the operational complexity of node position adjustment and improves the node position adjustment. s efficiency.
基于图1所示的场景示意,下面将结合图2-图9,对本申请实施例提供的思维导图调整方法进行详细介绍。Based on the schematic diagram of the scene shown in FIG. 1 , the method for adjusting the mind map provided by the embodiment of the present application will be described in detail below in conjunction with FIGS. 2 to 9 .
请参见图2,为本申请实施例提供了一种思维导图调整方法的流程示意图。如图2所示,本申请实施例的方法可以包括以下步骤S101-步骤S107。Please refer to FIG. 2 , which provides a schematic flowchart of a method for adjusting a mind map according to an embodiment of the present application. As shown in FIG. 2 , the method in this embodiment of the present application may include the following steps S101-S107.
S101,在应用界面中,接收第一触控操作;S101. In the application interface, receive a first touch operation;
具体的,在交互平板的应用界面中,可以实时监测在应用界面中触发的第一触控操作,第一触控操作可以是由用户采用手指、手写笔等在应用界面中所产生的操作轨迹,可以用于在应用界面中进行书写,或者对应用界面所显示的第一思维导图中的节点进行设置等。Specifically, in the application interface of the interactive tablet, the first touch operation triggered in the application interface can be monitored in real time, and the first touch operation can be an operation track generated by the user using a finger, a stylus, etc. in the application interface , can be used for writing in the application interface, or setting nodes in the first mind map displayed on the application interface, etc.
S102,确认第一触控操作为书写操作,在应用界面中书写对应的笔迹;S102. Confirm that the first touch operation is a writing operation, and write corresponding handwriting in the application interface;
具体的,若第一触控操作为书写操作,例如:第一触控操作为在应用界面中第一思维导图所在区域外的触控操作,则可以确定第一触控操作为书写操作,可以理解的是,针对第一思维导图设置有第三吸附区域,第三吸附区域可以为第一思维导图的吸附区域,若节点存在于第三吸附区域中,则表征该节点属于第一思维导图中的节点,第三吸附区域用于分割应用界面中第一思维导图所在区域,以及除第一思维导图外的其它区域。当第一触控操作未落入第三吸附区域的范围,则确定第一触控操作为书写操作,反之,将第一触控操作确定为对针对第一思维导图的节点选择操作。Specifically, if the first touch operation is a writing operation, for example: the first touch operation is a touch operation outside the area where the first mind map is located in the application interface, then it can be determined that the first touch operation is a writing operation, It can be understood that a third adsorption area is set for the first mind map, and the third adsorption area may be the adsorption area of the first mind map. If a node exists in the third adsorption area, it means that the node belongs to the first mind map. For the nodes in the mind map, the third adsorption area is used to divide the area where the first mind map is located in the application interface, and other areas except the first mind map. When the first touch operation does not fall within the range of the third adsorption area, it is determined that the first touch operation is a writing operation; otherwise, the first touch operation is determined as a node selection operation for the first mind map.
确认接收到的第一触控操作为书写操作,可以在应用界面中显示书写操作对应的笔迹,笔迹的显示方式可以为跟随书写操作进行显示,也可以为书写操作完成后,对所记录的轨迹进行一次性显示,具体显示方式可以依据实际情况进行设置。另外,书写过程中,如果书写操作再落入第三吸附区域,则将对应的笔迹生成在第一思维导图上方,书写完毕后,书写笔迹和第一思维导图为独立的元素,可以单独进行调整,例如,当选中书写笔迹进行移动时,第一思维导图保持不变,反之亦然。After confirming that the received first touch operation is a writing operation, the handwriting corresponding to the writing operation can be displayed in the application interface. The display method of the handwriting can be displayed following the writing operation, or it can be displayed on the recorded track after the writing operation is completed. One-time display, the specific display method can be set according to the actual situation. In addition, during the writing process, if the writing operation falls into the third adsorption area, the corresponding handwriting will be generated above the first mind map. After writing, the handwriting and the first mind map are independent elements, which can be separated Make adjustments, for example, when the handwriting is selected for movement, the first mind map remains unchanged, and vice versa.
S103,确认第一触控操作为针对第一思维导图的节点选择操作,基于节点选择操作在第一思维导图中获取所选择的目标节点;S103, confirming that the first touch operation is a node selection operation for the first mind map, and obtaining the selected target node in the first mind map based on the node selection operation;
具体的,在交互平板的应用界面中,若第一触控操作为节点选择操作,例如:第一触控操作为在应用界面中第一思维导图所在区域内的触控操作,则可以确定对第一思维导图包括的所有节点执行的节点选择操作,第一思维导图指的是用户设定的思维导图,节点选择操作指的是对节点进行选择的操作,可以理解的是,思维导图显示于白板应用等交互设备的应用界面中,用户想要调整交互应用界面中的思维导图中节点的位置,需要在交互设备中选取第一思维导图中的选择节点,再对选择的节点进行操作处理。Specifically, in the application interface of the interactive tablet, if the first touch operation is a node selection operation, for example: the first touch operation is a touch operation in the area where the first mind map is located in the application interface, then it can be determined The node selection operation performed on all nodes included in the first mind map, the first mind map refers to the mind map set by the user, and the node selection operation refers to the operation of selecting nodes. It can be understood that, The mind map is displayed in the application interface of the interactive device such as the whiteboard application. If the user wants to adjust the position of the node in the mind map in the interactive application interface, he needs to select the selection node in the first mind map in the interactive device, and then select Selected nodes for operation processing.
第一思维导图中可以具有多条分支,每条分支可以具有多个节点,每个节点依附着分支形成父子节点关系,即同一分支上的第一节点可以是第二节点的父节点,第二节点可以是第一节点的子节点,若一个节点只有子节点没有父节点,则确定节点为根节点,同时,若一个节点没有父节点和子节点,则确定节点为根节点;若目标节点位于同一条分支上,且包含两个以上节点,则至少存在一对父子关系,如图1所示,“根节点”、“分支主题1”和“子主题1”位于同一分支上,“根节点”为“分支主题1”的父节点,“分支主题1”为“子主题1”的父节点。There can be multiple branches in the first mind map, each branch can have multiple nodes, and each node is attached to the branch to form a parent-child node relationship, that is, the first node on the same branch can be the parent node of the second node, and the first node on the same branch can be the parent node of the second node. The second node can be a child node of the first node. If a node has only child nodes without a parent node, the node is determined to be the root node. At the same time, if a node has no parent node and child nodes, the node is determined to be the root node; if the target node is located at If there are two or more nodes on the same branch, there must be at least a pair of parent-child relationships. As shown in Figure 1, "root node", "branch topic 1" and "child topic 1" are located on the same branch, and "root node " is the parent node of "Branch Topic 1", and "Branch Topic 1" is the parent node of "Subtopic 1".
当用户需要调整第一思维导图中节点的位置时,在第一思维导图中获取所选择的需要移动的节点,即选择目标节点;目标节点可以是一个节点,也可以是多个节点;可选的,目标节点可以是同一分支的节点,也可以是不同分支的节点,即目标节点可以是第一节点,也可以是第一节点和第一节点的子节点,也可以是第一节点和第二节点,也可以是第一节点和第二节点的子节点等。When the user needs to adjust the position of the node in the first mind map, obtain the selected node that needs to be moved in the first mind map, that is, select the target node; the target node can be one node or multiple nodes; Optionally, the target node can be a node of the same branch, or a node of a different branch, that is, the target node can be the first node, or a child node of the first node and the first node, or the first node and the second node, may also be child nodes of the first node and the second node, etc.
S104,获取针对目标节点的移动操作;S104, acquiring a move operation for the target node;
具体的,思维导图调整设备获取到针对目标节点的移动操作,控制目标节点按照移动操作进行移动;移动操作可以是用户手指或触控笔在思维导图调整设备上的滑动操作,也可以是手指在思维道路调整设备上的点击操作等;目标节点按照移动操作进行移动,可以是目标节点按照移动操作的移动方向和预设的移动速度进行移动;可选的,思维导图调整设备可以实时显示或者延时显示目标节点的移动过程。Specifically, the mind map adjustment device obtains the movement operation for the target node, and controls the target node to move according to the movement operation; the movement operation can be a sliding operation of the user's finger or stylus on the mind map adjustment device, or it can be The finger click operation on the thinking path adjustment device, etc.; the target node moves according to the movement operation, which can be the target node moves according to the movement direction of the movement operation and the preset movement speed; optional, the mind map adjustment device can be real-time Display or delay display the moving process of the target node.
S105,基于移动操作移动所述目标节点,且移动过程中,在目标节点的初始位置上显示目标节点 的移除样式,并跟随移动操作显示目标节点的预览样式;S105, move the target node based on the move operation, and during the movement process, display the removal style of the target node at the initial position of the target node, and display the preview style of the target node following the move operation;
具体的,思维导图调整设备获取目标节点在第一思维导图的初始位置,初始位置指的是目标节点进行移动操作之前的位置,获取初始位置可以观察目标节点的位置变化过程;获取到针对目标节点的移动操作,生成目标节点的移除样式和预览样式,移除样式指的是移动过程中始终位于初始位置的目标节点的预览结果;预览样式指的是具有预览目标节点与吸附节点连接效果的图案,思维导图调整设备在第一思维导图中的初始位置生成目标节点的移除样式;Specifically, the mind map adjustment device obtains the initial position of the target node in the first mind map. The initial position refers to the position before the target node is moved. Obtaining the initial position can observe the position change process of the target node; The move operation of the target node generates the removal style and preview style of the target node. The removal style refers to the preview result of the target node that is always at the initial position during the movement; the preview style refers to the connection between the preview target node and the adsorption node The pattern of the effect, the mind map adjusts the initial position of the device in the first mind map to generate the removal style of the target node;
用户移动的目标节点即为目标节点的预览样式,预览样式指代的是移动过程中跟随移动的目标节点的预览结果,可以理解的是,预览样式可以是多个节点及连接关系的预览结果,其中可能隐藏了多个子节点,操作预览样式进行移动可以使移动过程的画面更简洁。当预览样式进行移动时,初始位置上显示目标节点的移除样式;当预览样式到达吸附节点的吸附区域时,预览样式可以吸附在吸附节点的形状边缘,预览样式和吸附节点显示连接线,如图1所示,“分支主题2”、“子主题3”和“子主题4”为目标节点,“分支主题3”为吸附节点,而图1中预览样式只显示着“分支主题2”,当“分支主题2”靠近“分支主题3”时,两个节点之间显示着连接线。The target node that the user moves is the preview style of the target node. The preview style refers to the preview result of the target node that follows the movement during the movement process. It can be understood that the preview style can be the preview result of multiple nodes and connection relationships. There may be multiple sub-nodes hidden, and moving by operating the preview style can make the picture of the moving process more concise. When the preview style is moved, the removed style of the target node is displayed at the initial position; when the preview style reaches the adsorption area of the adsorption node, the preview style can be adsorbed on the shape edge of the adsorption node, and the preview style and the adsorption node display connecting lines, such as As shown in Figure 1, "Branch Topic 2", "Subtopic 3" and "Subtopic 4" are target nodes, and "Branch Topic 3" is an adsorption node, while the preview style in Figure 1 only shows "Branch Topic 2", When "Branch Topic 2" is close to "Branch Topic 3", a connecting line is displayed between the two nodes.
S106,在移动操作结束后,确定目标节点的终点位置的第一吸附区域,并确定第一吸附区域对应的吸附节点,所述吸附节点为第一思维导图中除目标节点外的其它任一节点;S106, after the movement operation is finished, determine the first adsorption area of the end point of the target node, and determine the adsorption node corresponding to the first adsorption area, the adsorption node is any other node in the first mind map except the target node node;
具体的,思维导图调整设备获取目标节点进行移动后的坐标位置为终点位置,基于预览样式的节点位置所处的吸附区域确定为第一吸附区域,确定目标节点完成移动操作后的终点位置所处的第一吸附区域,确定第一吸附区域对应的吸附节点,在终点位置显示目标节点,其中,所述吸附节点为第一思维导图中除目标节点外的其它任一节点。Specifically, the mind map adjustment device obtains the coordinate position of the target node after moving as the end position, and determines the adsorption area where the node position is based on the preview style as the first adsorption area, and determines the end point position of the target node after the movement operation is completed. The first adsorption area at , determine the adsorption node corresponding to the first adsorption area, and display the target node at the end position, wherein the adsorption node is any other node in the first mind map except the target node.
S107,确定目标节点与吸附节点之间的第一关联关系;S107. Determine a first association relationship between the target node and the adsorption node;
具体的,基于目标节点的节点位置,确定目标节点与吸附节点之间的第一关联关系,第一关联关系指的是目标节点与吸附节点的连接关系,若吸附节点没有子节点,则目标节点为吸附节点的子节点;若吸附节点具有子节点,则确定目标节点与吸附节点的子节点的位置关系。Specifically, based on the node position of the target node, the first association relationship between the target node and the adsorption node is determined. The first association relationship refers to the connection relationship between the target node and the adsorption node. If the adsorption node has no child nodes, the target node is the child node of the adsorption node; if the adsorption node has child nodes, determine the positional relationship between the target node and the child nodes of the adsorption node.
S108,基于所述第一关联关系对所述第一思维导图进行调整处理,消除所述移除样式和所述预览样式,并显示调整处理后所得到的第二思维导图;S108. Perform adjustment processing on the first mind map based on the first association relationship, eliminate the removal style and the preview style, and display a second mind map obtained after the adjustment process;
具体的,思维导图调整设备基于关联关系对第一思维导图进行调整处理,得到第二思维导图,可以理解的是,第一思维导图的节点进行移动操作后,节点之间的位置关系会发生变化,目标节点移动前的位置没有节点,目标节点移动后的位置新增节点,间距不一的节点分布影响了思维导图的美观,因此需要对第一思维导图执行调整处理,调整第一思维导图中所有节点的节点属性,节点属性信息包括节点位置、节点尺寸大小和节点形状中的至少一种,将调整完的第一思维导图确定为第二思维导图,并显示第二思维导图。Specifically, the mind map adjustment device adjusts the first mind map based on the association relationship to obtain the second mind map. It can be understood that after the nodes in the first mind map are moved, the positions between nodes The relationship will change. There is no node at the position before the target node is moved, and new nodes are added at the position after the target node is moved. The distribution of nodes with different spacing affects the beauty of the mind map. Therefore, it is necessary to perform adjustment processing on the first mind map. Adjust the node attributes of all nodes in the first mind map, the node attribute information includes at least one of node position, node size and node shape, and determine the adjusted first mind map as the second mind map, and Display the second mind map.
本申请实施例中,通过在思维导图中选择需要调整位置的目标节点,控制目标节点按照移动操作进行移动,当目标节点位于吸附节点的第一吸附区域范围内时,目标节点吸附于吸附节点,并更新思维导图,可以通过设置的吸附区域和节点之间的关联关系实现节点位置的调整,降低节点位置调整的操作复杂度,提升节点位置调整的效率。In the embodiment of this application, by selecting the target node whose position needs to be adjusted in the mind map, the target node is controlled to move according to the movement operation. When the target node is within the range of the first adsorption area of the adsorption node, the target node is adsorbed to the adsorption node , and update the mind map, you can adjust the node position through the set adsorption area and the association between the nodes, reduce the operational complexity of node position adjustment, and improve the efficiency of node position adjustment.
请参见图3,为本申请实施例提供了一种思维导图调整方法的流程示意图,用于对图2所示的实施例作进一步细化,如图3所示,本申请实施例的方法可以包括以下步骤S201-步骤S214。Please refer to Figure 3, which provides a schematic flow chart of a mind map adjustment method for the embodiment of the present application, which is used to further refine the embodiment shown in Figure 2, as shown in Figure 3, the method of the embodiment of the present application The following step S201-step S214 may be included.
图2所示的实施例中,步骤S103具体包括以下步骤S201-S202:In the embodiment shown in FIG. 2, step S103 specifically includes the following steps S201-S202:
S201,获取应用界面中针对第一思维导图的操作模式;S201, acquiring the operation mode for the first mind map in the application interface;
S202,确定所述节点选择操作满足所述操作模式对应的节点选取方式,则基于所述节点选择操作在所述第一思维导图中获取所选择的目标节点;S202. Determine that the node selection operation satisfies the node selection method corresponding to the operation mode, then obtain the selected target node in the first mind map based on the node selection operation;
具体的,思维导图调整设备获取针对第一思维导图的操作模式,操作模式用于表征思维导图的操作方式,具体用于设定选取目标节点的不同操作方式,确定节点选择操作满足操作模式对应的节点选取方式,基于节点选择操作在第一思维导图中获取所选择的目标节点;在不同的操作模式下提供不同的选择节点方式,提升了选择节点的灵活性。Specifically, the mind map adjustment device acquires the operation mode for the first mind map, and the operation mode is used to represent the operation mode of the mind map, and is specifically used to set different operation modes for selecting target nodes, and determine that the node selection operation satisfies the operation The node selection method corresponding to the mode is based on the node selection operation to obtain the selected target node in the first mind map; different modes of node selection are provided in different operation modes, which improves the flexibility of node selection.
若操作模式为书写操作模式,则节点选取方式为长按操作,书写操作模式是指所处第一思维导图在进行添加节点、删除节点等编辑节点的内容过程中,调整第一思维导图中节点的位置和关联关系时所处的操作模式。获取长按操作对应的目标节点,长按操作可以是触控笔、手指等触碰物长按第一思维导图中需要选择的节点超过固定时间,固定时间可以根据需求进行设置,可以理解的是,长按节点超过固定时间,可以防止用户误碰到节点,造成节点选择错误。比如,在第一思维导图获取到长按第一节点超过2秒后,确定第一节点为目标节点。可选的,操作模式为书写操作模式,则在第一思维导图中获取所输入的点击操作,获取点操作对应的目标节点,点击操作可以是触控笔、手指等触碰物至少点击一次第一思维导图中需要选择的节点;If the operation mode is the writing operation mode, the node selection method is a long press operation, and the writing operation mode refers to adjusting the first mind map during the process of adding nodes, deleting nodes, etc. to edit the content of nodes in the first mind map The mode of operation in which the position and association relationship of the nodes in the Obtain the target node corresponding to the long-press operation. The long-press operation can be a touch object such as a stylus, a finger, and long-press the node to be selected in the first mind map for more than a fixed time. The fixed time can be set according to the demand, which is understandable Yes, long pressing a node for more than a fixed time can prevent the user from touching the node by mistake, resulting in wrong node selection. For example, after the first mind map acquires that the first node is long pressed for more than 2 seconds, the first node is determined to be the target node. Optionally, if the operation mode is the writing operation mode, then the input click operation is obtained in the first mind map, and the target node corresponding to the point operation is obtained, and the click operation can be at least one click on a touch object such as a stylus or a finger Nodes to be selected in the first mind map;
若操作模式为选择操作模式,则节点选取方式为滑动操作,选择操作模式是指第一思维导图在完成节点的内容编辑后,调整第一思维导图中节点的位置和关联关系时所处的操作模式。获取滑动操作的滑动区域范围内的目标节点;滑动操作可以是触控笔、手指等触碰物在第一思维导图中滑动过程中触碰节点,也可以是点击单个节点,也可以是同时点击多个节点,也可以是在第一思维导图中划出包含节点在内的选取框,比如,第一思维导图执行滑动操作模式过程中,触碰到第一节点,确定第一节点为目标节点。If the operation mode is the selection operation mode, the node selection method is the sliding operation, and the selection operation mode refers to the location where the first mind map adjusts the position and association relationship of the nodes in the first mind map after the content editing of the nodes is completed. mode of operation. Obtain the target node within the range of the sliding area of the sliding operation; the sliding operation can be a touch object such as a stylus, a finger touching a node during the sliding process in the first mind map, or clicking a single node, or simultaneously Click on multiple nodes, or draw a marquee containing the nodes in the first mind map, for example, touch the first node during the sliding operation mode of the first mind map, and confirm the first node as the target node.
可以理解的是,对于不同操作模式下的节点选择操作可以自定义进行设置,本申请实施例提供的仅为可选的一种实施方式。可选的,第一思维导图处于选择操作模式时,无法执行添加节点、删除节点等节点的内容编辑功能。It can be understood that the node selection operation in different operation modes can be customized and set, and this embodiment of the present application provides only an optional implementation manner. Optionally, when the first mind map is in the selection operation mode, content editing functions such as adding nodes and deleting nodes cannot be performed.
可选的,基于节点选择操作在第一思维导图中获取所选择的目标节点,目标节点显示选中提示,选中提示可以是包围着目标节点的矩形框,也可以是在目标节点旁边产生的勾选符号等具有区分节点效果的提示信息。若选择的节点具有子节点,则子节点也会被选中。如图4所示,在书写操作模式下,触控笔点击“分支主题1”节点,获取“分支主题1”节点以及它的子节点“子主题1”和“子主题2”为目标节点;如图5所示,在选择操作模式下,触控笔从A位置到B位置所触碰到的节点“分支主题1”和“子主题3”,因此“分支主题1”、“子主题1”、“子主题2”和“子主题3”确定为目标节点。增加选中提示、预览样式和移除样式,提升用户的交互体验,可以将吸附的结果展示给用户,方便了用户确定节点移动的位置或者调整节点移动的位置。Optionally, based on the node selection operation, the selected target node is obtained in the first mind map, and the target node displays a selection prompt, which can be a rectangular box surrounding the target node, or a tick generated next to the target node. Prompt information that has the effect of distinguishing nodes such as selection symbols. If the selected node has child nodes, the child nodes will also be selected. As shown in Figure 4, in the writing operation mode, the stylus clicks on the "Branch Topic 1" node to obtain the "Branch Topic 1" node and its child nodes "Subtopic 1" and "Subtopic 2" as target nodes; As shown in Figure 5, in the selection operation mode, the nodes "branch topic 1" and "subtopic 3" touched by the stylus from position A to position B, so "branch topic 1", "subtopic 1" ”, “Subtopic 2” and “Subtopic 3” are determined as target nodes. Add selection prompts, preview styles, and remove styles to improve the user's interactive experience. The results of the adsorption can be displayed to the user, which is convenient for the user to determine the position of the node to move or adjust the position of the node to move.
图2所示的实施例中,在步骤S104之前,具体包括以下步骤S203-S204:In the embodiment shown in FIG. 2, before step S104, the following steps S203-S204 are specifically included:
S203,获取第一思维导图中每个节点对应的第二吸附区域;S203, acquiring a second adsorption area corresponding to each node in the first mind map;
具体的,第一思维导图中的根节点可以具有多条分支,每条分支可以具有多个节点,思维导图调整设备获取每条分支上每个节点对应的第二吸附区域,第二吸附区域是指目标节点可以与每个节点进行吸附的区域。Specifically, the root node in the first mind map can have multiple branches, and each branch can have multiple nodes. The mind map adjustment device obtains the second adsorption area corresponding to each node on each branch, and the second adsorption The area refers to the area where the target node can be adsorbed with each node.
可选的,思维导图调整设备获取第一思维导图中每条分支上每个节点的节点位置、每个节点间的第二关联关系和中心垂直位置,基于每个节点的节点位置、每个节点间的第二关联关系和每个节点的中心垂直位置,分别确定每个节点对应的第二吸附区域。Optionally, the mind map adjustment device obtains the node position of each node on each branch in the first mind map, the second association relationship between each node and the vertical position of the center, based on the node position of each node, each The second association relationship among the nodes and the center vertical position of each node respectively determine the second adsorption area corresponding to each node.
思维导图调整设备将第一思维导图划分为XY坐标系,节点的节点位置包括节点在XY坐标系的坐标位置、每个节点间的第二关联关系包括节点之间的连接关系等,中心垂直位置是针对节点的形状设置的位置,一般设置在节点的形状的平分线中点,比如,若第一节点的形状是矩形,则第一节点的中心垂直位置位于矩形的对角线中点;若第一节点的形状是圆形,则第一节点的中心垂直位置位于圆形的圆心。The mind map adjustment device divides the first mind map into an XY coordinate system, the node position of the node includes the coordinate position of the node in the XY coordinate system, the second association relationship between each node includes the connection relationship between nodes, etc., the center The vertical position is the position set for the shape of the node, generally set at the midpoint of the bisector of the shape of the node, for example, if the shape of the first node is a rectangle, the vertical position of the center of the first node is located at the midpoint of the diagonal of the rectangle ; If the shape of the first node is a circle, then the center vertical position of the first node is located at the center of the circle.
可以理解的是,若某个节点确定为第一节点,则第二吸附区域可以确定为第一吸附区域。为了使目标节点容易吸附到吸附节点上,需要确保每个节点的第二吸附区域的范围最大化,因此,相邻两个节点的第二吸附区域的边界可以紧贴着或者重叠,且相邻两个节点的第二吸附区域无交集;若每条分支上每个节点的第二吸附区域有交集,则无法确定移动后的目标节点位于第一吸附区域对应的吸附节点,因此,第一思维导图中的任意两个节点的第二吸附区域不存在交集;It can be understood that, if a certain node is determined as the first node, the second adsorption region may be determined as the first adsorption region. In order to make the target node easily adsorb to the adsorption node, it is necessary to ensure that the range of the second adsorption area of each node is maximized. Therefore, the boundaries of the second adsorption area of two adjacent nodes can be close to each other or overlap, and adjacent The second adsorption area of two nodes has no intersection; if the second adsorption area of each node on each branch has intersection, it cannot be determined that the target node after moving is located in the adsorption node corresponding to the first adsorption area. Therefore, the first thinking There is no intersection between the second adsorption areas of any two nodes in the map;
确定每个节点对应的第二吸附区域,需要判断节点是否为根节点,若节点不是根节点,则判断节点和根节点的位置关系;确定节点与根节点的位置关系之后,判断节点是否具有子节点,基于判断结果确定节点对应第二吸附区域。To determine the second adsorption area corresponding to each node, it is necessary to determine whether the node is the root node. If the node is not the root node, then determine the positional relationship between the node and the root node; after determining the positional relationship between the node and the root node, determine whether the node has A node is determined based on the judgment result to correspond to the second adsorption area.
若第一节点位于根节点的X轴正方向,且第一节点不具有子节点,则第一节点的中心垂直线确定为第二吸附区域的X负边界,将距离第一节点的形状正边缘固定长度的线段确定为第二吸附区域的X正边界;若第一节点位于根节点的X轴负方向,且第一节点不具有子节点,则第一节点的中心垂直线确定为第二吸附区域的X正边界,将距离第一节点的形状负边缘固定长度的线段确定为第二吸附区域的X负边界;固定长度可以根据需求进行调整;If the first node is located in the positive direction of the X-axis of the root node, and the first node has no child nodes, then the center vertical line of the first node is determined as the negative X boundary of the second adsorption area, and the distance from the positive edge of the shape of the first node A line segment with a fixed length is determined as the positive X boundary of the second adsorption area; if the first node is located in the negative direction of the X axis of the root node, and the first node has no child nodes, then the center vertical line of the first node is determined as the second adsorption For the positive X boundary of the area, the line segment with a fixed length from the negative shape edge of the first node is determined as the negative X boundary of the second adsorption area; the fixed length can be adjusted according to requirements;
若第一节点的X轴正方向具有子节点,则第一节点的中心垂直线确定为第二吸附区域的X负边界,第一节点的子节点的中心垂直线确定为第二吸附区域的X正边界,X正边界可以是多个子节点的中心垂直线的集合,不一定是直线;中心垂直线为经过中心垂直位置的线段;若第一节点的X轴负方向具有子节点,则第一节点的中心垂直线确定为第二吸附区域的X正边界,第一节点的子节点的中心垂直线确定为第二吸附区域的X负边界;X负边界可以是多个子节点的中心垂直线的集合,不一定是直线。If the first node has child nodes in the positive direction of the X axis, the center vertical line of the first node is determined as the X negative boundary of the second adsorption area, and the center vertical line of the child nodes of the first node is determined as the X of the second adsorption area Positive boundary, X Positive boundary can be a collection of center vertical lines of multiple child nodes, not necessarily a straight line; the center vertical line is a line segment passing through the center vertical position; if the first node has child nodes in the negative direction of the X axis, then the first The central vertical line of the node is determined as the positive X boundary of the second adsorption area, and the central vertical line of the child nodes of the first node is determined as the negative X boundary of the second adsorption area; the negative X boundary can be the central vertical line of multiple child nodes A set, not necessarily a straight line.
边界信息包括所述包括第一吸附区域的坐标点信息、坐标点之间的距离等,而区域边界信息指的是吸附区域的边界信息;将X负边界Y坐标最大值和X正边界的Y坐标最大值连接的线段确定为Y正边界,将X负边界Y坐标最小值和X正边界的Y坐标最小值连接的线段确定为Y负边界;X负边界、X正边界、Y正边界和Y负边界为第一节点的区域边界信息,基于区域边界信息连接而成的矩形区域,确定为第一节点的第二吸附区域;第一节点的形状正边缘指的是第一节点的形状的X轴正方向的边界。The boundary information includes the coordinate point information including the first adsorption area, the distance between coordinate points, etc., and the area boundary information refers to the boundary information of the adsorption area; the maximum value of the Y coordinate of the X negative boundary and the Y of the X positive boundary The line segment connected by the maximum coordinate value is determined as the Y positive boundary, and the line segment connecting the Y coordinate minimum value of the X negative boundary and the Y coordinate minimum value of the X positive boundary is determined as the Y negative boundary; X negative boundary, X positive boundary, Y positive boundary and The Y negative boundary is the area boundary information of the first node, and the rectangular area connected based on the area boundary information is determined as the second adsorption area of the first node; the positive edge of the shape of the first node refers to the shape of the first node Boundary in the positive direction of the X axis.
若第一节点为根节点,则第一节点具有两个第二吸附区域。将X轴正方向的第二吸附区域定义为X正第二吸附区域,确定X正第二吸附区域的步骤与确定“第一节点位于根节点的X轴正方向,且第一节点不具有子节点”的第二吸附区域的步骤一致;将X轴负方向的第二吸附区域定义为X负第二吸附区域,确定X负第二吸附区域的步骤与确定“第一节点位于根节点的X轴负方向,且第一节点不具有子节点”的第二吸附区域的步骤一致。If the first node is the root node, the first node has two second adsorption areas. The second adsorption area in the positive direction of the X axis is defined as the X positive second adsorption area, and the steps of determining the X positive second adsorption area are the same as determining "the first node is located in the positive direction of the X axis of the root node, and the first node does not have children The steps of the second adsorption area of node" are the same; the second adsorption area in the negative direction of the X axis is defined as the X negative second adsorption area, and the steps of determining the X negative second adsorption area are the same as determining "the first node is located at the root node X In the negative direction of the axis, and the first node has no child nodes", the steps of the second adsorption area are the same.
X正边界的长度和X负边界的长度保持一致,若第一节点不具有子节点,则第一节点的X正边界的长度为,第一节点的形状的高度加上固定长度。若第一节点具有子节点,则第一节点的X正边界的长度为,第一节点的所有子节点的X正边界的高度总和加上固定长度。The length of the positive X boundary is consistent with the length of the negative X boundary. If the first node has no child nodes, the length of the positive X boundary of the first node is the height of the shape of the first node plus a fixed length. If the first node has child nodes, the length of the positive X boundary of the first node is the sum of the heights of the positive X boundaries of all child nodes of the first node plus a fixed length.
如图6所示,“分支主题1”为第一节点,且位于根节点的X轴负方向,具有一个子节点“子主题1”,则确定经过“分支主题1”的中心垂直位置D1的线段L1为“分支主题1”的中心垂直线,即“分支主题1”的X正边界,将经过“子主题1”的中心垂直位置D2的线段L2确定为“子主题1”的中心垂直线,即“分支主题1”的X负边界;线段L3和线段L4为X负边界和X正边界的连接线,基于线段L1、L2、L3、L4围成的区域得到“分支主题1”对应的第二吸附区域;As shown in Figure 6, "Branch Topic 1" is the first node, and it is located in the negative direction of the X-axis of the root node. Line segment L1 is the central vertical line of "Branch Topic 1", that is, the positive X boundary of "Branch Topic 1", and the line segment L2 passing through the center vertical position D2 of "Subtopic 1" is determined as the central vertical line of "Subtopic 1" , that is, the X negative boundary of "Branch Topic 1"; the line segment L3 and the line segment L4 are the connection lines between the X negative boundary and the X positive boundary, and based on the area enclosed by the line segments L1, L2, L3, and L4, the corresponding the second adsorption zone;
若“分支主题1”不具有子节点,且位于根节点的X轴负方向,则确定经过“分支主题1”的中心垂直位置D1的线段为“分支主题1”的中心垂直线,即“分支主题1”的X正边界,确定距离第一节点的X轴负方向的形状负边缘的固定长度L5的垂直线段为X负边界,即“分支主题1”的X负边界。基于“分支主题1”的形状的高度加上固定长度为第一节点的X正边界的长度,固定长度为线段L6和线段L7相加的和。If "Branch Topic 1" has no child nodes and is located in the negative direction of the X-axis of the root node, then determine that the line segment passing through the central vertical position D1 of "Branch Topic 1" is the central vertical line of "Branch Topic 1", that is, "Branch Topic 1" For the positive X boundary of Topic 1", determine the vertical line segment of fixed length L5 from the negative edge of the shape in the negative direction of the X axis of the first node as the negative X boundary, that is, the negative X boundary of "Branch Topic 1". The height of the shape based on "Branch Topic 1" plus the fixed length is the length of the positive X boundary of the first node, and the fixed length is the sum of the addition of line segment L6 and line segment L7.
S204,基于每个节点对应的第二吸附区域确定第一思维导图的第三吸附区域;S204. Determine the third adsorption area of the first mind map based on the second adsorption area corresponding to each node;
具体的,思维导图调整设备基于每个节点对应的第二吸附区域确定第一思维导图的第三吸附区域,第一思维导图的第三吸附区域是第一思维导图的所有节点对应的第二吸附区域的集合,可以理解的是,相互两个节点的第二吸附区域的范围没有交集,第一思维导图的所有节点对应的第二吸附区域组成第一思维导图的第三吸附区域;Specifically, the mind map adjustment device determines the third adsorption area of the first mind map based on the second adsorption area corresponding to each node, and the third adsorption area of the first mind map corresponds to all nodes of the first mind map. It can be understood that the ranges of the second adsorption areas of the two nodes do not overlap each other, and the second adsorption areas corresponding to all nodes in the first mind map form the third area of the first mind map. Adsorption area;
可选的,获取第二吸附区域的Y轴方向最大值的Y正边界,确定Y轴方向最大值的Y正边界为第三吸附区域的Y正边界;获取第二吸附区域的Y轴方向最小值的Y负边界,确定Y轴方向最小值的Y负边界固定距离的线段为第三吸附区域的Y负边界;如图7所示,吸附区域C1、吸附区域C2的Y正边界的Y轴方向最大,则第三吸附区域的Y正边界是经过吸附区域C1和吸附区域C2的Y正边界的线段S1,吸附区域C4、吸附区域C7的Y负边界的Y轴方向最小,则第三吸附区域的Y负边界是经过吸附区域C4和吸附区域C7的Y负边界的线段S2。Optionally, obtain the positive Y boundary of the maximum value in the Y-axis direction of the second adsorption area, and determine the positive Y boundary of the maximum value in the Y-axis direction as the positive Y boundary of the third adsorption area; obtain the minimum Y-axis direction of the second adsorption area The Y negative boundary of the value, the line segment that determines the fixed distance of the Y negative boundary of the minimum value in the Y axis direction is the Y negative boundary of the third adsorption area; as shown in Figure 7, the Y axis of the Y positive boundary of the adsorption area C1 and the adsorption area C2 If the direction is the largest, the Y positive boundary of the third adsorption area is the line segment S1 passing through the Y positive boundaries of the adsorption area C1 and the adsorption area C2, and the Y axis direction of the Y negative boundary of the adsorption area C4 and adsorption area C7 is the smallest, then the third adsorption The negative Y boundary of the region is the line segment S2 passing through the negative Y boundaries of the adsorption region C4 and the adsorption region C7.
若根节点的X轴负方向不具有子节点,则将根节点每条分支X轴方向最大值的节点对应的第二吸 附区域的X正边界的集合确定为第三吸附区域的X正边界,将根节点的第二吸附区域的X负边界确定为第三吸附区域的X负边界;如图7所示,吸附区域C5、吸附区域C6、吸附区域C7、吸附区域C8等吸附区域的X正边界的集合S3确定为第三吸附区域的X正边界。If there is no child node in the negative direction of the X axis of the root node, the set of the positive X boundaries of the second adsorption area corresponding to the node with the maximum value in the X axis direction of each branch of the root node is determined as the positive X boundary of the third adsorption area, Determine the negative X boundary of the second adsorption area of the root node as the negative X boundary of the third adsorption area; The set S3 of boundaries is determined as the positive X boundaries of the third adsorption area.
同理,若根节点的X轴正方向不具有子节点,则将根节点每条分支X轴方向最大值的节点对应的第二吸附区域的X负边界的集合确定为第三吸附区域的X负边界,将根节点的第二吸附区域的X正边界确定为第三吸附区域的X正边界;Similarly, if there is no child node in the positive direction of the X-axis of the root node, the set of negative X boundaries of the second adsorption area corresponding to the node with the maximum value in the X-axis direction of each branch of the root node is determined as the X of the third adsorption area Negative boundary, determine the positive X boundary of the second adsorption area of the root node as the positive X boundary of the third adsorption area;
若根节点的正方向和负方向都具有子节点,则将根节点每条分支X轴方向最大值的节点对应的吸附区域的X正边界的集合确定为第三吸附区域的X正边界,将根节点每条分支X轴方向最小值的节点对应的吸附区域的X负边界的集合确定为第三吸附区域的X负边界;基于第三吸附区域的Y正边界、第三吸附区域的Y负边界、第三吸附区域的X负边界和第三吸附区域的X正边界组成矩形区域的第三吸附区域。If both the positive direction and the negative direction of the root node have child nodes, the set of positive X boundaries of the adsorption area corresponding to the node with the maximum value in the X-axis direction of each branch of the root node is determined as the positive X boundary of the third adsorption area, and The set of negative X boundaries of the adsorption area corresponding to the node with the minimum value in the X-axis direction of each branch of the root node is determined as the negative X boundary of the third adsorption area; based on the positive Y boundary of the third adsorption area and the negative Y boundary of the third adsorption area The boundary, the negative X boundary of the third adsorption area, and the positive X boundary of the third adsorption area constitute the third adsorption area of the rectangular area.
图2所示的实施例中,步骤S105的具体包括以下步骤S205-步骤S208:In the embodiment shown in Fig. 2, step S105 specifically includes the following steps S205-step S208:
S205,获取目标节点在第一思维导图的每个分支上的节点优先级;S205, acquiring the node priority of the target node on each branch of the first mind map;
具体的,第一思维导图中每个分支的节点都是根据父子节点关系进行连接,因此,在同一条分支上,距离根节点越近的节点,其节点优先级就越高,获取目标节点在每个分支上的节点优先级,目标节点包含不同分支的节点和子节点,获取目标节点中最高优先级的节点,思维导图调整设备划分目标节点中节点的优先级,确定目标节点包含的不同分支中距离根节点最近的节点为该分支的最高优先级的节点。Specifically, the nodes of each branch in the first mind map are connected according to the parent-child node relationship. Therefore, on the same branch, the closer the node is to the root node, the higher the node priority is, and the target node is obtained Node priority on each branch, the target node contains nodes and sub-nodes of different branches, obtain the highest priority node in the target node, adjust the mind map device to divide the priority of the nodes in the target node, and determine the different nodes contained in the target node The node closest to the root node in a branch is the highest priority node of the branch.
S206,基于每个分支中节点优先级最高的节点生成目标节点的预览样式;S206, generating a preview style of the target node based on the node with the highest node priority in each branch;
具体的,生成目标节点中最高优先级的节点对应的预览样式,预览样式是指将除最高优先级的节点之外的节点进行隐藏,只显示目标节点中每条分支上优先级最高的节点,预览样式可以使节点的移动过程更加简洁,可以防止目标节点过多遮盖吸附节点。Specifically, the preview style corresponding to the node with the highest priority among the target nodes is generated. The preview style refers to hiding the nodes except the node with the highest priority, and only displays the node with the highest priority on each branch of the target node. The preview style can make the moving process of the node more concise, and can prevent the target node from covering the adsorption node too much.
S207,基于初始位置生成目标节点的移除样式;S207, generating a removal pattern of the target node based on the initial position;
具体的,思维导图调整设备在生成预览样式的同时,生成目标节点的移除样式;移除样式指的是移动过程中始终位于初始位置的目标节点的预览结果。Specifically, the mind map adjustment device generates the removal style of the target node while generating the preview style; the removal style refers to the preview result of the target node that is always at the initial position during the moving process.
S208,在初始位置上显示目标节点的移除样式,并在移动过程中显示目标节点的预览样式。S208, displaying the removal style of the target node at the initial position, and displaying the preview style of the target node during the moving process.
具体的,预览样式指代的是移动过程中跟随移动的目标节点的预览结果,可以理解的是,预览样式可以是多个节点及连接关系的预览结果,思维导图调整设备在初始位置上显示目标节点的移除样式,并在移动过程中显示目标节点的预览样式,可以在移动节点的过程中提示用户目标节点所处的坐标位置以及目标节点移动到的坐标位置。可选的,目标节点离开初始位置后,移除样式和预览样式都具有与目标节点形状外观不一致的提示。Specifically, the preview style refers to the preview result of the target node that follows the movement during the movement process. It is understandable that the preview style can be the preview result of multiple nodes and connection relationships, and the mind map adjustment device is displayed at the initial position. The removal style of the target node, and display the preview style of the target node during the moving process, which can prompt the user the coordinate position of the target node and the coordinate position to which the target node is moved during the process of moving the node. Optionally, after the target node leaves the initial position, both the removal style and the preview style have hints that are inconsistent with the shape appearance of the target node.
如图8所示,当“分支主题2”、“子主题3”和“子主题4”为目标节点时,在目标节点移动过程中,在目标节点的初始位置的虚线形状的“分支主题2”为移除节点,与“分支主题3”连接的灰色状的“分支主题2”为预览样式。“分支主题2”具有两个子节点,而“分支主题2”距离根节点较近,因此“分支主题2”的优先级最高,在预览样式中只显示“分支主题2”,“子主题3”和“子主题4”进行隐藏。As shown in Figure 8, when "Branch Topic 2", "Subtopic 3" and "Subtopic 4" are the target nodes, during the moving process of the target node, the dotted line "Branch Topic 2" at the initial position of the target node " is to remove the node, and the gray "Branch Topic 2" connected to "Branch Topic 3" is a preview style. "Branch Topic 2" has two child nodes, and "Branch Topic 2" is closer to the root node, so "Branch Topic 2" has the highest priority, and only "Branch Topic 2", "Subtopic 3" is displayed in the preview style and "subtopic 4" to hide.
可选的,在目标节点与吸附节点连接后,目标节点中除最高优先级的节点之外的节点全部展开。Optionally, after the target node is connected to the adsorption node, all nodes in the target node except the node with the highest priority are expanded.
可选的,第一思维导图中的父节点和父节点对应的子节点之间的具有虚拟按键,虚拟按键用于展开或隐藏子节点,当子节点处于展开状态时,点击虚拟按键会隐藏子节点;当子节点处于隐藏状态时,点击虚拟按键会展开子节点。Optionally, there is a virtual button between the parent node and the child node corresponding to the parent node in the first mind map. The virtual button is used to expand or hide the child node. When the child node is in the expanded state, clicking the virtual button will hide Child node; when the child node is hidden, clicking the virtual button will expand the child node.
可选的,在目标节点完成移动操作后,消除移除样式和预览样式,同时,将目标节点中每个分支优先级最高的节点确定为吸附节点的子节点;Optionally, after the moving operation of the target node is completed, the removal style and the preview style are eliminated, and at the same time, the node with the highest priority of each branch in the target node is determined as a child node of the adsorption node;
图2所示的实施例中,在步骤S106之前,具体包括以下步骤S209-步骤S210:In the embodiment shown in FIG. 2, before step S106, the following steps S209-step S210 are specifically included:
S209,在目标节点的移动过程中,在第一思维导图中获取与预览样式距离最近的第二节点;S209, during the moving process of the target node, obtain the second node closest to the preview style in the first mind map;
具体的,在目标节点的移动过程中,思维导图调整设备在实时获取距离第一思维导图中预览样式距离最近的第二节点,第二节点指的是距离预览样式最近的吸附节点。Specifically, during the moving process of the target node, the mind map adjustment device acquires the second node closest to the preview style in the first mind map in real time, and the second node refers to the adsorption node closest to the preview style.
S210,采用预设的显示格式显示第二节点的第四吸附区域。S210. Display the fourth adsorption area of the second node in a preset display format.
具体的,思维导图调整设备采用预设的显示格式显示第二节点的第四吸附区域,显示格式可以是提高第四吸附区域的亮度,也可以是改变第四吸附区域的颜色等具有区域强提示,第四吸附区域指的是第二节点的吸附区域。Specifically, the mind map adjustment device uses a preset display format to display the fourth adsorption area of the second node. The display format can be to increase the brightness of the fourth adsorption area, or to change the color of the fourth adsorption area, etc. Note that the fourth adsorption area refers to the adsorption area of the second node.
图2所示的实施例中,步骤S107的具体实现过程可以包括以下步骤S211-步骤S212。In the embodiment shown in FIG. 2, the specific implementation process of step S107 may include the following steps S211-step S212.
S211,基于终点位置和每个节点对应的第二吸附区域的边界信息,确定终点位置所处的第一吸附区域;S211, based on the end position and the boundary information of the second adsorption area corresponding to each node, determine the first adsorption area where the end point is located;
具体的,思维导图调整设备基于终点位置和每个节点对应的第二吸附区域的边界信息,确定终点位置所处的第一吸附区域。吸附节点为第一思维导图中除目标节点外的其它任一节点,每个节点指目标节点外的其它任一节点。Specifically, the mind map adjustment device determines the first adsorption area where the end point is located based on the end point position and the boundary information of the second adsorption area corresponding to each node. The adsorption node is any other node except the target node in the first mind map, and each node refers to any other node except the target node.
可选的,思维导图调整设备确定终点位置所处的第一吸附区域,需要从根节点开始遍历,先遍历根节点,判断终点位置位于根节点的X轴正方向还是X轴负方向,然后遍历每条分支上的节点;基于终点位置和第一思维导图的第二吸附区域,确定终点位置所处的第一吸附区域。Optionally, the mind map adjustment device determines the first adsorption area where the end point is located. It needs to traverse from the root node, first traverse the root node, and determine whether the end point is in the positive direction of the X-axis of the root node or the negative direction of the X-axis, and then Traverse the nodes on each branch; determine the first adsorption area where the end point is located based on the end point position and the second adsorption area of the first mind map.
获取根节点的中点垂直位置,比较终点位置的X轴坐标和根节点中心垂直位置的X轴坐标。Get the vertical position of the midpoint of the root node, and compare the X-axis coordinates of the end position with the X-axis coordinates of the vertical position of the center of the root node.
若终点位置的X轴坐标大于根节点的中点垂直位置的X轴坐标,则终点位置确定为根节点的X轴正方向节点,获取根节点的X轴正方向子节点列表和X轴正方向一级子节点列表;若终点位置的X轴坐标小于根节点的中点垂直位置的X轴坐标,则终点位置确定为根节点的X轴负方向节点,获取根节点的X轴负方向的子节点列表和X轴负方向的一级子节点列表;If the X-axis coordinate of the end point is greater than the X-axis coordinate of the vertical position of the midpoint of the root node, the end point is determined as the node in the positive direction of the X-axis of the root node, and the list of child nodes in the positive direction of the X-axis of the root node and the positive direction of the X-axis are obtained A list of first-level child nodes; if the X-axis coordinate of the end point is smaller than the X-axis coordinate of the vertical position of the root node's midpoint, the end point is determined as the node in the negative direction of the X-axis of the root node, and the child in the negative direction of the X-axis of the root node is obtained A node list and a list of first-level child nodes in the negative direction of the X axis;
子节点列表记录着节点X轴方向具有的子节点,一级子节点列表记录着根节点具有的子节点;基于子节点列表判断根节点在X轴方向是否具有子节点;若X轴正方向子节点列表的数量为0,则确定根节点的X轴正方向没有子节点,若X轴负方向子节点列表的数量为0,则确定根节点的X轴负方向没有子节点。The child node list records the child nodes of the node in the X-axis direction, and the first-level child node list records the child nodes of the root node; based on the child node list, it is judged whether the root node has child nodes in the X-axis direction; If the number of node lists is 0, it is determined that the root node has no child nodes in the positive direction of the X-axis. If the number of child node lists in the negative direction of the X-axis is 0, it is determined that the root node has no child nodes in the negative direction of the X-axis.
若X轴正方向子节点列表的数量为0,判断终点位置的X轴坐标是否小于根节点的X正第二吸附区域的X正边界的X轴坐标;若是,则目标节点吸附到根节点,目标节点成为根节点的第一个X轴正方向子节点;若否,则目标节点无法吸附到根节点的X轴正方向,目标节点脱离第一思维导图的区域。If the number of child node lists in the positive direction of the X-axis is 0, determine whether the X-axis coordinate of the end point is smaller than the X-axis coordinate of the positive X boundary of the root node's X positive second adsorption area; if so, the target node is adsorbed to the root node, The target node becomes the first positive X-axis child node of the root node; if not, the target node cannot be adsorbed to the positive X-axis direction of the root node, and the target node is out of the area of the first mind map.
若X轴负方向子节点列表的数量为0,判断终点位置的X轴坐标是否大于根节点的X负第二吸附区域的X负边界的X轴坐标;若是,则目标节点吸附到根节点,目标节点成为根节点的第一个X轴负方向子节点;若否,则目标节点无法吸附到根节点的X轴负方向,目标节点脱离第一思维导图的区域。If the number of child node lists in the negative direction of the X-axis is 0, determine whether the X-axis coordinate of the end point is greater than the X-axis coordinate of the X-negative second adsorption area of the root node; if so, the target node is adsorbed to the root node, The target node becomes the first negative X-axis child node of the root node; if not, the target node cannot be adsorbed to the negative X-axis direction of the root node, and the target node is out of the area of the first mind map.
若终点位置位于根节点X轴正方向,且子节点列表的数量不为0,则确定根节点的X轴正方向具有子节点,获取X轴正方向一级子节点列表。获取根节点的X正第二吸附区域的边界信息,根节点的中心垂直位置的X轴坐标确定为根节点的X正第二吸附区域的X负边界;If the end point is located in the positive direction of the X-axis of the root node, and the number of child node lists is not 0, it is determined that the root node has child nodes in the positive direction of the X-axis, and a list of first-level child nodes in the positive direction of the X-axis is obtained. Obtain the boundary information of the X positive second adsorption area of the root node, and determine the X axis coordinate of the center vertical position of the root node as the X negative boundary of the X positive second adsorption area of the root node;
思维导图调整设备开始遍历根节点的X轴正方向的节点以及子节点列表中的第一子节点,第一子节点为根节点的子节点,遍历可以是按Y轴正方向到Y轴负方向的顺序判断,也可以是从Y轴负方向到Y轴正方向的顺序判断;The mind map adjustment device starts to traverse the node in the positive direction of the X-axis of the root node and the first child node in the list of child nodes. The first child node is a child node of the root node. The traversal can be from the positive direction of the Y-axis to the negative direction of the Y-axis. The order judgment of the direction can also be the order judgment from the negative direction of the Y axis to the positive direction of the Y axis;
若终点位置的Y轴坐标大于第一子节点的Y负边界的Y轴坐标,且终点位置的Y轴坐标小于第一子节点的Y正边界的Y轴坐标,则确定终点位置位于第一子节点的吸附区域或者位于第一子节点的子节点的吸附区域;将第一子节点的子节点确定为第二子节点,获取第二子节点的中心垂直位置的X轴坐标和第一子节点的中心垂直位置的X轴坐标,若终点位置的X轴坐标小于第二子节点的中心垂直位置的X轴坐标,且大于第一子节点的中心垂直位置的X轴坐标,则确定终点位置为第二子节点的兄弟节点;If the Y-axis coordinate of the end point is greater than the Y-axis coordinate of the Y-negative boundary of the first child node, and the Y-axis coordinate of the end point is smaller than the Y-axis coordinate of the Y-positive boundary of the first child node, then it is determined that the end point is located in the first child node. The adsorption area of the node or the adsorption area of the child node located in the first child node; determine the child node of the first child node as the second child node, and obtain the X-axis coordinate of the center vertical position of the second child node and the first child node If the X-axis coordinate of the center vertical position of the end point is smaller than the X-axis coordinate of the center vertical position of the second child node and greater than the X-axis coordinate of the center vertical position of the first child node, then the end point position is determined as The sibling node of the second child node;
若终点位置位于根节点X轴负方向,且子节点列表的数量不为0,则确定根节点的X轴负方向具有子节点,获取X轴负方向一级子节点列表,获取根节点的X负第二吸附区域的边界信息,根节点的中心垂直位置的X轴坐标确定为根节点的X负第二吸附区域的X正边界;If the end point is located in the negative direction of the X-axis of the root node, and the number of child node lists is not 0, then it is determined that the root node has child nodes in the negative direction of the X-axis, obtain the list of first-level child nodes in the negative direction of the X-axis, and obtain the X of the root node Negative boundary information of the second adsorption area, the X-axis coordinate of the vertical position of the center of the root node is determined as the X of the root node and the positive X boundary of the second adsorption area;
思维导图调整设备开始遍历根节点的X轴负方向的节点以及子节点列表中的第一子节点;若终点位置的Y轴坐标大于第一子节点的Y负边界的Y轴坐标,且终点位置的Y轴坐标小于第一子节点的Y 正边界的Y轴坐标,则确定终点位置位于第一子节点的吸附区域或者位于第一子节点的子节点的吸附区域;将第一子节点的子节点确定为第二子节点,获取第二子节点的中心垂直位置的X轴坐标和第一子节点的中心垂直位置的X轴坐标,若终点位置的X轴坐标大于第二子节点的中心垂直位置的X轴坐标,且小于第一子节点的中心垂直位置的X轴坐标,则确定终点位置为第一子节点的兄弟节点;The mind map adjustment device starts to traverse the node in the negative X-axis direction of the root node and the first child node in the child node list; if the Y-axis coordinate of the end point is greater than the Y-axis coordinate of the Y-negative boundary of the first child node, and the end point If the Y-axis coordinate of the position is smaller than the Y-axis coordinate of the positive Y boundary of the first child node, it is determined that the end position is located in the adsorption area of the first child node or in the adsorption area of the child node of the first child node; the first child node's The child node is determined as the second child node, and the X-axis coordinate of the center vertical position of the second child node and the X-axis coordinate of the center vertical position of the first child node are obtained, if the X-axis coordinate of the end position is greater than the center of the second child node The X-axis coordinate of the vertical position is smaller than the X-axis coordinate of the vertical position of the center of the first child node, then the end position is determined to be the sibling node of the first child node;
兄弟节点为连接在同一个父节点的相邻两个节点;若终点位置的Y轴坐标大于第二子节点的中心垂直位置的Y轴坐标,则确定目标节点为第二子节点的兄节点,兄节点为兄弟节点中Y轴坐标最大的节点,若终点位置的Y轴坐标小第二子节点的中心垂直位置的Y轴坐标,则确定目标节点为第二子节点的弟节点,弟节点为兄弟节点中Y轴坐标最小的节点。A sibling node is two adjacent nodes connected to the same parent node; if the Y-axis coordinate of the end point is greater than the Y-axis coordinate of the center vertical position of the second child node, then the target node is determined to be the brother node of the second child node, The brother node is the node with the largest Y-axis coordinate among the sibling nodes. If the Y-axis coordinate of the end point is smaller than the Y-axis coordinate of the center vertical position of the second child node, then the target node is determined to be the younger node of the second child node, and the younger node is The node with the smallest Y-axis coordinate among sibling nodes.
若遍历的节点不是根节点,第一子节点可以是第一节点,也可以是第二节点;第二子节点可以是第一节点,也可以是第二节点。If the traversed node is not the root node, the first child node may be the first node or the second node; the second child node may be the first node or the second node.
可选的,在执行基于终点位置和每个节点对应的第二吸附区域的边界信息,确定终点位置所处的第一吸附区域之前,思维导图调整设备执行基于终点位置和第三吸附区域的边界信息,获取目标节点与第一思维导图的吸附结果;若吸附结果指示终点位置处于第三吸附区域中,则基于终点位置和每个节点对应的第二吸附区域的边界信息,确定终点位置所处的第一吸附区域的步骤;若吸附结果指示终点位置未处于第三吸附区域中,则基于目标节点生成第三思维导图。Optionally, before determining the first adsorption area where the end point is located based on the boundary information of the end point position and the boundary information of the second adsorption area corresponding to each node, the mind map adjustment device performs Boundary information, to obtain the adsorption result of the target node and the first mind map; if the adsorption result indicates that the end position is in the third adsorption area, then determine the end point position based on the end point position and the boundary information of the second adsorption area corresponding to each node The step of the first adsorption area; if the adsorption result indicates that the end position is not in the third adsorption area, then generate a third mind map based on the target node.
判断终点位置的Y轴坐标是否小于第三吸附区域的Y正边界的Y轴坐标,若否,则执行基于关联关系对第一思维导图进行调整处理,得到第二思维导图的步骤;判断终点位置的Y轴坐标是否大于第三吸附区域的Y负边界的Y轴坐标,若否,则执行基于关联关系对第一思维导图进行调整处理,得到第二思维导图的步骤;判断终点位置的X轴坐标是否小于第三吸附区域的X正边界的X轴坐标,若否,则执行基于关联关系对第一思维导图进行调整处理,得到第二思维导图的步骤;判断终点位置的X轴坐标是否大于第三吸附区域的X负边界的X轴坐标,若否,则执行基于关联关系对第一思维导图进行调整处理,得到第二思维导图的步骤。Judging whether the Y-axis coordinate of the end position is smaller than the Y-axis coordinate of the Y positive boundary of the third adsorption area, if not, then perform the step of adjusting the first mind map based on the association relationship to obtain the second mind map; judging Whether the Y-axis coordinate of the end position is greater than the Y-axis coordinate of the Y-negative boundary of the third adsorption area, if not, then perform the step of adjusting the first mind map based on the association relationship to obtain the second mind map; determine the end point Whether the X-axis coordinate of the position is smaller than the X-axis coordinate of the X-positive boundary of the third adsorption area, if not, then perform the step of adjusting the first mind map based on the association relationship to obtain the second mind map; determine the end position Whether the X-axis coordinate of is greater than the X-axis coordinate of the X-negative boundary of the third adsorption area, if not, execute the step of adjusting the first mind map based on the association relationship to obtain the second mind map.
可选的,基于终点位置和第三吸附区域的边界信息,获取目标节点与第一思维导图的吸附结果之后,若吸附结果指示终点位置处于第三吸附区域中,则获取目标节点执行移动操作之前的历史移动节点的吸附结果;若吸附结果指示终点位置处于第三吸附区域中,则获取历史移动节点和历史吸附节点,历史移动节点为上一次执行移动操作的节点,历史吸附节点为对历史移动节点进行吸附的节点;Optionally, after obtaining the adsorption result between the target node and the first mind map based on the end point position and the boundary information of the third adsorption area, if the adsorption result indicates that the end point position is in the third adsorption area, then obtain the target node and perform a move operation The adsorption result of the previous historical mobile node; if the adsorption result indicates that the end position is in the third adsorption area, then obtain the historical mobile node and the historical adsorption node. The node that moves the node for adsorption;
若终点位置满足历史吸附节点对应的第二吸附区域的边界信息,则将历史吸附节点对应的第二吸附区域确定为终点位置所处的第一吸附区域;If the end position satisfies the boundary information of the second adsorption area corresponding to the historical adsorption node, then determine the second adsorption area corresponding to the historical adsorption node as the first adsorption area where the end point is located;
若终点位置不满足历史吸附节点对应的第二吸附区域的边界信息,则遍历每个节点中除历史吸附节点的其余节点,基于终点位置和其余节点对应的第二吸附区域的边界信息,确定终点位置所处的第一吸附区域。If the end position does not meet the boundary information of the second adsorption area corresponding to the historical adsorption node, traverse the remaining nodes in each node except the historical adsorption node, and determine the end point based on the end point position and the boundary information of the second adsorption area corresponding to the remaining nodes The first snap zone the position is in.
若吸附结果指示历史移动节点吸附成功,则获取历史移动节点的历史吸附节点;基于历史吸附节点的吸附区域的边界信息和终点位置,确定终点位置的第一吸附区域。历史移动节点可以理解为本次操作的目标节点移动之前的上次操作的目标节点,历史移动节点的历史吸附节点可以理解为上次操作的目标节点所吸附的吸附节点;If the adsorption result indicates that the adsorption of the historical mobile node is successful, the historical adsorption node of the historical mobile node is obtained; based on the boundary information and the end position of the adsorption area of the historical adsorption node, the first adsorption area of the end point is determined. The historical mobile node can be understood as the target node of the last operation before the target node of this operation is moved, and the historical adsorption node of the historical mobile node can be understood as the adsorption node adsorbed by the target node of the last operation;
若终点位置和历史吸附节点位于根节点X轴正方向,且终点位置的X轴坐标大于历史吸附节点的X轴坐标,且终点位置的Y轴坐标大于历史吸附节点的Y负边界的Y轴坐标,且终点位置的Y轴坐标大于历史吸附节点的Y正边界的Y轴坐标,则判断终点位置对应的第一吸附节点与历史吸附节点位置靠近,思维导图调整设备开始遍历根节点的X轴正方向的节点以及子节点列表中的第一子节点,直至获取到终点位置对应的第一吸附节点;若终点位置的X轴坐标小于历史吸附节点的X轴坐标,或终点位置的Y轴坐标小于历史吸附节点的Y负边界的Y轴坐标,或者终点位置的Y轴坐标大于历史吸附节点的Y正边界的Y轴坐标,则确定终点位置对应的第一吸附节点与历史吸附节点不一致;基于第一思维导图的根节点,遍历第一思维导图所有节点,直至获取终点位置对应的第一吸附节点;If the end position and the historical adsorption node are located in the positive direction of the root node's X-axis, and the X-axis coordinate of the end position is greater than the X-axis coordinate of the historical adsorption node, and the Y-axis coordinate of the end position is greater than the Y-axis coordinate of the Y negative boundary of the historical adsorption node , and the Y-axis coordinate of the end point is greater than the Y-axis coordinate of the Y positive boundary of the historical adsorption node, then it is judged that the first adsorption node corresponding to the end point is close to the position of the historical adsorption node, and the mind map adjustment device starts to traverse the X-axis of the root node The node in the positive direction and the first child node in the child node list, until the first adsorption node corresponding to the end point is obtained; if the X-axis coordinate of the end point is smaller than the X-axis coordinate of the historical adsorption node, or the Y-axis coordinate of the end point If it is smaller than the Y-axis coordinate of the negative Y boundary of the historical adsorption node, or the Y-axis coordinate of the end position is greater than the Y-axis coordinate of the Y positive boundary of the historical adsorption node, it is determined that the first adsorption node corresponding to the end position is inconsistent with the historical adsorption node; based on The root node of the first mind map, traversing all the nodes of the first mind map until obtaining the first adsorption node corresponding to the end position;
若终点位置和历史吸附节点位于根节点X轴负方向,且终点位置的X轴坐标小于历史吸附节点的X轴坐标,且终点位置的Y轴坐标大于历史吸附节点的Y负边界的Y轴坐标,且终点位置的Y轴坐标 大于历史吸附节点的Y正边界的Y轴坐标,则判断终点位置对应的第一吸附节点与历史吸附节点位置靠近,思维导图调整设备开始遍历根节点的X轴负方向的节点以及子节点列表中的第一子节点,直至获取到终点位置对应的第一吸附节点;若终点位置的X轴坐标大于历史吸附节点的X轴坐标,或终点位置的Y轴坐标小于历史吸附节点的Y负边界的Y轴坐标,或者终点位置的Y轴坐标大于历史吸附节点的Y正边界的Y轴坐标,则确定终点位置对应的第一吸附节点与历史吸附节点不一致;基于第一思维导图的根节点,遍历第一思维导图所有节点,直至获取终点位置对应的第一吸附节点。If the end position and the historical adsorption node are located in the negative direction of the root node's X axis, and the X-axis coordinate of the end position is smaller than the X-axis coordinate of the historical adsorption node, and the Y-axis coordinate of the end position is greater than the Y-axis coordinate of the Y negative boundary of the historical adsorption node , and the Y-axis coordinate of the end point is greater than the Y-axis coordinate of the Y positive boundary of the historical adsorption node, then it is judged that the first adsorption node corresponding to the end point is close to the position of the historical adsorption node, and the mind map adjustment device starts to traverse the X-axis of the root node The node in the negative direction and the first child node in the child node list, until the first adsorption node corresponding to the end point is obtained; if the X-axis coordinate of the end point is greater than the X-axis coordinate of the historical adsorption node, or the Y-axis coordinate of the end point If it is smaller than the Y-axis coordinate of the negative Y boundary of the historical adsorption node, or the Y-axis coordinate of the end position is greater than the Y-axis coordinate of the Y positive boundary of the historical adsorption node, it is determined that the first adsorption node corresponding to the end position is inconsistent with the historical adsorption node; based on The root node of the first mind map traverses all the nodes of the first mind map until the first adsorption node corresponding to the end position is obtained.
S212,获取第一吸附区域对应的吸附节点,确定目标节点和吸附节点之间的第一关联关系。S212. Obtain an adsorption node corresponding to the first adsorption area, and determine a first association relationship between the target node and the adsorption node.
具体的,思维导图调整设备获取第一吸附区域对应的吸附节点的坐标信息,基于目标节点的和吸附节点之间的Y轴坐标大小比较,确定目标节点和吸附节点之间的关联关系;Specifically, the mind map adjustment device obtains the coordinate information of the adsorption node corresponding to the first adsorption area, and determines the relationship between the target node and the adsorption node based on the Y-axis coordinate size comparison between the target node and the adsorption node;
若吸附节点不具有子节点,则目标节点吸附在吸附节点形状边缘,确定目标节点为吸附节点的子节点,吸附节点为目标节点的父节点;If the adsorption node does not have child nodes, the target node is adsorbed on the edge of the shape of the adsorption node, and the target node is determined to be the child node of the adsorption node, and the adsorption node is the parent node of the target node;
若吸附节点具有子节点,则判断目标节点的终点位置的Y轴坐标是否大于子节点的中点位置的Y轴坐标,且小于相邻Y轴正方向的子节点的中点位置的Y轴坐标,若是,则目标节点为子节点的兄节点,若否,则目标节点为子节点的弟节点;吸附节点为第一思维导图中除目标节点外的其它任一节点。If the adsorption node has child nodes, it is judged whether the Y-axis coordinate of the end position of the target node is greater than the Y-axis coordinate of the midpoint position of the child node, and smaller than the Y-axis coordinate of the midpoint position of the child node in the positive direction of the adjacent Y-axis , if yes, the target node is the sibling node of the child node, if not, the target node is the sibling node of the child node; the adsorption node is any other node in the first mind map except the target node.
图2所示的实施例中,步骤S108的具体实现过程可以包括以下步骤S213-步骤S214。In the embodiment shown in FIG. 2 , the specific implementation process of step S108 may include the following steps S213-S214.
S213,基于第一关联关系和终点位置,对第一思维导图中每个节点之间的距离和位置进行调整处理;S213, based on the first association relationship and the end position, adjust the distance and position between each node in the first mind map;
具体的,思维导图调整设备基于关联关系对第一思维导图中所有节点的节点属性信息进行调整,节点属性信息包括节点位置、节点尺寸大小和节点形状中的至少一种。调整第一思维导图中所有节点的大小和节点之间的距离,调整新的第三吸附区域和每个节点的吸附区域,确定调整后的第一思维导图为第二思维导图,同时,移除样式和预览样式被擦除。可以理解的是,目标节点移动之前,第一思维导图中每个节点基于相邻的节点确定吸附区域,目标节点的位置改变后,第一思维导图中每个节点对应的吸附区域都需要重新调整,而第一思维导图的第三吸附区域也随之调整。思维导图自动更新节点之间的节点属性信息,使思维导图更整洁美观。Specifically, the mind map adjustment device adjusts the node attribute information of all nodes in the first mind map based on the association relationship, and the node attribute information includes at least one of node position, node size and node shape. Adjust the size of all nodes in the first mind map and the distance between nodes, adjust the new third adsorption area and the adsorption area of each node, and determine that the adjusted first mind map is the second mind map, and at the same time , the removed style and the preview style are erased. It can be understood that before the target node moves, each node in the first mind map determines the adsorption area based on the adjacent nodes. After the position of the target node changes, the adsorption area corresponding to each node in the first mind map needs to be Readjust, and the third adsorption area of the first mind map will also be adjusted accordingly. The mind map automatically updates the node attribute information between nodes, making the mind map more tidy and beautiful.
S214,消除移除样式和预览样式,并显示调整处理后所得到的第二思维导图;S214, eliminating the removal style and the preview style, and displaying the second mind map obtained after the adjustment process;
本申请实施例中,通过在思维导图中选择需要调整位置的目标节点,控制目标节点按照移动操作进行移动,若目标节点位于吸附节点的第一吸附区域范围内,则目标节点吸附于吸附节点,并更新思维导图,实现了通过设置的吸附区域和节点之间的关联关系调整节点的位置,避免了调整节点的位置时执行节点的添加、删除等操作,可以通过直接移动节点调整节点的位置,降低了节点位置调整的操作复杂度,提升了节点位置调整的效率。In the embodiment of this application, by selecting the target node whose position needs to be adjusted in the mind map, the target node is controlled to move according to the movement operation. If the target node is located within the range of the first adsorption area of the adsorption node, the target node is adsorbed to the adsorption node , and update the mind map, realize the adjustment of the position of the node through the set adsorption area and the association between the nodes, avoiding the operation of adding and deleting nodes when adjusting the position of the node, and adjusting the position of the node by directly moving the node position, which reduces the operational complexity of node position adjustment and improves the efficiency of node position adjustment.
请参见图9,为本申请实施例提供了一种思维导图调整方法的流程示意图。用于对图3所示的实施例的步骤S211作进一步细化,如图9所示,本申请实施例的方法可以包括以下步骤S301-步骤S304。Please refer to FIG. 9 , which provides a schematic flowchart of a method for adjusting a mind map according to an embodiment of the present application. It is used to further refine step S211 in the embodiment shown in FIG. 3 . As shown in FIG. 9 , the method in the embodiment of the present application may include the following steps S301 - S304.
S301,基于所述终点位置和所述第三吸附区域的边界信息,获取所述目标节点与所述第一思维导图的吸附结果;S301. Acquire an adsorption result between the target node and the first mind map based on the end point position and the boundary information of the third adsorption area;
S302,确定所述吸附结果指示所述终点位置处于第三吸附区域中,基于所述终点位置和所述每个节点对应的第二吸附区域的边界信息,确定所述终点位置所处的第一吸附区域;S302. Determine that the adsorption result indicates that the end position is in the third adsorption area, and determine the first position where the end point is located based on the end position and the boundary information of the second adsorption area corresponding to each node. Adsorption area;
其中,本申请实施例的步骤S301-S302可以参见图3所示实施例的步骤S211的具体描述,在此不进行赘述。Wherein, for steps S301-S302 in the embodiment of the present application, reference may be made to the specific description of step S211 in the embodiment shown in FIG. 3 , and details are not repeated here.
S303,确定吸附结果指示终点位置未处于第三吸附区域中,基于目标节点生成第三思维导图;S303, determine that the adsorption result indicates that the end position is not in the third adsorption area, and generate a third mind map based on the target node;
具体的,若思维导图调整设备确定目标节点的终点位置不位于第三吸附区域,则基于目标节点的位置生成第三思维导图;Specifically, if the mind map adjustment device determines that the end position of the target node is not located in the third adsorption area, a third mind map is generated based on the position of the target node;
可选的,目标节点的位置生成第三思维导图之前,延伸的空白画布,在画布上显示第三思维导图;将第一思维导图的移除样式清除,基于第一思维导图的节点之间的关联关系对第一思维导图中所有节点的节点属性信息进行调整。Optionally, before the position of the target node generates the third mind map, extend the blank canvas to display the third mind map on the canvas; clear the removal style of the first mind map, based on the first mind map The association relationship between nodes adjusts the node attribute information of all nodes in the first mind map.
S304,对第一思维导图中所有节点的节点属性信息进行调整。S304. Adjust node attribute information of all nodes in the first mind map.
具体的,思维导图调整设备对第一思维导图中所有节点的节点属性信息进行调整,节点属性信息包括节点位置、节点尺寸大小和节点形状中的至少一种。调整第一思维导图中所有节点的大小和节点之间的距离,更新第一思维导图的第三吸附区域和每个节点的第二吸附区域,以生成第二思维导图,。Specifically, the mind map adjustment device adjusts the node attribute information of all nodes in the first mind map, and the node attribute information includes at least one of node position, node size and node shape. Adjust the size of all nodes and the distance between nodes in the first mind map, update the third adsorption area of the first mind map and the second adsorption area of each node, so as to generate the second mind map.
本申请实施例中,通过在思维导图中控制目标节点按照移动操作进行移动,若目标节点超出第一思维导图的第一吸附区域范围内,则以目标节点生成第三思维导图,可以通过移动直接生成新的思维导图,减少了创建思维导图中节点的添加、删除等操作,提升了生成思维导图的效率。In the embodiment of the present application, by controlling the target node in the mind map to move according to the movement operation, if the target node exceeds the range of the first adsorption area of the first mind map, the third mind map is generated with the target node, which can Directly generate a new mind map by moving, reducing operations such as adding and deleting nodes in the mind map creation, and improving the efficiency of generating mind maps.
基于图1所示的场景示意,下面将结合附图10-附图14,对本申请实施例提供的思维导图调整设备进行详细介绍。需要说明的是,附图10-附图14中的思维导图调整设备,用于执行本申请图2-图9所示实施例的方法,为了便于说明,仅示出了与本申请实施例相关的部分,具体技术细节未揭示的,请参照本申请图2-图9所示的实施例。Based on the schematic diagram of the scene shown in FIG. 1 , the mind map adjustment device provided by the embodiment of the present application will be described in detail below in conjunction with FIG. 10 to FIG. 14 . It should be noted that the mind map adjustment device in accompanying drawings 10 to 14 is used to execute the method shown in the embodiments shown in Figures 2 to 9 of this application. For relevant parts and specific technical details not disclosed, please refer to the embodiments shown in FIGS. 2-9 of this application.
请参见图10,为本申请实施例提供了一种思维导图调整设备的结构示意图。如图10所示,本申请实施例的思维导图调整设备1可以包括:操作接收单元11、笔迹书写单元12、节点获取单元13、节点移动单元14、样式显示单元15、区域确定单元16、关系确定单元17和思维导图调整单元18。Please refer to FIG. 10 , which provides a schematic structural diagram of a mind map adjustment device according to an embodiment of the present application. As shown in Figure 10, the mind map adjustment device 1 of the embodiment of the present application may include: an operation receiving unit 11, a handwriting writing unit 12, a node acquiring unit 13, a node moving unit 14, a style display unit 15, an area determining unit 16, A relationship determination unit 17 and a mind map adjustment unit 18 .
操作接收单元11,用于在应用界面中,接收第一触控操作;An operation receiving unit 11, configured to receive a first touch operation in the application interface;
笔迹书写单元12,用于确认所述第一触控操作为书写操作,在所述应用界面中书写对应的笔迹;A handwriting writing unit 12, configured to confirm that the first touch operation is a writing operation, and write corresponding handwriting in the application interface;
节点获取单元13,用于确认所述第一触控操作为针对第一思维导图的节点选择操作,基于节点选择操作在第一思维导图中获取所选择的目标节点;A node acquisition unit 13, configured to confirm that the first touch operation is a node selection operation for the first mind map, and acquire the selected target node in the first mind map based on the node selection operation;
节点移动单元14,用于获取针对目标节点的移动操作,获取目标节点在第一思维导图的初始位置;The node moving unit 14 is used to obtain the movement operation for the target node, and obtain the initial position of the target node in the first mind map;
样式显示单元15,用于基于移动操作移动目标节点,且移动过程中,在目标节点的初始位置上显示目标节点的移除样式,并跟随移动操作显示目标节点的预览样式;The style display unit 15 is used to move the target node based on the movement operation, and during the movement process, display the removal style of the target node at the initial position of the target node, and display the preview style of the target node following the movement operation;
区域确定单元16,用于在移动操作结束后,确定目标节点的终点位置所处的第一吸附区域,并确定第一吸附区域对应的吸附节点,吸附节点为第一思维导图中除目标节点外的其它任一节点;The area determining unit 16 is used to determine the first adsorption area where the terminal position of the target node is located after the movement operation is completed, and determine the adsorption node corresponding to the first adsorption area, and the adsorption node is the target node except in the first mind map Any other node outside;
关系确定单元17,用于确定目标节点与吸附节点之间的第一关联关系;A relationship determining unit 17, configured to determine a first association relationship between the target node and the adsorption node;
思维导图调整单元18,用于基于第一关联关系对第一思维导图进行调整处理,消除移除样式和预览样式,并显示调整处理后所得到的第二思维导图。The mind map adjustment unit 18 is configured to adjust the first mind map based on the first association relationship, eliminate the removal style and the preview style, and display the second mind map obtained after the adjustment process.
本申请实施例中,通过在思维导图中选择需要调整位置的目标节点,控制目标节点按照移动操作进行移动,当目标节点位于吸附节点的第一吸附区域范围内时,目标节点吸附于吸附节点,并更新思维导图,可以通过设置的吸附区域和节点之间的关联关系实现节点位置的调整,降低节点位置调整的操作复杂度,提升节点位置调整的效率。In the embodiment of this application, by selecting the target node whose position needs to be adjusted in the mind map, the target node is controlled to move according to the movement operation. When the target node is within the range of the first adsorption area of the adsorption node, the target node is adsorbed to the adsorption node , and update the mind map, you can adjust the node position through the set adsorption area and the association between the nodes, reduce the operational complexity of node position adjustment, and improve the efficiency of node position adjustment.
可选的,节点获取单元13具体用于获取交互应用界面中针对第一思维导图的操作模式,若节点选择操作满足操作模式对应的节点选取方式,则基于节点选择操作在第一思维导图中获取所选择的目标节点;若操作模式为书写操作模式,则节点选取方式为长按操作;若操作模式为选择操作模式,则节点选取方式为滑动操作。Optionally, the node acquiring unit 13 is specifically used to acquire the operation mode for the first mind map in the interactive application interface, if the node selection operation satisfies the node selection method corresponding to the operation mode, then based on the node selection operation in the first mind map Get the selected target node in ; if the operation mode is the writing operation mode, the node selection method is the long press operation; if the operation mode is the selection operation mode, the node selection method is the sliding operation.
可选的,请一并参见图11,为本申请实施例提供了样式显示单元1的结构示意图。如图11所示,样式显示单元15可以包括:Optionally, please also refer to FIG. 11 , which provides a schematic structural diagram of the style display unit 1 for the embodiment of the present application. As shown in Figure 11, the style display unit 15 may include:
优先级获取子单元151,用于获取目标节点在第一思维导图的每个分支上的节点优先级;The priority acquisition subunit 151 is used to acquire the node priority of the target node on each branch of the first mind map;
预览样式生成子单元152,用于基于每个分支中节点优先级最高的节点生成目标节点的预览样式;A preview style generation subunit 152, configured to generate a preview style of the target node based on the node with the highest node priority in each branch;
移除样式生成子单元153,用于基于初始位置生成目标节点的移除样式;Remove the style generating subunit 153, for generating the removal style of the target node based on the initial position;
样式显示子单元154,用于在初始位置上显示目标节点的移除样式,并在移动过程中显示目标节点的预览样式。The style display subunit 154 is configured to display the removed style of the target node at the initial position, and display the preview style of the target node during the moving process.
可选的,请一并参见图12,为本申请实施例提供了区域确定单元的结构示意图。如图12所示,区域确定单元16可以包括:Optionally, please also refer to FIG. 12 , which provides a schematic structural diagram of the area determination unit in this embodiment of the present application. As shown in Figure 12, the area determining unit 16 may include:
第二吸附区域获取子单元161,用于获取第一思维导图中每个节点对应的第二吸附区域;The second adsorption area acquisition subunit 161 is configured to acquire the second adsorption area corresponding to each node in the first mind map;
第二吸附区域获取子单元161具体用于获取第一思维导图中每个节点的节点位置和每个节点间的第二关联关系,获取每个节点的中心垂直位置;The second adsorption area acquisition subunit 161 is specifically used to acquire the node position of each node in the first mind map and the second association relationship between each node, and acquire the center vertical position of each node;
基于每个节点的节点位置、第二关联关系和每个节点的中心垂直位置,分别确定每个节点对应的第二吸附区域;确定每个节点中的第一节点具有子节点,基于第一节点的节点位置、第二关联关系、第一节点的中心垂直线和子节点的中心垂直线,确定第一节点的区域边界信息;Based on the node position of each node, the second association relationship and the center vertical position of each node, respectively determine the second adsorption area corresponding to each node; determine that the first node in each node has child nodes, based on the first node The position of the node, the second association relationship, the center vertical line of the first node and the center vertical line of the child node determine the area boundary information of the first node;
确定每个节点中的第一节点不具有子节点,基于第一节点的节点位置、第二关联关系和第一节点的中心垂直线,确定第一节点的区域边界信息;基于第一节点的区域边界信息生成第一节点的第二吸附区域。Determining that the first node in each node does not have child nodes, based on the node position of the first node, the second association relationship and the central vertical line of the first node, determining the area boundary information of the first node; based on the area of the first node Boundary information generates the second snapping area of the first node.
第三吸附区域确定子单元162,用于基于每个节点对应的第二吸附区域确定第一思维导图的第三吸附区域,第三吸附区域为第一思维导图的吸附区域。The third adsorption area determination subunit 162 is configured to determine the third adsorption area of the first mind map based on the second adsorption area corresponding to each node, and the third adsorption area is the adsorption area of the first mind map.
可选的,请一并参见图13,为本申请实施例提供了关系确定单元的结构示意图。如图13所示,关系确定单元17可以包括:Optionally, please also refer to FIG. 13 , which provides a schematic structural diagram of a relationship determining unit in this embodiment of the present application. As shown in Figure 13, the relationship determining unit 17 may include:
吸附结果确定子单元171,用于基于终点位置和第三吸附区域的边界信息,获取目标节点与第一思维导图的吸附结果;The adsorption result determination subunit 171 is used to obtain the adsorption result of the target node and the first mind map based on the end point position and the boundary information of the third adsorption area;
吸附结果确定子单元171具体用于基于终点位置和第三吸附区域的边界信息,获取目标节点与第一思维导图的吸附结果;确定吸附结果指示终点位置未处于第三吸附区域中,基于目标节点生成第三思维导图;确定吸附结果指示终点位置处于第三吸附区域中,基于终点位置和每个节点对应的第二吸附区域的边界信息,确定终点位置所处的第一吸附区域。The adsorption result determination subunit 171 is specifically used to obtain the adsorption result of the target node and the first mind map based on the end point position and the boundary information of the third adsorption area; determine that the adsorption result indicates that the end point position is not in the third adsorption area, based on the target The node generates a third mind map; determining that the adsorption result indicates that the terminal position is in the third adsorption area, and based on the terminal position and the boundary information of the second adsorption area corresponding to each node, determine the first adsorption area where the terminal position is located.
第一关联关系确定子单元172,获取第一吸附区域对应的吸附节点,确定目标节点和吸附节点之间的第一关联关系;The first association relationship determination subunit 172 acquires the adsorption node corresponding to the first adsorption area, and determines the first association relationship between the target node and the adsorption node;
在本申请实施例的第四种可行的实施方式中,请一并参见图14,为本申请实施例提供了思维导图调整单元的结构示意图。如图14所示,思维导图调整单元18可以包括:In a fourth feasible implementation manner of the embodiment of the present application, please refer to FIG. 14 , which provides a schematic structural diagram of a mind map adjustment unit for the embodiment of the present application. As shown in Figure 14, the mind map adjustment unit 18 may include:
思维导图调整子单元181,用于基于第一关联关系和终点位置,对第一思维导图中每个节点之间的距离和位置进行调整处理;The mind map adjustment subunit 181 is used to adjust the distance and position between each node in the first mind map based on the first association relationship and the end position;
思维导图显示子单元182,用于显示调整处理后所得到的第二思维导图。The mind map display subunit 182 is configured to display the second mind map obtained after adjustment processing.
本申请实施例中,通过在思维导图中选择需要调整位置的目标节点,控制目标节点按照移动操作进行移动,若目标节点位于吸附节点的第一吸附区域范围内,则目标节点吸附于吸附节点,并更新思维导图,实现了通过设置的吸附区域和节点之间的关联关系调整节点的位置,避免了调整节点的位置时执行节点的添加、删除等操作,可以通过直接移动节点调整节点的位置,降低了节点位置调整的操作复杂度,提升了节点位置调整的效率。在不同的操作模式下提供不同的选择节点方式,提升了选择节点的灵活性;增加预览样式和移除样式,提升用户的交互体验,可以将吸附的结果展示给用户,方便了用户确定节点移动的位置或者调整节点移动的位置;思维导图自动更新节点之间的节点属性信息,使思维导图更整洁美观。In the embodiment of this application, by selecting the target node whose position needs to be adjusted in the mind map, the target node is controlled to move according to the movement operation. If the target node is located within the range of the first adsorption area of the adsorption node, the target node is adsorbed to the adsorption node , and update the mind map, realize the adjustment of the position of the node through the set adsorption area and the association between the nodes, avoiding the operation of adding and deleting nodes when adjusting the position of the node, and adjusting the position of the node by directly moving the node position, which reduces the operational complexity of node position adjustment and improves the efficiency of node position adjustment. Different modes of node selection are provided in different operation modes, which improves the flexibility of node selection; preview styles and removal styles are added to improve user interaction experience, and the results of adsorption can be displayed to users, which is convenient for users to determine node movement The position of the node or adjust the position of the node movement; the mind map automatically updates the node attribute information between nodes, making the mind map more neat and beautiful.
请参见图15,为本申请实施例提供了一种交互平板设备的结构示意图。如图15所示,交互平板设备1000可以包括:至少一个处理器1001,至少一个存储器1002,至少一个触摸组件1003,至少一个输入输出接口1004,至少一个通讯总线1005和至少一个显示组件1006。其中,处理器1001可以包括一个或者多个处理核心。处理器1001利用各种接口和线路连接整个交互平板设备1000内的各个部分,通过运行或执行存储在存储器1002内的指令、程序、代码集或指令集,以及调用存储在存储器1002内的数据,执行终端1000的各种功能和处理数据。存储器1002可以是高速RAM存储器,也可以是非不稳定的存储器(non-volatilememory),例如至少一个磁盘存储器。存储器1002可选的还可以是至少一个位于远离前述处理器1001的存储装置。其中,触摸组件1003可选的可以包括压电传感模块或其他触摸元件。通信总线1005用于实现这些组件之间的连接通信。显示组件1006可以是触控面板的显示界面。如图15所示,作为一种存储介质的存储器1002中可以包括操作系统、网络通信模块、输入输出接口模块以及思维导图调整程序。Please refer to FIG. 15 , which provides a schematic structural diagram of an interactive tablet device according to an embodiment of the present application. As shown in FIG. 15 , the interactive tablet device 1000 may include: at least one processor 1001, at least one memory 1002, at least one touch component 1003, at least one input and output interface 1004, at least one communication bus 1005 and at least one display component 1006. Wherein, the processor 1001 may include one or more processing cores. The processor 1001 uses various interfaces and lines to connect various parts in the entire interactive tablet device 1000, by running or executing instructions, programs, code sets or instruction sets stored in the memory 1002, and calling data stored in the memory 1002, Various functions of the terminal 1000 are performed and data is processed. The memory 1002 may be a high-speed RAM memory, or a non-volatile memory, such as at least one disk memory. Optionally, the memory 1002 may also be at least one storage device located away from the aforementioned processor 1001 . Wherein, the touch component 1003 may optionally include a piezoelectric sensing module or other touch elements. The communication bus 1005 is used to realize connection communication between these components. The display component 1006 may be a display interface of a touch panel. As shown in FIG. 15 , the memory 1002 as a storage medium may include an operating system, a network communication module, an input/output interface module, and a mind map adjustment program.
在图15所示的交互平板设备1000中,输入输出接口1004主要用于为用户以及接入设备提供输入的接口,获取用户以及接入设备输入的数据。In the interactive tablet device 1000 shown in FIG. 15 , the input and output interface 1004 is mainly used to provide an input interface for the user and the access device, and obtain data input by the user and the access device.
在一个实施例中,处理器1001可以用于调用存储器1002中存储的思维导图调整程序,并具体执行 以下操作:In one embodiment, the processor 1001 can be used to call the mind map adjustment program stored in the memory 1002, and specifically perform the following operations:
在应用界面中,接收第一触控操作;In the application interface, receiving a first touch operation;
确认第一触控操作为书写操作,在应用界面中书写对应的笔迹;Confirm that the first touch operation is a writing operation, and write the corresponding handwriting in the application interface;
确认第一触控操作为针对第一思维导图的节点选择操作,基于节点选择操作在第一思维导图中获取所选择的目标节点;Confirming that the first touch operation is a node selection operation for the first mind map, and obtaining the selected target node in the first mind map based on the node selection operation;
获取针对目标节点的移动操作;Obtain the move operation for the target node;
基于移动操作移动所述目标节点,且移动过程中,在目标节点的初始位置上显示目标节点的移除样式,并跟随移动操作显示目标节点的预览样式;The target node is moved based on the move operation, and during the move process, the removal style of the target node is displayed at the initial position of the target node, and the preview style of the target node is displayed following the move operation;
在移动操作结束后,确定目标节点的终点位置所处的第一吸附区域,并确定第一吸附区域对应的吸附节点,吸附节点为第一思维导图中除目标节点外的其它任一节点;After the movement operation is finished, determine the first adsorption area where the terminal position of the target node is located, and determine the adsorption node corresponding to the first adsorption area, and the adsorption node is any other node in the first mind map except the target node;
确定目标节点与吸附节点之间的第一关联关系;determining the first association relationship between the target node and the adsorption node;
基于第一关联关系对第一思维导图进行调整处理,消除移除样式和预览样式,并显示调整处理后所得到的第二思维导图。The first mind map is adjusted based on the first association relationship, the removal style and the preview style are eliminated, and the second mind map obtained after the adjustment process is displayed.
可选的,处理器1001在执行基于节点选择操作在第一思维导图中获取所选择的目标节点时,具体执行以下步骤:Optionally, when the processor 1001 acquires the selected target node in the first mind map based on the node selection operation, specifically perform the following steps:
获取交互应用界面中针对第一思维导图的操作模式;Obtain the operation mode for the first mind map in the interactive application interface;
确定节点选择操作满足操作模式对应的节点选取方式,基于节点选择操作在第一思维导图中获取所选择的目标节点。Determine that the node selection operation satisfies the node selection method corresponding to the operation mode, and obtain the selected target node in the first mind map based on the node selection operation.
若操作模式为书写操作模式,则节点选取方式为长按操作;If the operation mode is writing operation mode, the node selection method is long press operation;
若操作模式为选择操作模式,则节点选取方式为滑动操作。If the operation mode is the selection operation mode, the node selection method is the sliding operation.
可选的,处理器1001还可以具体执行以下步骤:Optionally, the processor 1001 may specifically perform the following steps:
获取第一思维导图中每个节点对应的第二吸附区域;Obtain the second adsorption area corresponding to each node in the first mind map;
基于每个节点对应的第二吸附区域确定第一思维导图的第三吸附区域,第三吸附区域为第一思维导图的吸附区域。The third adsorption area of the first mind map is determined based on the second adsorption area corresponding to each node, and the third adsorption area is the adsorption area of the first mind map.
可选的,处理器1001在执行获取第一思维导图中每个节点对应的第二吸附区域时,具体执行以下步骤:Optionally, when the processor 1001 acquires the second adsorption area corresponding to each node in the first mind map, specifically perform the following steps:
获取第一思维导图中每个节点的节点位置和每个节点间的第二关联关系,获取每个节点的中心垂直位置;Obtain the node position of each node in the first mind map and the second association relationship between each node, and obtain the center vertical position of each node;
基于每个节点的节点位置、第二关联关系和每个节点的中心垂直位置,分别确定每个节点对应的第二吸附区域。Based on the node position of each node, the second association relationship and the center vertical position of each node, the second adsorption area corresponding to each node is respectively determined.
可选的,处理器1001在基于每个节点的节点位置、第二关联关系和每个节点的中心垂直位置,分别确定每个节点对应的第二吸附区域时,具体执行以下步骤:Optionally, when the processor 1001 determines the second adsorption area corresponding to each node based on the node position of each node, the second association relationship, and the vertical center position of each node, the processor 1001 specifically performs the following steps:
确定每个节点中的第一节点具有子节点,基于第一节点的节点位置、第二关联关系、第一节点的中心垂直线和子节点的中心垂直线,确定第一节点的区域边界信息;Determining that the first node in each node has child nodes, and determining area boundary information of the first node based on the node position of the first node, the second association relationship, the center vertical line of the first node, and the center vertical line of the child nodes;
确定每个节点中的第一节点不具有子节点,基于第一节点的节点位置、第二关联关系和第一节点的中心垂直线,确定第一节点的区域边界信息;determining that the first node in each node has no child nodes, and determining area boundary information of the first node based on the node position of the first node, the second association relationship, and the central vertical line of the first node;
基于第一节点的区域边界信息生成第一节点的第二吸附区域。The second adsorption area of the first node is generated based on the area boundary information of the first node.
可选的,处理器1001在执行在目标节点的初始位置上显示目标节点的移除样式,并跟随移动操作显示目标节点的预览样式时,具体执行以下步骤:Optionally, when the processor 1001 displays the removal style of the target node at the initial position of the target node, and displays the preview style of the target node following the movement operation, specifically perform the following steps:
获取目标节点在第一思维导图的每个分支上的节点优先级;Obtain the node priority of the target node on each branch of the first mind map;
基于每个分支中节点优先级最高的节点生成目标节点的预览样式;Generate a preview style of the target node based on the node with the highest node priority in each branch;
基于初始位置生成目标节点的移除样式;Generate the removal style of the target node based on the initial position;
在初始位置上显示目标节点的移除样式,并在移动过程中显示目标节点的预览样式。Displays the removal style of the target node at the initial position, and displays the preview style of the target node during the move.
可选的,处理器1001在执行确定目标节点与吸附节点之间的第一关联关系时,具体执行以下步骤:Optionally, when the processor 1001 determines the first association relationship between the target node and the adsorption node, specifically perform the following steps:
基于终点位置和每个节点对应的第二吸附区域的边界信息,确定终点位置所处的第一吸附区域;Determine the first adsorption area where the end point is located based on the end point position and the boundary information of the second adsorption area corresponding to each node;
获取第一吸附区域对应的吸附节点,确定目标节点和吸附节点之间的第一关联关系。The adsorption node corresponding to the first adsorption area is obtained, and the first association relationship between the target node and the adsorption node is determined.
可选的,处理器1001在执行基于终点位置和每个节点对应的第二吸附区域的边界信息,确定终点位置所处的第一吸附区域时,具体执行以下步骤:Optionally, when the processor 1001 determines the first adsorption area where the end point is located based on the end point position and the boundary information of the second adsorption area corresponding to each node, the processor 1001 specifically performs the following steps:
基于终点位置和第三吸附区域的边界信息,获取目标节点与第一思维导图的吸附结果;Obtain an adsorption result between the target node and the first mind map based on the end point position and the boundary information of the third adsorption area;
确定吸附结果指示终点位置未处于第三吸附区域中,基于目标节点生成第三思维导图;Determine that the adsorption result indicates that the end position is not in the third adsorption area, and generate a third mind map based on the target node;
确定吸附结果指示终点位置处于第三吸附区域中,基于终点位置和每个节点对应的第二吸附区域的边界信息,确定终点位置所处的第一吸附区域。Determine that the adsorption result indicates that the end position is in the third adsorption area, and determine the first adsorption area where the end point is located based on the end position and the boundary information of the second adsorption area corresponding to each node.
可选的,处理器1001在执行确定吸附结果指示终点位置处于第三吸附区域中,基于终点位置和每个节点对应的第二吸附区域的边界信息,确定终点位置所处的第一吸附区域,具体执行以下步骤:Optionally, the processor 1001 determines the first adsorption area in which the end position is located based on the end position and the boundary information of the second adsorption area corresponding to each node, based on the end position and the boundary information of the second adsorption area corresponding to each node, after the processor 1001 executes the determination that the adsorption result indicates that the end position is in the third adsorption area, Specifically perform the following steps:
确定吸附结果指示终点位置处于第三吸附区域中,则获取历史移动节点和历史吸附节点,历史移动节点为上一次被执行移动操作的节点,历史吸附节点为对历史移动节点进行吸附的节点;Determine that the adsorption result indicates that the end position is in the third adsorption area, then obtain the historical mobile node and the historical adsorption node, the historical mobile node is the node that was moved last time, and the historical adsorption node is the node that adsorbs the historical mobile node;
确定终点位置满足历史吸附节点对应的第二吸附区域的边界信息,则将历史吸附节点对应的第二吸附区域确定为终点位置所处的第一吸附区域;Determine that the end position satisfies the boundary information of the second adsorption area corresponding to the historical adsorption node, then determine the second adsorption area corresponding to the historical adsorption node as the first adsorption area where the end point is located;
确定终点位置不满足历史吸附节点对应的第二吸附区域的边界信息,则遍历每个节点中除历史吸附节点的其余节点,基于终点位置和其余节点对应的第二吸附区域的边界信息,确定终点位置所处的第一吸附区域。It is determined that the end position does not meet the boundary information of the second adsorption area corresponding to the historical adsorption node, then traverse the remaining nodes in each node except the historical adsorption node, and determine the end point based on the end point position and the boundary information of the second adsorption area corresponding to the remaining nodes The first snap zone the position is in.
可选的,处理器1001在执行在移动操作结束后,确定目标节点的终点位置所处的第一吸附区域,并确定第一吸附区域对应的吸附节点之前,具体执行以下步骤:Optionally, before the processor 1001 determines the first adsorption area where the end point position of the target node is located after the moving operation is completed, and before determining the adsorption node corresponding to the first adsorption area, the processor 1001 specifically performs the following steps:
在目标节点的移动过程中,在第一思维导图中获取与预览样式距离最近的第二节点;During the moving process of the target node, obtain the second node closest to the preview style in the first mind map;
采用预设的显示格式显示第二节点的第四吸附区域。The fourth adsorption area of the second node is displayed in a preset display format.
可选的,处理器1001在执行确定目标节点与吸附节点之间的第一关联关系时,具体执行以下步骤:Optionally, when the processor 1001 determines the first association relationship between the target node and the adsorption node, specifically perform the following steps:
将目标节点中每个分支优先级最高的节点确定为吸附节点的子节点;Determine the node with the highest priority of each branch in the target node as a child node of the adsorption node;
确定目标节点与吸附节点之间的第一关联关系。A first association relationship between the target node and the adsorption node is determined.
可选的,处理器1001在执行基于第一关联关系对第一思维导图进行调整处理,消除移除样式和位于终点位置的预览样式,并显示调整处理后所得到的第二思维导图时,具体执行以下步骤:Optionally, when the processor 1001 performs adjustment processing on the first mind map based on the first association relationship, eliminates the removal style and the preview style at the end position, and displays the second mind map obtained after the adjustment process , perform the following steps:
基于第一关联关系和终点位置,对第一思维导图中每个节点之间的距离和位置进行调整处理;Adjusting the distance and position between each node in the first mind map based on the first association relationship and the end position;
消除移除样式和位于终点位置的预览样式,并显示调整处理后所得到的第二思维导图。Eliminate the removed style and the preview style at the end position, and display the second mind map obtained after the adjustment process.
本申请实施例中,通过在思维导图中选择需要调整位置的目标节点,控制目标节点按照移动操作进行移动,若目标节点位于吸附节点的第一吸附区域范围内,则目标节点吸附于吸附节点,并更新思维导图,实现了通过设置的吸附区域和节点之间的关联关系调整节点的位置,避免了调整节点的位置时执行节点的添加、删除等操作,可以通过直接移动节点调整节点的位置,降低了节点位置调整的操作复杂度,提升了节点位置调整的效率。在不同的操作模式下提供不同的选择节点方式,提升了选择节点的灵活性;增加预览样式和移除样式,提升用户的交互体验,可以将吸附的结果展示给用户,方便了用户确定节点移动的位置或者调整节点移动的位置;思维导图自动更新节点之间的节点属性信息,使思维导图更整洁美观。In the embodiment of this application, by selecting the target node that needs to be adjusted in the mind map, the target node is controlled to move according to the movement operation. If the target node is located within the range of the first adsorption area of the adsorption node, the target node is adsorbed to the adsorption node , and update the mind map, realize the adjustment of the position of the node through the set adsorption area and the relationship between the nodes, avoiding the operation of adding and deleting nodes when adjusting the position of the node, and adjusting the position of the node by directly moving the node position, which reduces the operational complexity of node position adjustment and improves the efficiency of node position adjustment. Different modes of node selection are provided in different operation modes, which improves the flexibility of node selection; preview styles and removal styles are added to improve user interaction experience, and the results of adsorption can be displayed to users, which is convenient for users to determine node movement The position of the node or adjust the position of the node movement; the mind map automatically updates the node attribute information between nodes, making the mind map more neat and beautiful.
本申请实施例还提供了一种计算机存储介质,所述计算机存储介质可以存储有多条程序指令,所述程序指令适于由处理器加载并执行如上述图2-图9所示实施例的方法步骤,具体执行过程可以参见图2-图9所示实施例的具体说明,在此不进行赘述。The embodiment of the present application also provides a computer storage medium, and the computer storage medium can store a plurality of program instructions, and the program instructions are suitable for being loaded and executed by a processor as described in the above-mentioned embodiments shown in FIGS. 2-9 . For the method steps and the specific execution process, refer to the specific description of the embodiments shown in FIGS. 2-9 , and details are not repeated here.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-OnlyMemory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented through computer programs to instruct related hardware, and the programs can be stored in a computer-readable storage medium. During execution, it may include the processes of the embodiments of the above-mentioned methods. Wherein, the storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM) or a random access memory (Random Access Memory, RAM), etc.
以上所揭露的仅为本申请较佳实施例而已,当然不能以此来限定本申请之权利范围,因此依本申请权利要求所作的等同变化,仍属本申请所涵盖的范围。The above disclosures are only preferred embodiments of the present application, which certainly cannot limit the scope of the present application. Therefore, equivalent changes made according to the claims of the present application still fall within the scope of the present application.

Claims (16)

  1. 一种思维导图调整方法,其特征在于,包括:A mind map adjustment method, characterized in that, comprising:
    在应用界面中,接收第一触控操作;In the application interface, receiving a first touch operation;
    确认所述第一触控操作为书写操作,在所述应用界面中书写对应的笔迹;Confirm that the first touch operation is a writing operation, and write corresponding handwriting in the application interface;
    确认所述第一触控操作为针对第一思维导图的节点选择操作,基于所述节点选择操作在所述第一思维导图中获取所选择的目标节点;Confirming that the first touch operation is a node selection operation for the first mind map, and obtaining the selected target node in the first mind map based on the node selection operation;
    获取针对所述目标节点的移动操作;acquiring a move operation for the target node;
    基于所述移动操作移动所述目标节点,且移动过程中,在所述目标节点的初始位置上显示所述目标节点的移除样式,并跟随所述移动操作显示所述目标节点的预览样式;moving the target node based on the moving operation, and during the moving process, displaying a removal style of the target node at the initial position of the target node, and displaying a preview style of the target node following the moving operation;
    在所述移动操作结束后,确定所述目标节点的终点位置所处的第一吸附区域,并确定第一吸附区域对应的吸附节点,所述吸附节点为所述第一思维导图中除所述目标节点外的其它任一节点;After the moving operation is finished, determine the first adsorption area where the terminal position of the target node is located, and determine the adsorption node corresponding to the first adsorption area, and the adsorption node is the one removed from the first mind map Any node other than the above target node;
    确定所述目标节点与所述吸附节点之间的第一关联关系;determining a first association relationship between the target node and the adsorption node;
    基于所述第一关联关系对所述第一思维导图进行调整处理,消除所述移除样式和所述预览样式,并显示调整处理后所得到的第二思维导图。Adjustment processing is performed on the first mind map based on the first association relationship, the removal style and the preview style are eliminated, and a second mind map obtained after the adjustment process is displayed.
  2. 根据权利要求1所述的方法,其特征在于,所述基于所述节点选择操作在所述第一思维导图中获取所选择的目标节点,包括:The method according to claim 1, wherein said obtaining the selected target node in said first mind map based on said node selection operation comprises:
    获取应用界面中针对所述第一思维导图的操作模式;Obtain the operation mode for the first mind map in the application interface;
    确定所述节点选择操作满足所述操作模式对应的节点选取方式,则基于所述节点选择操作在所述第一思维导图中获取所选择的目标节点。If it is determined that the node selection operation satisfies the node selection mode corresponding to the operation mode, the selected target node is obtained in the first mind map based on the node selection operation.
  3. 根据权利要求2所述的方法,其特征在于,所述获取应用界面中针对所述第一思维导图的操作模式的步骤中,所述操作模式包括书写操作模式和选择操作模式,所述书写操作模式对应的所述节点选取方式为长按操作,所述选择操作模式对应的节点选取方式为滑动操作。The method according to claim 2, characterized in that, in the step of obtaining the operation mode for the first mind map in the application interface, the operation mode includes a writing operation mode and a selection operation mode, and the writing The node selection method corresponding to the operation mode is a long press operation, and the node selection method corresponding to the selection operation mode is a sliding operation.
  4. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method according to claim 1, further comprising:
    获取所述第一思维导图中每个节点对应的第二吸附区域;Obtain a second adsorption area corresponding to each node in the first mind map;
    基于所述每个节点对应的第二吸附区域确定所述第一思维导图的第三吸附区域,所述第三吸附区域为第一思维导图的吸附区域。The third adsorption area of the first mind map is determined based on the second adsorption area corresponding to each node, and the third adsorption area is the adsorption area of the first mind map.
  5. 根据权利要求4所述的方法,其特征在于,所述获取所述第一思维导图中每个节点对应的第二吸附区域,包括:The method according to claim 4, wherein said obtaining the second adsorption area corresponding to each node in the first mind map comprises:
    获取所述第一思维导图中每个节点的节点位置和每个节点间的第二关联关系,获取所述每个节点的中心垂直位置;Obtain the node position of each node in the first mind map and the second association relationship between each node, and obtain the center vertical position of each node;
    基于所述每个节点的节点位置、所述第二关联关系和所述每个节点的中心垂直位置,分别确定所述每个节点对应的第二吸附区域。Based on the node position of each node, the second association relationship and the center vertical position of each node, the second adsorption area corresponding to each node is respectively determined.
  6. 根据权利要求5所述的方法,其特征在于,所述基于所述每个节点的节点位置、所述第二关联关系和所述每个节点的中心垂直位置,分别确定所述每个节点对应的第二吸附区域,包括:The method according to claim 5, wherein, based on the node position of each node, the second association relationship and the center vertical position of each node, it is determined that each node corresponds to The second adsorption area, including:
    确定所述每个节点中的第一节点具有子节点,基于所述第一节点的节点位置、所述第二关联关系、所述第一节点的中心垂直线和子节点的中心垂直线,确定所述第一节点的区域边界信息;Determining that the first node in each node has child nodes, based on the node position of the first node, the second association relationship, the center vertical line of the first node and the center vertical line of the child nodes, The area boundary information of the first node;
    确定所述每个节点中的第一节点不具有子节点,基于所述第一节点的节点位置、所述第二关联关系和所述第一节点的中心垂直线,确定所述第一节点的区域边界信息;Determining that the first node in each node has no child nodes, based on the node position of the first node, the second association relationship and the central vertical line of the first node, determining the Area boundary information;
    基于所述第一节点的区域边界信息生成所述第一节点的第二吸附区域。A second adsorption area of the first node is generated based on area boundary information of the first node.
  7. 根据权利要求1所述的方法,其特征在于,所述在所述目标节点的初始位置上显示所述目标节点的移除样式,并跟随所述移动操作显示所述目标节点的预览样式,包括:The method according to claim 1, wherein the displaying the removal style of the target node at the initial position of the target node, and displaying the preview style of the target node following the moving operation comprises :
    获取所述目标节点在所述第一思维导图的每个分支上的节点优先级;Acquiring the node priority of the target node on each branch of the first mind map;
    基于所述每个分支中节点优先级最高的节点生成所述目标节点的预览样式;generating a preview style of the target node based on the node with the highest node priority in each branch;
    基于所述初始位置生成所述目标节点的移除样式;generating a removal pattern of the target node based on the initial position;
    在所述初始位置上显示所述目标节点的移除样式,并在移动过程中显示所述目标节点的预览样式。Displaying the removal style of the target node at the initial position, and displaying the preview style of the target node during the moving process.
  8. 根据权利要求4所述的方法,其特征在于,所述确定所述目标节点与所述吸附节点之间的第一关联关系,包括:The method according to claim 4, wherein the determining the first association relationship between the target node and the adsorption node comprises:
    基于所述终点位置和所述每个节点对应的第二吸附区域的边界信息,确定所述终点位置所处的第一吸附区域;Determine the first adsorption area where the end point is located based on the end point position and the boundary information of the second adsorption area corresponding to each node;
    获取所述第一吸附区域对应的吸附节点,确定所述目标节点和所述吸附节点之间的第一关联关系。Acquiring an adsorption node corresponding to the first adsorption area, and determining a first association relationship between the target node and the adsorption node.
  9. 根据权利要求8所述的方法,其特征在于,所述基于所述终点位置和所述每个节点对应的第二吸附区域的边界信息,确定所述终点位置所处的第一吸附区域,包括:The method according to claim 8, wherein the determining the first adsorption area where the end point is located based on the end point position and the boundary information of the second adsorption area corresponding to each node includes :
    基于所述终点位置和所述第三吸附区域的边界信息,获取所述目标节点与所述第一思维导图的吸附结果;Acquiring an adsorption result between the target node and the first mind map based on the end point position and the boundary information of the third adsorption area;
    确定所述吸附结果指示所述终点位置未处于第三吸附区域中,基于所述目标节点生成第三思维导图;determining that the adsorption result indicates that the end position is not in the third adsorption area, and generating a third mind map based on the target node;
    确定所述吸附结果指示所述终点位置处于第三吸附区域中,基于所述终点位置和所述每个节点对应的第二吸附区域的边界信息,确定所述终点位置所处的第一吸附区域。Determining that the adsorption result indicates that the end position is in a third adsorption area, and based on the end position and the boundary information of the second adsorption area corresponding to each node, determine the first adsorption area where the end position is located .
  10. 根据权利要求9所述的方法,其特征在于,所述确定所述吸附结果指示所述终点位置处于第三吸附区域中,基于所述终点位置和所述每个节点对应的第二吸附区域的边界信息,确定所述终点位置所处的第一吸附区域,包括:The method according to claim 9, wherein the determination of the adsorption result indicates that the end position is in the third adsorption area, based on the relationship between the end position and the second adsorption area corresponding to each node Boundary information, to determine the first adsorption area where the end point is located, including:
    确定所述吸附结果指示所述终点位置处于第三吸附区域中,则获取历史移动节点和历史吸附节点,所述历史移动节点为上一次被执行移动操作的节点,所述历史吸附节点为对所述历史移动节点进行吸附的节点;If it is determined that the adsorption result indicates that the terminal position is in the third adsorption area, the historical mobile node and the historical adsorption node are obtained, the historical mobile node is the node that was moved last time, and the historical adsorption node is the The node that is adsorbed by the historical mobile node;
    确定所述终点位置满足所述历史吸附节点对应的第二吸附区域的边界信息,则将所述历史吸附节点对应的第二吸附区域确定为所述终点位置所处的第一吸附区域;Determining that the terminal position satisfies the boundary information of the second adsorption area corresponding to the historical adsorption node, then determining the second adsorption area corresponding to the historical adsorption node as the first adsorption area where the terminal position is located;
    确定所述终点位置不满足所述历史吸附节点对应的第二吸附区域的边界信息,则遍历所述每个节点中除所述历史吸附节点的其余节点,基于所述终点位置和所述其余节点对应的第二吸附区域的边界信息,确定所述终点位置所处的第一吸附区域。It is determined that the end position does not meet the boundary information of the second adsorption area corresponding to the historical adsorption node, then traverse the remaining nodes in each node except the historical adsorption node, based on the end position and the remaining nodes Corresponding to the boundary information of the second adsorption area, determine the first adsorption area where the end position is located.
  11. 根据权利要求1所述的方法,其特征在于,所述在所述移动操作结束后,确定所述目标节点的终点位置所处的第一吸附区域,并确定第一吸附区域对应的吸附节点之前,包括:The method according to claim 1, wherein after the moving operation is finished, determine the first adsorption area where the end point position of the target node is located, and determine the first adsorption area corresponding to the first adsorption node. ,include:
    在所述目标节点的移动过程中,在所述第一思维导图中获取与所述预览样式距离最近的第二节点;During the moving process of the target node, obtaining a second node closest to the preview style in the first mind map;
    采用预设的显示格式显示所述第二节点的第四吸附区域。The fourth adsorption area of the second node is displayed in a preset display format.
  12. 据权利要求7所述的方法,其特征在于,所述确定所述目标节点与所述吸附节点之间的第一关联关系,包括:The method according to claim 7, wherein the determining the first association relationship between the target node and the adsorption node comprises:
    将所述目标节点中每个分支优先级最高的节点确定为所述吸附节点的子节点;determining the node with the highest priority of each branch in the target node as a child node of the adsorption node;
    确定所述目标节点与所述吸附节点之间的第一关联关系。A first association relationship between the target node and the adsorption node is determined.
  13. 根据权利要求1所述的方法,其特征在于,所述基于所述第一关联关系对所述第一思维导图进行调整处理,消除所述移除样式和所述预览样式,并显示调整处理后所得到的第二思维导图,包括:The method according to claim 1, wherein the first mind map is adjusted based on the first association relationship, the removal style and the preview style are eliminated, and the adjustment process is displayed The resulting second mind map includes:
    基于所述第一关联关系和所述终点位置,对所述第一思维导图中所述每个节点之间的距离和位置进行调整处理;Adjusting the distance and position between each node in the first mind map based on the first association relationship and the end point position;
    消除所述移除样式和所述预览样式,并显示调整处理后所得到的第二思维导图。The removal style and the preview style are eliminated, and the second mind map obtained after the adjustment process is displayed.
  14. 一种思维导图调整设备,其特征在于,包括:A mind map adjustment device, characterized in that it comprises:
    操作接收单元,用于在应用界面中,接收第一触控操作;An operation receiving unit, configured to receive a first touch operation in the application interface;
    笔迹书写单元,用于确认所述第一触控操作为书写操作,在所述应用界面中书写对应的笔迹;A handwriting writing unit, configured to confirm that the first touch operation is a writing operation, and write corresponding handwriting in the application interface;
    节点获取单元,用于确认所述第一触控操作为针对第一思维导图的节点选择操作,基于所述节点选择操作在所述第一思维导图中获取所选择的目标节点;A node acquiring unit, configured to confirm that the first touch operation is a node selection operation for the first mind map, and acquire the selected target node in the first mind map based on the node selection operation;
    节点移动单元,用于获取针对所述目标节点的移动操作;a node moving unit, configured to acquire a moving operation for the target node;
    样式显示单元,用于基于所述移动操作移动所述目标节点,且移动过程中,在所述目标节点的初始位置上显示所述目标节点的移除样式,并跟随所述移动操作显示所述目标节点的预览样式;a style display unit, configured to move the target node based on the moving operation, and display the removal style of the target node at the initial position of the target node during the moving process, and display the removal style of the target node following the moving operation The preview style of the target node;
    区域确定单元,用于在所述移动操作结束后,确定所述目标节点的终点位置所处的第一吸附区域,并确定第一吸附区域对应的吸附节点,所述吸附节点为所述第一思维导图中除所述目标节点外的其它任一节点;An area determination unit, configured to determine a first adsorption area where the end point of the target node is located after the moving operation is completed, and determine an adsorption node corresponding to the first adsorption area, the adsorption node being the first adsorption node Any other node in the mind map except the target node;
    关系确定单元,用于确定所述目标节点与所述吸附节点之间的第一关联关系;a relationship determining unit, configured to determine a first association relationship between the target node and the adsorption node;
    思维导图调整单元,用于基于所述第一关联关系对所述第一思维导图进行调整处理,消除所述移除样式和所述预览样式,并显示调整处理后所得到的第二思维导图。A mind map adjustment unit, configured to adjust the first mind map based on the first association relationship, eliminate the removal style and the preview style, and display the second thought obtained after the adjustment process map.
  15. 一种计算机存储介质,其特征在于,所述计算机存储介质存储有计算机程序,所述计算机程序包括程序指令,所述程序指令当被处理器执行时,执行如权利要求1-13任一项所述的方法。A computer storage medium, characterized in that the computer storage medium stores a computer program, the computer program includes program instructions, and when the program instructions are executed by a processor, the computer program described in any one of claims 1-13 is executed. described method.
  16. 一种交互平板设备,其特征在于,包括:处理器、显示组件、触摸组件;触摸组件用于接收节点选择操作和目标节点移动操作,并将处理信息发送到处理器,处理器用于执行1-13任一项所述的方法,显示组件用于显示交互平板设备中所有节点的调整过程。An interactive tablet device, characterized in that it includes: a processor, a display component, and a touch component; the touch component is used to receive a node selection operation and a target node movement operation, and send processing information to a processor, and the processor is used to perform 1- 13. In the method described in any one, the display component is used to display the adjustment process of all nodes in the interactive tablet device.
PCT/CN2021/132298 2021-11-23 2021-11-23 Mind map adjustment method, storage medium and device WO2023092254A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202180005694.6A CN116490845A (en) 2021-11-23 2021-11-23 Thinking guide adjustment method, storage medium and device
PCT/CN2021/132298 WO2023092254A1 (en) 2021-11-23 2021-11-23 Mind map adjustment method, storage medium and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2021/132298 WO2023092254A1 (en) 2021-11-23 2021-11-23 Mind map adjustment method, storage medium and device

Publications (1)

Publication Number Publication Date
WO2023092254A1 true WO2023092254A1 (en) 2023-06-01

Family

ID=86538499

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/132298 WO2023092254A1 (en) 2021-11-23 2021-11-23 Mind map adjustment method, storage medium and device

Country Status (2)

Country Link
CN (1) CN116490845A (en)
WO (1) WO2023092254A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117035067A (en) * 2023-10-07 2023-11-10 腾讯科技(深圳)有限公司 Thinking guide drawing rendering method and device and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140096089A1 (en) * 2012-10-02 2014-04-03 Estsoft Corp. Electronic device including mind-map user interface and method for manipulating mind-map using the same
CN106648319A (en) * 2016-12-19 2017-05-10 广州视源电子科技股份有限公司 Operation method and apparatus used for mind map
CN108573050A (en) * 2018-04-20 2018-09-25 广州视源电子科技股份有限公司 Total nodal point generation method, device, equipment and the storage medium of mind map
CN111191975A (en) * 2019-11-29 2020-05-22 广东三扬网络科技有限公司 Node reference method of thought guide graph, electronic device and storage medium
CN111915706A (en) * 2020-08-05 2020-11-10 深圳创新黑科技有限公司 Database-driven thinking guide graph making, displaying, splitting and grafting method
CN112835504A (en) * 2021-02-05 2021-05-25 深圳市亿图软件有限公司 Thinking guide graph track processing method and device, computer equipment and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140096089A1 (en) * 2012-10-02 2014-04-03 Estsoft Corp. Electronic device including mind-map user interface and method for manipulating mind-map using the same
CN106648319A (en) * 2016-12-19 2017-05-10 广州视源电子科技股份有限公司 Operation method and apparatus used for mind map
CN108573050A (en) * 2018-04-20 2018-09-25 广州视源电子科技股份有限公司 Total nodal point generation method, device, equipment and the storage medium of mind map
CN111191975A (en) * 2019-11-29 2020-05-22 广东三扬网络科技有限公司 Node reference method of thought guide graph, electronic device and storage medium
CN111915706A (en) * 2020-08-05 2020-11-10 深圳创新黑科技有限公司 Database-driven thinking guide graph making, displaying, splitting and grafting method
CN112835504A (en) * 2021-02-05 2021-05-25 深圳市亿图软件有限公司 Thinking guide graph track processing method and device, computer equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Also Published As

Publication number Publication date
CN116490845A (en) 2023-07-25

Similar Documents

Publication Publication Date Title
CN110069204B (en) Graph processing method, device and equipment based on writing track and storage medium
EP3742280A1 (en) Display annotation method, device, apparatus, and storage medium
CN110716680B (en) Control method and device of intelligent interactive panel
AU2016276031B2 (en) Devices and methods for manipulating user interfaces with a stylus
US9965039B2 (en) Device and method for displaying user interface of virtual input device based on motion recognition
US9207858B2 (en) Method and apparatus for drawing and erasing calligraphic ink objects on a display surface
US20050015731A1 (en) Handling data across different portions or regions of a desktop
WO2020010775A1 (en) Method and device for operating interface element of electronic whiteboard, and interactive intelligent device
CN110928459B (en) Writing operation method, device, equipment and storage medium of intelligent interactive tablet
CN110045909B (en) Ellipse processing method, device and equipment based on writing track and storage medium
CN108304132B (en) Graph display method, device, equipment and storage medium
WO2019140987A1 (en) Table control method, device, apparatus, and storage medium
WO2019223280A1 (en) Method and device for operating intelligent interactive tablet and intelligent interactive tablet
WO2014193464A1 (en) Gesture manipulations for configuring system settings
CN111443863A (en) Page control method and device, storage medium and terminal
WO2021203815A1 (en) Page operation method and apparatus, and terminal and storage medium
WO2019237617A1 (en) Text control-based object display method and device, and storage medium
US20230325062A1 (en) Method for adjusting interface display state, and electronic device
WO2021068381A1 (en) Interface display method, device and apparatus, and storage medium
WO2017032193A1 (en) User interface layout adjustment method and apparatus
CN108762657B (en) Operation method and device of intelligent interaction panel and intelligent interaction panel
CN108920057B (en) Method, device, equipment and storage medium for controlling connection nodes of electronic whiteboard
WO2023092254A1 (en) Mind map adjustment method, storage medium and device
KR20230153488A (en) Image processing methods, devices, devices, and storage media
WO2019218622A1 (en) Element control method, apparatus, and device, and storage medium

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 202180005694.6

Country of ref document: CN

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21964998

Country of ref document: EP

Kind code of ref document: A1