CN106648319A - Operation method and apparatus used for mind map - Google Patents

Operation method and apparatus used for mind map Download PDF

Info

Publication number
CN106648319A
CN106648319A CN201611178144.1A CN201611178144A CN106648319A CN 106648319 A CN106648319 A CN 106648319A CN 201611178144 A CN201611178144 A CN 201611178144A CN 106648319 A CN106648319 A CN 106648319A
Authority
CN
China
Prior art keywords
node
dragging
mind map
impact point
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201611178144.1A
Other languages
Chinese (zh)
Other versions
CN106648319B (en
Inventor
陈天龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shirui Electronics Co Ltd
Original Assignee
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shirui Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Shiyuan Electronics Thecnology Co Ltd, Guangzhou Shirui Electronics Co Ltd filed Critical Guangzhou Shiyuan Electronics Thecnology Co Ltd
Priority to CN201611178144.1A priority Critical patent/CN106648319B/en
Publication of CN106648319A publication Critical patent/CN106648319A/en
Application granted granted Critical
Publication of CN106648319B publication Critical patent/CN106648319B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • G06F3/04812Interaction techniques based on cursor appearance or behaviour, e.g. being affected by the presence of displayed objects
    • 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/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0486Drag-and-drop
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

Embodiments of the invention disclose an operation method and apparatus used for a mind map. The method comprises the steps of obtaining drag information of a drag node in the mind map, wherein the drag information includes starting point information and target point information; determining a drag distance according to a starting point and a target point, and if the drag distance is greater than or equal to a distance threshold, determining node information closest to the drag node according to the target point; determining a correlation relationship between the drag node located at the target point and other nodes in the mind map according to the node information closest to the drag node; and drawing and displaying the correlation relationship between the drag node located at the target point and other nodes in the mind map, in the mind map. The real-time preview of the mind map in the node drag process is realized, and the drag position of the drag node at any moment is clearly displayed, so that the convenience is provided for users.

Description

A kind of method of operating and device for mind map
Technical field
The present embodiments relate to communication technical field, more particularly to a kind of method of operating and dress for mind map Put.
Background technology
Mind map is the active graphical media of thinking for expressing emissivity thinking, is also called mind map, is simply but extremely had Effect, mind map gives out a plurality of line just as nerve cell by a point, the skill that mind map is laid equal stress on picture and text, The relation of themes at different levels is used mutually to be subordinate to and showed to related stratal diagram, and subject key words and image, color etc. are set up Memory link.Mind map fully with the function of left and right brain, using memory, read, the rule of thinking, assist people in science The balanced growth between art, the logical AND imagination, so as to open the unlimited potential of human brain.Therefore, mind map has people The power of class thinking.
Mind map includes several nodes, and according to node-classification first nodes, two-level node, three-level node can be divided into Deng.In the generating process of mind map, the position of each node and annexation are dynamic changes.Lead when user pulls thinking During the node of figure, the target for being clearly visible that present node is needed to pull position, and live preview.In prior art, in thinking During leading the dragging of figure node at different levels, it is impossible to which the target for accomplishing live preview mind map node pulls position, and cannot be accurate Really see the target location for pulling node and current position do not made a decision and is calculated etc. and operate.
The content of the invention
In view of this, the present invention proposes a kind of method of operating and device for mind map, realizes mind map section Live preview during point dragging, clear display pulls node dragging position at any time, provides users with the convenient.
In a first aspect, embodiments providing a kind of method of operating for mind map, methods described includes:Obtain The dragging information of the dragging node in mind map is taken, the dragging information includes origin information and impact point information;According to institute State starting point and impact point determines dragging distance, if the distance that pulls is more than or equal to distance threshold, according to the impact point It is determined that apart from the nearest nodal information of the dragging node;It is located at according to determining apart from the nearest nodal information of the dragging node The incidence relation for pulling node and other nodes in the mind map of impact point;Draw and show in the mind map The incidence relation for pulling node and other nodes in the mind map positioned at impact point.
Further, determined according to the impact point before the nearest nodal information of the dragging node described, Also include:Obtain the set of the corresponding circumscribed rectangular region of the mind map Zhong Ge branches.
Further, it is described to be included apart from the nearest nodal information of the dragging node according to impact point determination:Such as Really described impact point then determines in the set of the circumscribed rectangular region from the corresponding branch of circumscribed rectangular region being located Apart from the nearest node of the dragging node.
Further, it is described according to the dragging section determined apart from the nearest nodal information of the dragging node positioned at impact point Point includes with the incidence relation of other nodes in the mind map:According to the father's section apart from the nearest node of the dragging node The child node of point and the position relationship of the impact point, it is determined that the adjacent node of the dragging node positioned at the impact point;With away from From the father node for pulling the nearest node of node as the father node for pulling node positioned at the impact point, it is determined that being located at The incidence relation for pulling node and adjacent node of the impact point.
Further, it is described to be included apart from the nearest nodal information of the dragging node according to impact point determination:Such as Really described impact point is not in the set of the circumscribed rectangular region, it is determined that in being apart from the nearest node of the dragging node Heart node.
Further, it is described according to the dragging section determined apart from the nearest nodal information of the dragging node positioned at impact point Point includes with the incidence relation of other nodes in the mind map:According to the child node and the impact point of the Centroid Position relationship, it is determined that positioned at the impact point dragging node adjacent node;Using the Centroid as positioned at described The father node of the dragging node of impact point, it is determined that positioned at the incidence relation for pulling node and adjacent node of the impact point.
Further, methods described also includes:At the end of dragging to the dragging node, according to other nodes Current location and the node that pulls positioned at ideal point determine institute with the incidence relation of other nodes in the mind map State the adjustment position of other nodes;According to the corresponding adjustment position of described other nodes and the dragging positioned at ideal point Drag node to adjust the mind map with the incidence relation of other nodes in the mind map and show.
Further, if the distance that pulls is less than distance threshold, it is determined that it is maloperation that this is pulled.
Second aspect, the embodiment of the present invention additionally provides a kind of operation device for mind map, and described device includes: Information acquisition unit, for obtaining mind map in dragging node dragging information, the dragging information include origin information With impact point information;Relation determination unit, is connected with described information acquiring unit, for being determined according to the starting point and impact point Distance is pulled, if the distance that pulls is more than or equal to distance threshold, is determined according to the impact point and pull section apart from described The nearest nodal information of point;And according to the dragging node determined apart from the nearest nodal information of the dragging node positioned at impact point With the incidence relation of other nodes in the mind map;Display unit, is connected, for described with the relation determination unit Draw and show that the node that pulls positioned at impact point associates pass with other nodes in the mind map in mind map System.
Further, described information acquiring unit is additionally operable to obtain the corresponding boundary rectangle of the mind map Zhong Ge branches The set in region.
In the embodiment of the present invention, determined according to the dragging information that node is pulled in mind map and pull distance, and according to dragging The relation for dragging distance and predeterminable range determines that distance pulls the nearest nodal information of node, and then determines the dragging positioned at impact point Node and the relation of other nodes in mind map, draw the relation and show.During realizing the dragging of mind map node Live preview, clear display pull node dragging position at any time, provide users with the convenient.
Description of the drawings
By reading the detailed description made to non-limiting example made with reference to the following drawings, other of the invention Feature, objects and advantages will become more apparent upon:
Fig. 1 is a kind of flow chart of the method for operating for mind map in the embodiment of the present invention one;
Fig. 2 is a kind of flow chart of the method for operating for mind map in the embodiment of the present invention two;
Fig. 3 is a kind of flow chart of the method for operating for mind map in the embodiment of the present invention three;
Fig. 4 is a kind of flow chart of the method for operating for mind map in the embodiment of the present invention four;
Fig. 5 is the original position signal that a kind of mind map provided in an embodiment of the present invention pulls node dynamic mobile process Figure;
Fig. 6 be a kind of mind map provided in an embodiment of the present invention pull node dynamic mobile process centre it is a certain when being The position view at quarter;
Fig. 7 is the target location signal that a kind of mind map provided in an embodiment of the present invention pulls node dynamic mobile process Figure;
Fig. 8 is a kind of structural representation of the operation device for mind map in the embodiment of the present invention five.
Specific embodiment
With reference to the accompanying drawings and examples the present invention is described in further detail.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention, rather than limitation of the invention.Also, it should be noted that for the ease of retouching State, part related to the present invention rather than full content are illustrate only in accompanying drawing.It also should be noted that, for the ease of saying It is bright, example related to the present invention is shown in following examples, these examples are only as the principle of the explanation embodiment of the present invention It is used, the restriction to the embodiment of the present invention is not intended as, meanwhile, the concrete numerical value of these examples can be according to different applied environments It is different with the parameter of device or component and different.
The method of operating and device for mind map of the embodiment of the present invention can run on that to be provided with Windows (micro- The operating system platform of soft company exploitation), the Android (behaviour for Portable movable smart machine of Google's exploitation Make system platform), the iOS operating system platform for Portable movable smart machine of exploitation (Apple), Windows The terminal of the operating systems such as Phone (operating system platform for Portable movable smart machine of Microsoft's exploitation) In, the terminal can be desktop computer, notebook computer, mobile phone, palm PC, panel computer, digital camera, digital vedio recording Any one in machine etc..
Embodiment one
Fig. 1 is a kind of flow chart of the method for operating for mind map in the embodiment of the present invention one, and the method is used for Realize pulling the live preview of node in mind map, the clear dragging position for showing present node provides users with the convenient. The method can be performed by the operation device for mind map, and the device can be realized by software and/or hardware mode, example Such as it is typically subscriber terminal equipment, such as mobile phone, computer etc..The method of operating bag for mind map in the present embodiment Include:Step S110, step S120, step S130 and step S140.
Step S110, obtains the dragging information of the dragging node in mind map, and the dragging information includes origin information With impact point information.
Specifically, mind map includes several nodes, and the node extended by a node is referred to as this node Child node, this node becomes the father node of the node for extending.According to user's request, it is determined that pulling node, node is pulled The B location for pulling the node from location A is referred to, wherein location A is the starting point for pulling node, and position coordinates is (X1,Y1), B location is the impact point for pulling node, and position coordinates is (X2,Y2).Obtain the origin information and impact point information for pulling node. Optionally, drag operation can be that user is clicked on mouse to operating point or user is touched with finger and is located on touch-screen Operating point, origin information includes the position coordinates of starting point, and impact point information includes the position coordinates of impact point.
Step S120, determines according to the starting point and impact point and pulls distance, if it is described pull distance be more than or equal to away from From threshold value, then determined apart from the nearest nodal information of the dragging node according to the impact point.
Specifically, determined according to starting point and impact point and pulled apart from L, optionally, it can be combining target point to pull apart from L The position coordinates of position coordinates and starting point calculated according to Euclidean distance formula and obtained, the concrete form of Euler's formula isJudge to pull the relation apart from L and distance threshold Y, wherein distance threshold Y be by User, as L >=Y, determines that distance pulls the nearest nodal information of point according to demand by program setting according to the information of impact point. Optionally, nodal information includes content, the even higher level of node information of node of the node in mind map in position, node The next stage nodal information (child node of node) of (father node of node) and node.
Optionally, if the distance that pulls is less than distance threshold, it is determined that it is maloperation that this is pulled.
Wherein, when distance is pulled less than distance threshold, i.e. L<During Y, it is determined that this drag operation is maloperation.It is optional , if the user while during with mouse drag operating point, pulling distance and being also not reaching to distance threshold, due to faulty operation Cause finger to leave mouse, that is, determine that this is pulled as maloperation;Or user pulls during operational cognition leads figure by mistake Certain node, recognizes and is not responding to after the maloperation.
Step S130, according to the dragging node determined apart from the nearest nodal information of the dragging node positioned at impact point with The incidence relation of other nodes in the mind map.
Specifically, during dragging node reaches impact point, the nearest nodal information of node is pulled according to distance true It is positioned at the relation for pulling node and other nodes in mind map of destination node.Other nodes include nodes at different levels, can Choosing, positioned at destination node pull node can be with the relation of other nodes in mind map, dragging positioned at destination node Drag child node or father node that node is other nodes, or the node with other node sane levels.
Step S140, draws and shows the dragging node positioned at impact point and the thinking in the mind map Lead the incidence relation of other nodes in figure.
Specifically, the incidence relation of other nodes in the dragging node of impact point with mind map is led in thinking Draw out in figure, and drawing result is shown, user can carry out subsequent operation according to result is shown.Optionally, make Components A dorner drawn with program is drawn out and pulls the preview that node pulls process.
In the embodiment of the present invention, determined according to the dragging information that node is pulled in mind map and pull distance, and according to dragging The relation for dragging distance and predeterminable range determines that distance pulls the nearest nodal information of node, and then determines the dragging positioned at impact point Node and the relation of other nodes in mind map, draw the relation and show.During realizing the dragging of mind map node Live preview, the clear dragging position for showing present node provides users with the convenient.
Embodiment two
Fig. 2 is a kind of flow chart of the method for operating for mind map in the embodiment of the present invention two, and the present embodiment exists On the basis of embodiment one, determined according to the impact point before the nearest nodal information of the dragging node described, Also include:Obtain the set of the corresponding circumscribed rectangular region of the mind map Zhong Ge branches.In the present embodiment for thinking Leading the method for operating of figure includes:Step S210, step S220, step S230 and step S240.
Step S210, obtains the dragging information of the dragging node in mind map, and the dragging information includes origin information With impact point information.
Step S220, determines according to the starting point and impact point and pulls distance, if it is described pull distance be more than or equal to away from From threshold value, then the set of the corresponding circumscribed rectangular region of the mind map Zhong Ge branches is obtained, determined according to the impact point Apart from the nearest nodal information of the dragging node.
Specifically, determined according to starting point and impact point pull distance and judging pull distance more than or equal to distance threshold it Afterwards, the set of the corresponding circumscribed rectangular region of mind map Zhong Ge branches is obtained.Optionally, in mind map, by centromere Used as demonstration node, the next stage node of Centroid is first nodes to point, and the next stage node of first nodes becomes two grades of sections Point, the connection between Centroid and first nodes is a branch, and the connection between first nodes and two-level node is also One branch.When pulling beginning, the first nodes in mind map are traveled through, the first nodes are obtained with its son by recursion method Minimum top value (top) of node, maximum bottom value (bottom), minimum left side value (left), maximum the right value (right), the corresponding circumscribed rectangular region of one-level branch is built according to four values of acquisition, the rectangular area is recorded as Bounds=new Rect ((left, top), (right, bottom).For each first nodes, it is obtained with the method Corresponding circumscribed rectangular region, the corresponding rectangular area of each first nodes is combined, and serial number is followed successively by external Rectangular area 1, circumscribed rectangular region 2 ..., circumscribed rectangular region n, each circumscribed rectangular region constitutes the collection of circumscribed rectangular region Close, wherein, each first nodes generates a Bounds, and each first nodes and its corresponding Bounds recorded into Hash In list, Hash list is represented with R, true according to the impact point for storing each first nodes and its corresponding Bounds The nearest nodal information of node is pulled described in set a distance
Step S230, according to the dragging node determined apart from the nearest nodal information of the dragging node positioned at impact point with The incidence relation of other nodes in the mind map.
Step S240, draws and shows the dragging node positioned at impact point and the thinking in the mind map Lead the incidence relation of other nodes in figure.
Preferably, methods described also includes:At the end of dragging to the dragging node, working as according to other nodes Front position and the dragging node positioned at ideal point determine described with the incidence relation of other nodes in the mind map The adjustment position of other nodes;According to the corresponding adjustment position of described other nodes and the dragging positioned at ideal point Node adjusts the mind map and shows with the incidence relation of other nodes in the mind map.
Specifically, protect at the end of the dragging for pulling node, pulling node ideal point during whole dragging Hold constant.Now, according to the current location of other nodes and in last impact point and dragging node with mind map The relation of other nodes, determines the adjustment position of other nodes.Preferably, if pulling the last impact point of node needs other Node carries out the adjustment of position just can be reached, then need to be adjusted the position of other nodes.Optionally, according to positioned at mesh The position relationship for pulling node and other nodes in mind map of punctuate, exemplary, the position relationship includes being located at finally The position relationship for pulling node and other nodes of impact point, such as top, lower section, left or right etc., and/or save with other Point is the relation of child node or father node.
In the embodiment of the present invention, by being determined apart from the nearest node of the dragging node according to the impact point described The set of the corresponding circumscribed rectangular region of the mind map Zhong Ge branches is obtained before information, it is determined that pull the target of node The scope of the corresponding rectangular area of point.
Embodiment three
Fig. 3 is a kind of flow chart of the method for operating for mind map in the embodiment of the present invention three, and the present embodiment exists On the basis of embodiment one and embodiment two, step S120 and step S130 are refined, it is described according to the impact point It is determined that including apart from the nearest nodal information of the dragging node:If the impact point is in the set of the circumscribed rectangular region It is interior, then determine from the corresponding branch of circumscribed rectangular region being located apart from the nearest node of the dragging node;The basis Determine the dragging node and other sections in the mind map positioned at impact point apart from the nearest nodal information of the dragging node The incidence relation of point includes:According to the child node and the impact point of the father node apart from the nearest node of the dragging node Position relationship, it is determined that the adjacent node of the dragging node positioned at the impact point;With apart from the nearest node of the dragging node Father node as positioned at the impact point dragging node father node, it is determined that positioned at the dragging node and phase of the impact point The incidence relation of neighbors.The method of operating for mind map in the present embodiment includes:Step S310, step S320, step Rapid S330, step S340 and step S350.
Step S310, obtains the dragging information of the dragging node in mind map, and the dragging information includes origin information With impact point information.
Step S320, determines according to the starting point and impact point and pulls distance, if it is described pull distance be more than or equal to away from It is corresponding from the circumscribed rectangular region being located if the impact point is in the set of the circumscribed rectangular region from threshold value Determine in branch apart from the nearest node of the dragging node.
Specifically, after dragging distance being determined according to starting point and impact point and judges to pull distance more than distance threshold, Current target point is designated as P, travels through Hash table, searches the position of impact point whether in the set of circumscribed rectangular region, if it is, Then traversal terminates, and continuation judges which rectangular area the position of impact point is particularly located in circumscribed rectangular region set specifically in. Optionally, the position of impact point is to be located at circumscribed rectangular region 5, then from the corresponding branch of circumscribed rectangular region 5, it is determined that distance Pull the nearest node of node;The Bounds of current branch is designated as Rp, and current branch is designated as S.
Step S330, according to the child node and the impact point of the father node apart from the nearest node of the dragging node Position relationship, it is determined that the adjacent node of the dragging node positioned at the impact point.
Specifically, the child node in S branches is traveled through, is calculated from nearest child node s1 of point is pulled, it is obtained according to s1 Father node sp, travels through the child node of sp, according to child node position, determines child node and pulls the position relationship of node, and The adjacent node of the dragging node positioned at destination node is determined according to the position relationship.
Step S340, using the father node apart from the nearest node of the dragging node as the dragging positioned at the impact point The father node of node, it is determined that positioned at the incidence relation for pulling node and adjacent node of the impact point.
Specifically, using node sp as the father node of the dragging node positioned at impact point, it is determined that positioned at the impact point Pull the incidence relation of node and adjacent node.Optionally, positioned at the incidence relation for pulling node and adjacent node of impact point Can be, s1 node su adjacent and above (if sky is designated as without if), the adjacent lower section node sd of s1 (if sky is designated as without if), according to obtaining Su, sd, s1, sur (position of su), sdr (position of sd), r (position of sp) the composition incidence relations for obtaining.
Step S350, draws and shows the dragging node positioned at impact point and the thinking in the mind map Lead the incidence relation of other nodes in figure.
In the embodiment of the present invention, it is analyzed by the situation to impact point in the set of circumscribed rectangular region, it is determined that Distance pulls the nearest node of node, and the position relationship of the child node according to the father node of the node and impact point, it is determined that position In the adjacent node of the dragging node of impact point, using the father node as the father node of the dragging node positioned at impact point, it is determined that Positioned at the incidence relation for pulling node and connected node of impact point.Realize to impact point in the set of circumscribed rectangular region In the case of determine the incidence relation for pulling node and connected node of impact point.
Example IV
Fig. 4 is a kind of flow chart of the method for operating for mind map in the embodiment of the present invention four, and the present embodiment exists Embodiment one is refined to embodiment three to step S120 and step S130,
It is described to be included apart from the nearest nodal information of the dragging node according to impact point determination:If the target Point is not in the set of the circumscribed rectangular region, it is determined that the node centered on the nearest node of the dragging node;Institute State according in the dragging node determined apart from the nearest nodal information of the dragging node positioned at impact point and the mind map The incidence relation of other nodes includes:According to the position relationship of the child node of the Centroid and the impact point, it is determined that position In the adjacent node of the dragging node of the impact point;Using the Centroid as the dragging node positioned at the impact point Father node, it is determined that positioned at the incidence relation for pulling node and adjacent node of the impact point.In the present embodiment for thinking Leading the method for operating of figure includes:Step S410, step S420, step S430, step S440 and step S450.
Step S410, obtains the dragging information of the dragging node in mind map, and the dragging information includes origin information With impact point information.
Step S420, determines according to the starting point and impact point and pulls distance, if it is described pull distance be more than or equal to away from From threshold value, if the impact point is not in the set of the circumscribed rectangular region, it is determined that nearest apart from the dragging node Node centered on node.
Specifically, after dragging distance being determined according to starting point and impact point and judges to pull distance more than distance threshold, Current target point is designated as P, travels through Hash table, searches the position of impact point whether in the set of circumscribed rectangular region, if mesh Distance is then pulled node centered on the nearest node of node by punctuate not in the set of circumscribed rectangular region.Exemplary, such as Not in the set of circumscribed rectangular region, then explanation is pulled beyond in the scope or mind map of mind map fruit dot P Heart range areas, then pull distance the nearest node of node and be defined as central point.
Step S430, according to the position relationship of the child node of the Centroid and the impact point, it is determined that being located at described The adjacent node of the dragging node of impact point.
Specifically, after judging distance pulls the nearest node of node is defined as central point, the son of each Centroid is determined The position relationship of node and impact point, it is exemplary, the position relationship include being located at the dragging node of ideal point and other The position relationship of node, such as top, lower section, left or right etc., and/or be child node or father node with other nodes Relation.It is determined that the adjacent node of the dragging node positioned at impact point.
Step S440, using the Centroid as the father node of the dragging node positioned at the impact point, it is determined that being located at The incidence relation for pulling node and adjacent node of the impact point.
Specifically, using Centroid as the father node of the dragging node positioned at impact point, and determine positioned at impact point Pull the incidence relation of node and adjacent node.Optionally, according to the coordinate of the dragging node positioned at impact point, centromere is traveled through The child node of point, calculates and pulls the adjacent top node su of node (if sky is designated as without if) positioned at impact point, positioned at impact point Dragging node lower section node sd (if without if be designated as sky);According to su, sd, the C (Centroid), the sur (positions of su that obtain Put), sdr (position of sd), r (positional information of Centroid) composition incidence relation.
Step S450, draws and shows the dragging node positioned at impact point and the thinking in the mind map Lead the incidence relation of other nodes in figure.
In the embodiment of the present invention, it is analyzed by the situation to impact point not in the set of circumscribed rectangular region, will Distance pulls the nearest node of node and is defined as Centroid, and the child node according to Centroid is closed with the position of impact point System, it is determined that the adjacent node of the dragging node positioned at impact point, using Centroid as the father of the dragging node positioned at impact point Node, it is determined that positioned at the incidence relation for pulling node and adjacent node of impact point.Realize to impact point in external rectangle region The incidence relation for pulling node and connected node of impact point is determined in the case of in the set in domain.
It is exemplary, in order that the statement of scheme is it is more readily appreciated that on the basis of above-described embodiment, at the end of dragging Scheme be expanded on further.At the end of dragging, have been completed in mind map and draw and show positioned at impact point The incidence relation of node and other nodes in the mind map is pulled, according to the incidence relation, with Centroid as root node, The position for pulling node is calculated according to sd and su, if sd is present, sd branches is obtained (including sub- section using recursive algorithm Point) the minimum top value (top) of boundary rectangle that constituted, between the minimum top value of boundary rectangle and each branch Gap value calculates the position for pulling node;If sd is not present, su is not present, then using recursive algorithm obtain su branches (including Child node) the maximum bottom value (bottom) of boundary rectangle that constituted, by the maximum bottom value of boundary rectangle and branch Between gap calculate pull node position;If sd and su are not present, for straight node, that is, the vertical seat of node is pulled Scale value is equal with the ordinate value of Centroid in incidence relation, pulls the abscissa value and Centroid in incidence relation of node Abscissa value have a value of fixed width difference, optionally, the consistent difference can preset, and by abscissa and vertical sit Mark can determine the position for pulling node.
Exemplary, Fig. 5 is that a kind of mind map provided in an embodiment of the present invention pulls rising for node dynamic mobile process Beginning position view;Fig. 6 is the centre that a kind of mind map provided in an embodiment of the present invention pulls node dynamic mobile process The position view at one moment;Fig. 7 is that a kind of mind map provided in an embodiment of the present invention pulls node dynamic mobile process Target location schematic diagram.As shown in Fig. 5, Fig. 6 and Fig. 7,550,650 and 750 are the Centroid of demonstration, 510-540,610- 640 and 710-740 are first nodes, and 511,512,521,522,531,532 and 541 is two-level node, wherein 531 are dragging Node;611st, 612,613,621,622,631 and 641 be two-level node, wherein, 613 for pull node during dragging certain The position at one moment;711st, 712,713,721,722,731 and 741 is two-level node, wherein 713 is the target position for pulling node Put.
Embodiment five
Fig. 8 is a kind of structural representation of the operation device for mind map in the embodiment of the present invention five, the device A kind of method of operating for mind map provided in the embodiment of the present invention one to four is adapted for carrying out, the device is specifically wrapped Include:
Information acquisition unit 810, for obtaining mind map in dragging node dragging information, the dragging packet Include origin information and impact point information;
Relation determination unit 820, is connected with information acquisition unit 810, drags for being determined according to the starting point and impact point Distance is dragged, if the distance that pulls is more than or equal to distance threshold, is determined apart from the dragging node according to the impact point Nearest nodal information;And according to the dragging node determined apart from the nearest nodal information of the dragging node positioned at impact point with The incidence relation of other nodes in the mind map;
Display unit 830, is connected with relation determination unit 820, for drawing in the mind map and shows described Positioned at the incidence relation for pulling node and other nodes in the mind map of impact point.
Further, information acquisition unit 810 is additionally operable to obtain the corresponding boundary rectangle of the mind map Zhong Ge branches The set in region.
Further, if relation determination unit 820 is additionally operable to set of the impact point in the circumscribed rectangular region It is interior, then determine from the corresponding branch of circumscribed rectangular region being located apart from the nearest node of the dragging node.
Further, relation determination unit 820 is additionally operable to according to the father node apart from the nearest node of the dragging node Child node and the impact point position relationship, it is determined that the adjacent node of the dragging node positioned at the impact point;With distance The father node for pulling the nearest node of node as the dragging node positioned at the impact point father node, it is determined that being located at institute State the incidence relation for pulling node and adjacent node of impact point.
Further, if relation determination unit 820 is additionally operable to the impact point not in the collection of the circumscribed rectangular region In closing, it is determined that the node centered on the nearest node of the dragging node.
Further, relation determination unit 820 is additionally operable to child node and the impact point according to the Centroid Position relationship, it is determined that the adjacent node of the dragging node positioned at the impact point;Using the Centroid as positioned at the mesh The father node of the dragging node of punctuate, it is determined that positioned at the incidence relation for pulling node and adjacent node of the impact point.
Further, described device also includes position determination unit and adjustment unit.
Position determination unit, at the end of to the dragging of the dragging node, according to the present bit of other nodes Put and positioned at ideal point pull node and the incidence relation of other nodes in the mind map determine it is described other The adjustment position of node;
Adjustment unit, for according to the corresponding adjustment position of described other nodes and the dragging positioned at ideal point Drag node to adjust the mind map with the incidence relation of other nodes in the mind map and show.
Further, if the distance that pulls is less than distance threshold, it is determined that it is maloperation that this is pulled.
In the embodiment of the present invention, determined according to the dragging information that node is pulled in mind map and pull distance, and according to dragging The relation for dragging distance and predeterminable range determines that distance pulls the nearest nodal information of node, and then determines the dragging positioned at impact point Node and the relation of other nodes in mind map, draw the relation and show.During realizing the dragging of mind map node Live preview, clear display pull node dragging position at any time, provide users with the convenient.
Obviously, it will be understood by those skilled in the art that the said goods can perform the side that any embodiment of the present invention is provided Method, possesses the corresponding functional module of execution method and beneficial effect.
Note, above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that The invention is not restricted to specific embodiment described here, can carry out for a person skilled in the art various obvious changes, Readjust and substitute without departing from protection scope of the present invention.Therefore, although the present invention is carried out by above example It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also More other Equivalent embodiments can be included, and the scope of the present invention is determined by scope of the appended claims.

Claims (10)

1. a kind of method of operating for mind map, it is characterised in that include:
The dragging information of the dragging node in mind map is obtained, the dragging information includes origin information and impact point information;
Determined according to the starting point and impact point and pull distance, if the distance that pulls is more than or equal to distance threshold, basis The impact point is determined apart from the nearest nodal information of the dragging node;
According to the dragging node and the mind map that determine apart from the nearest nodal information of the dragging node positioned at impact point In other nodes incidence relation;
Draw and show the dragging node positioned at impact point with other sections in the mind map in the mind map The incidence relation of point.
2. the method for operating for mind map according to claim 1, it is characterised in that described according to the target Point determined before the nearest nodal information of the dragging node, also includes:
Obtain the set of the corresponding circumscribed rectangular region of the mind map Zhong Ge branches.
3. the method for operating for mind map according to claim 2, it is characterised in that described according to the impact point It is determined that including apart from the nearest nodal information of the dragging node:
If the impact point is in the set of the circumscribed rectangular region, from the corresponding branch of circumscribed rectangular region being located It is middle to determine apart from the nearest node of the dragging node.
4. the method for operating for mind map according to claim 3, it is characterised in that described according to dragging apart from described Drag the nearest nodal information of node and determine that the node that pulls positioned at impact point is associated with other nodes in the mind map System includes:
According to the position relationship of the child node of the father node apart from the dragging nearest node of node and the impact point, it is determined that Positioned at the adjacent node of the dragging node of the impact point;
Using the father node apart from the nearest node of the dragging node as the father node of the dragging node positioned at the impact point, It is determined that positioned at the incidence relation for pulling node and adjacent node of the impact point.
5. the method for operating for mind map according to claim 2, it is characterised in that described according to the impact point It is determined that including apart from the nearest nodal information of the dragging node:
If the impact point is not in the set of the circumscribed rectangular region, it is determined that apart from the nearest section of the dragging node Node centered on point.
6. the method for operating for mind map according to claim 5, it is characterised in that described according to dragging apart from described Drag the nearest nodal information of node and determine that the node that pulls positioned at impact point is associated with other nodes in the mind map System includes:
According to the position relationship of the child node of the Centroid and the impact point, it is determined that positioned at the dragging section of the impact point The adjacent node of point;
Using the Centroid as the father node of the dragging node positioned at the impact point, it is determined that dragging positioned at the impact point Drag the incidence relation of node and adjacent node.
7. the method for operating for mind map according to claim 1, it is characterised in that also include:
At the end of dragging to the dragging node, according to the current location of other nodes and positioned at ideal point Pull node and determine the adjustment position of other nodes with the incidence relation of other nodes in the mind map;
According to the corresponding adjustment position of described other nodes and the dragging node positioned at ideal point and the thinking The incidence relation for leading other nodes in figure adjusts the mind map and shows.
8. the method for operating for mind map according to claim 1, it is characterised in that if the dragging is apart from little In distance threshold, it is determined that it is maloperation that this is pulled.
9. a kind of operation device for mind map, it is characterised in that include:
Information acquisition unit, for obtaining mind map in dragging node dragging information, the dragging information include starting point Information and impact point information;
Relation determination unit, is connected with described information acquiring unit, and for determining according to the starting point and impact point distance is pulled, If the distance that pulls is more than or equal to distance threshold, determined apart from the nearest section of the dragging node according to the impact point Point information;And according to dragging node and the thinking determined apart from the nearest nodal information of the dragging node positioned at impact point Lead the incidence relation of other nodes in figure;
Display unit, is connected with the relation determination unit, for drawing in the mind map and shows and described is located at mesh The incidence relation for pulling node and other nodes in the mind map of punctuate.
10. the operation device for mind map according to claim 9, it is characterised in that described information acquiring unit It is additionally operable to obtain the set of the corresponding circumscribed rectangular region of the mind map Zhong Ge branches.
CN201611178144.1A 2016-12-19 2016-12-19 Operation method and device for mind map Active CN106648319B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611178144.1A CN106648319B (en) 2016-12-19 2016-12-19 Operation method and device for mind map

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611178144.1A CN106648319B (en) 2016-12-19 2016-12-19 Operation method and device for mind map

Publications (2)

Publication Number Publication Date
CN106648319A true CN106648319A (en) 2017-05-10
CN106648319B CN106648319B (en) 2020-04-07

Family

ID=58833347

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611178144.1A Active CN106648319B (en) 2016-12-19 2016-12-19 Operation method and device for mind map

Country Status (1)

Country Link
CN (1) CN106648319B (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106991873A (en) * 2017-05-12 2017-07-28 平顶山学院 A kind of economic management mind map instrument
CN107492133A (en) * 2017-08-29 2017-12-19 广州视源电子科技股份有限公司 The method that drawing application system and its boost line are drawn
CN108304763A (en) * 2017-12-01 2018-07-20 腾讯科技(深圳)有限公司 Mind map recognition methods, device, storage medium and computer equipment
CN108898893A (en) * 2018-07-31 2018-11-27 新余学院 A kind of economic management mind map tool
CN109032446A (en) * 2018-07-23 2018-12-18 广州视源电子科技股份有限公司 Node contacts generation method, device, equipment and the storage medium of mind map
CN109324722A (en) * 2018-07-23 2019-02-12 广州视源电子科技股份有限公司 Node adding method, device, equipment and the storage medium of mind map
CN111160862A (en) * 2019-12-30 2020-05-15 广东三扬网络科技有限公司 Thinking-guidance-diagram-based process flow display method, electronic equipment and storage medium
CN111191930A (en) * 2019-12-30 2020-05-22 广东三扬网络科技有限公司 Method for displaying combination among multiple mind maps, electronic device and storage medium
CN111782329A (en) * 2020-07-03 2020-10-16 北京字节跳动网络技术有限公司 Node dragging method, device, equipment and computer readable medium
CN112036807A (en) * 2020-07-27 2020-12-04 正方软件股份有限公司 Thinking guide diagram-based culture scheme making method
CN112132980A (en) * 2020-09-22 2020-12-25 广西农业职业技术学院 Thinking guide graph operation method for psychological consultation
CN112749282A (en) * 2019-10-31 2021-05-04 北京国双科技有限公司 Knowledge graph display method, device, equipment and storage medium
CN114579004A (en) * 2022-03-09 2022-06-03 北京百度网讯科技有限公司 Method and device for generating flow canvas and electronic equipment
WO2023092254A1 (en) * 2021-11-23 2023-06-01 广州视源电子科技股份有限公司 Mind map adjustment method, storage medium and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103164191A (en) * 2011-12-08 2013-06-19 腾讯科技(深圳)有限公司 Method and device of webpage element dragging
CN103207730A (en) * 2013-04-03 2013-07-17 珠海飞企软件有限公司 Generation method and generator for localizable dragging type flow chart
CN103473236A (en) * 2012-06-07 2013-12-25 福建星网视易信息***有限公司 Display method of song push information
CN106020685A (en) * 2016-05-16 2016-10-12 广州视睿电子科技有限公司 Mind map operation method and apparatus

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103164191A (en) * 2011-12-08 2013-06-19 腾讯科技(深圳)有限公司 Method and device of webpage element dragging
CN103473236A (en) * 2012-06-07 2013-12-25 福建星网视易信息***有限公司 Display method of song push information
CN103207730A (en) * 2013-04-03 2013-07-17 珠海飞企软件有限公司 Generation method and generator for localizable dragging type flow chart
CN106020685A (en) * 2016-05-16 2016-10-12 广州视睿电子科技有限公司 Mind map operation method and apparatus

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106991873B (en) * 2017-05-12 2018-01-02 平顶山学院 A kind of economic management mind map instrument
CN106991873A (en) * 2017-05-12 2017-07-28 平顶山学院 A kind of economic management mind map instrument
CN107492133B (en) * 2017-08-29 2020-11-03 广州视源电子科技股份有限公司 Drawing application system and auxiliary line drawing method thereof
CN107492133A (en) * 2017-08-29 2017-12-19 广州视源电子科技股份有限公司 The method that drawing application system and its boost line are drawn
CN108304763A (en) * 2017-12-01 2018-07-20 腾讯科技(深圳)有限公司 Mind map recognition methods, device, storage medium and computer equipment
CN108304763B (en) * 2017-12-01 2021-10-08 腾讯科技(深圳)有限公司 Thinking guide graph recognition method and device, storage medium and computer equipment
CN109032446A (en) * 2018-07-23 2018-12-18 广州视源电子科技股份有限公司 Node contacts generation method, device, equipment and the storage medium of mind map
CN109032446B (en) * 2018-07-23 2020-12-22 广州视源电子科技股份有限公司 Method, device, equipment and storage medium for generating node relation of thinking guide graph
CN109324722B (en) * 2018-07-23 2021-04-06 广州视源电子科技股份有限公司 Method, device and equipment for adding nodes of thought guide graph and storage medium
CN109324722A (en) * 2018-07-23 2019-02-12 广州视源电子科技股份有限公司 Node adding method, device, equipment and the storage medium of mind map
CN108898893B (en) * 2018-07-31 2020-11-27 新余学院 Thinking map guiding tool for economic management
CN108898893A (en) * 2018-07-31 2018-11-27 新余学院 A kind of economic management mind map tool
CN112749282A (en) * 2019-10-31 2021-05-04 北京国双科技有限公司 Knowledge graph display method, device, equipment and storage medium
CN111160862A (en) * 2019-12-30 2020-05-15 广东三扬网络科技有限公司 Thinking-guidance-diagram-based process flow display method, electronic equipment and storage medium
CN111191930A (en) * 2019-12-30 2020-05-22 广东三扬网络科技有限公司 Method for displaying combination among multiple mind maps, electronic device and storage medium
CN111191930B (en) * 2019-12-30 2024-05-14 广东三扬网络科技有限公司 Method for displaying combination of multiple mind map, electronic device and storage medium
CN111782329A (en) * 2020-07-03 2020-10-16 北京字节跳动网络技术有限公司 Node dragging method, device, equipment and computer readable medium
CN111782329B (en) * 2020-07-03 2023-12-19 抖音视界有限公司 Node dragging method, device, equipment and computer readable medium
CN112036807A (en) * 2020-07-27 2020-12-04 正方软件股份有限公司 Thinking guide diagram-based culture scheme making method
CN112132980A (en) * 2020-09-22 2020-12-25 广西农业职业技术学院 Thinking guide graph operation method for psychological consultation
WO2023092254A1 (en) * 2021-11-23 2023-06-01 广州视源电子科技股份有限公司 Mind map adjustment method, storage medium and device
CN114579004A (en) * 2022-03-09 2022-06-03 北京百度网讯科技有限公司 Method and device for generating flow canvas and electronic equipment

Also Published As

Publication number Publication date
CN106648319B (en) 2020-04-07

Similar Documents

Publication Publication Date Title
CN106648319A (en) Operation method and apparatus used for mind map
US20150277686A1 (en) Systems and Methods for the Real-Time Modification of Videos and Images Within a Social Network Format
US8831356B2 (en) Information processing apparatus, metadata setting method, and program
US11158057B2 (en) Device, method, and graphical user interface for processing document
CN107463302B (en) A kind of icon layout method of adjustment and its device
CN108874286A (en) User interface for camera effect
JP6076418B2 (en) Electronic device and comic production method
US10649618B2 (en) System and method for creating visual representation of data based on generated glyphs
CN107545057A (en) Show method, apparatus, equipment and the storage medium of mind map
US20110246939A1 (en) Information Processing Method and Graphical User Interface
CN108664663A (en) Recommendation information display methods, device and storage medium
CN103631475A (en) Method and device for switching windows
AU2014200042B2 (en) Method and apparatus for controlling contents in electronic device
CN109064525A (en) A kind of picture format conversion method, device, equipment and storage medium
CN113014801B (en) Video recording method, video recording device, electronic equipment and medium
CN109992266A (en) A kind for the treatment of method and apparatus of interface element
CN108108443A (en) Character marking method of street view video, terminal equipment and storage medium
CN107977155A (en) A kind of hand-written recognition method, device, equipment and storage medium
US9330099B2 (en) Multimedia apparatus and method for providing content
CN107728873A (en) The method and its device of contents selection
CN113918522A (en) File generation method and device and electronic equipment
CN104769611A (en) Method and apparatus for summarization based on facial expressions
US10120539B2 (en) Method and device for setting user interface
US20180081885A1 (en) Handoff support in asynchronous analysis tasks using knowledge transfer graphs
CN103744609B (en) A kind of data extraction method and device

Legal Events

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