|Publication number||US5798769 A|
|Application number||US 08/698,741|
|Publication date||Aug 25, 1998|
|Filing date||Aug 15, 1996|
|Priority date||Aug 15, 1996|
|Also published as||DE69731434D1, DE69731434T2, EP0825559A2, EP0825559A3, EP0825559B1|
|Publication number||08698741, 698741, US 5798769 A, US 5798769A, US-A-5798769, US5798769 A, US5798769A|
|Inventors||Patrick Chiu, Thomas P. Moran, William J. vanMelle|
|Original Assignee||Xerox Corporation|
|Export Citation||BiBTeX, EndNote, RefMan|
|Patent Citations (2), Referenced by (70), Classifications (5), Legal Events (6)|
|External Links: USPTO, USPTO Assignment, Espacenet|
This application is related to concurrently filed and pending application entitled "Method and Apparatus For Creating Outlines Of Graphic Objects In A Free-Form Graphics Display System", Ser. No. not yet assigned, which is assigned to the same assignee as the present application.
The present invention is related to the field of operating in a graphics based computer system, and in particular to maintaining the topology of a node-link structure as nodes are moved.
Computer based systems such as pen based systems and "electronic whiteboards" (e.g. the LiveBoard™ available from LiveWorks a division of Xerox Corporation), provide graphical user interfaces based on utilization of an input device such as a pen, stylus or a cursor control device. In such systems the "display" acts as both a means for showing data and as an input medium. Graphic objects may be "drawn" on the display via pen strokes created using the input device. The graphic objects may represent words, figures or anything that can be displayed. Various operations can then be performed on the graphic objects using an input technique known as gestures. Gestures are themselves merely pen strokes which are interpreted as instructions. Sometimes, such systems will have a draw mode of operation and a gesture mode of operation to distinguish when a pen stroke creates a persistent graphic object or when the pen stroke is treated as a gesture.
When interacting with a computer based system, stopping the thought process in order to wait for operations, e.g. to group or rearrange graphic objects, has a very detrimental effect. Such stoppages generally slow the creative processes. This is of particular impact to the synergy of the group interactions. Artificial delays may cause participants to "lose their train of thought" resulting in the possible loss of ideas. Thus, there is a general need in systems with graphical user interfaces for techniques that provide intuitive and quick manipulation of graphic objects.
One use of systems is the creation and manipulation of node-link diagrams. For example, various project management, flowcharting and drawing programs enable the maintenance of the topology of a node-link structure as the nodes are moved. Known programs typically operate with the nodes and links being of a known pre-declared type. Difficulties however arise when the diagram is free-form, i.e. the nodes and links have arbitrary shapes.
Such manipulation of a free form node-link structure is described in EP 0 667 567 A2 entitled "Apparatus and Method For Supporting the Implicit Structure Of Freeform Lists, Outlines, Text, Tables, and Diagrams In A Gesture-Based Input System and Editing System", which is assigned to the same assignee of the present invention. In EP 0 667 567 A2 diagrams, i.e. node-link structures, are described which have persistent links which maintain shape characteristics as nodes are moved. Links are reshaped using linear geometric transformations that preserve its characteristic shape while "stretching" enables the link to fit the new positions of the nodes it connects. Endpoints of the links may be moved if movement of the node requires it.
In a computer controlled display system capable of supporting free form graphical input, techniques for maintaining the topology of a node-link structure when nodes are moved are disclosed. A link will be reshaped depending on where a node is moved relative to the node to which it is attached. Both the link and node are of an arbitrary shape. In the simple case, a link will stretch or contract if the link is a straight line and direction of movement is along that line. However, links and the direction of movement of nodes is not limited to straight lines. So various methods for retaining the node-link structure topology when a node is moved are needed. Generally, the link reshaping occurs automatically when a node is moved. The intent with respect to "automatic" link reshaping is to retain the basic shape characteristics of the link and to avoid undesirable artifacts when moving a node (e.g. a link intersecting through a node). Link reshaping is accomplished through a combination of curve transformation, link flipping, link attachment point flipping and link truncation.
Curve transformation of a link is more than a simple scaling. Rather, a link is composed of a plurality of segments, and the displacement from a node move operation is divided up (according to a certain transformation factor based on each segment) and added to the segments. Flipping the link shape retains shape characteristics and is desirable since a node may be moved anywhere on a work surface relative to a stationary node. The points at which links "touch" a node are termed attachment points. The attachment points at which the link is attached to the stationary node is used to define an origin of a local coordinate system for performing the link reshaping. Depending on where the node is moved, the link shape may be flipped about one or both of the axes of the coordinate system and the flipped link image used for reshaping.
Avoiding undesirable artifacts (i.e. a link intersecting a node) is accomplished by flipping the attachment points of the link on the nodes or by rerouting the link. Flipping an attachment point is invoked only if the node permits flipping of attachment points. If flipping the attachment point does not correct the intersecting link, the link may be truncated at the point where the link intersects the node.
If attachment point flipping is not permitted, link rerouting may occur. In link rerouting, the link is redrawn to follow the outlines of the fixed and moved nodes and where the outlines are connected by a retained portion of the original intersecting link.
Finally, an intersecting link may be corrected by a user selecting an attachment point of a node and manually moving it to a new non-intersecting location on the node.
The present invention has been implemented for use on a computer controlled display system having a graphical user interface and which utilizes an input device which allows a person to draw graphic objects for input. Examples of such systems include pen based systems, systems utilizing "paint" type programs, electronic whiteboards or electronic desk surfaces.
FIG. 1 is a block diagram of a computer based system as may be utilized in the currently preferred embodiment of the present invention.
FIG. 2 is a representation of a basic graphical user interface and as may be displayed on the display and interfaced through the touch sensitive panel of FIG. 1.
FIG. 3 is an illustration of a node being moved and corresponding link reshaped as may be performed in the currently preferred embodiment of the present invention.
FIG. 4 is a flowchart summarizing the link reshaping as may be performed in the currently preferred embodiment of the present invention.
FIG. 5 illustrates the spatial coordinates of link reshaping as may be performed in the currently preferred embodiment of the present invention
FIGS. 6 and 7 illustrate an undesirable result of simple geometric scaling of an instance of a link.
FIG. 8 is an illustration of curve sample points and segments as found in the representation of a curve in the currently preferred embodiment of the present invention.
FIG. 9 is a flowchart illustrating the steps for curve transformation as may be performed in the currently preferred embodiment of the present invention.
FIG. 10 is an illustration of the link of FIG. 3 as flipped across the various axes as may be performed when a node is moved out of its original quadrant as may be performed in the currently preferred embodiment of the present invention.
FIGS. 11-12 illustrate the moving of a node so that it causes the a reshaped link to intersect a node.
FIG. 13 is an illustration of flipping attachment points on a node after the movement of the nodes in FIG. 11 as may be performed in the currently preferred embodiment of the present invention.
FIG. 14 is an illustration of selecting a flipped attachment point at various points on an asymmetrically shaped node as may be performed in the currently preferred embodiment of the present invention.
FIG. 15 is an illustration of selecting a flipped attachment point when the node is intersected at multiple points as may be performed in the currently preferred embodiment of the present invention.
FIGS. 16 and 17 are an illustration of a variation of flipping an attachment point by moving an attachment point across the edge of a node as may be performed in the currently preferred embodiment of the present invention.
FIGS. 18 and 19 are an illustration of moving a node which causes a link to intersect the node and flipping the attachment point does not correct the node intersection.
FIG. 20 is an illustration of link truncation as may be performed in the currently preferred embodiment of the present invention.
FIG. 21 is an illustration of link rerouting to correct intersecting nodes as may be performed in the currently preferred embodiment of the present invention.
FIG. 22 is a flowchart illustrating the step for rerouting a link as may be performed in the currently preferred embodiment of the present invention.
FIGS. 23-26 illustrate the steps performed in FIG. 22 of rerouting a link.
FIGS. 27 is a flowchart illustrating the steps for creating the outline of a node boundary as may be performed in the currently preferred embodiment of the present invention.
FIGS. 28-30 illustrate the performance of the various steps of FIG. 23 for creating the outline of a node boundary.
The present invention addresses a problem when working in a free-form graphics based computer system that is capable of manipulating node-link diagrams. A node-link diagram may include a flowchart, an organization chart, a state diagram, project management charts or the like. It is often desirable to be able to move nodes around in node-link diagram while retaining the links. Also, as the node-link diagram may be created in a free-form manner so that nodes and links have arbitrary shapes, it has been determined that it is desirable that the links retain their original shape characteristics. So the present invention enables a user to modify a node-link diagram through movement of nodes without having to be concerned about altering the links.
The following terms are used in this description and have their indicated meanings:
Graphic Object: Any displayed object in 2D space.
Curve: A one dimensional graphic object created manually by the user (e.g. a pen stroke) or made by other means, such as by a gesture (e.g. a selection rectangle resulting from a selection gesture).
Pen Stroke: An action with a pen which becomes an ink stroke or a gesture.
Ink stroke: A curve that is persistent.
Gesture: A curve made with a pen stroke that is ephemeral and which is interpreted as an action.
Selection: A set of graphic objects tagged as being selected.
Node: A graphic object or group of graphic objects within some bounded region. Such a bounded region will typically have a visible boundary.
Link: An ink stroke touching one or two nodes i.e. linking them!. A node may also be linked to itself.
The computer based system as may be utilized in the present invention is illustrated with reference to FIG. 1. Referring to FIG. 1, the computer based system is comprised of a plurality of components coupled via a bus 101. The bus 101 illustrated here is simplified in order not to obscure the present invention. The bus 101 may consist of a plurality of parallel buses (e.g. address, data and status buses) as well as a hierarchy of buses (e.g. a processor bus, a local bus and an I/O bus). In any event, the computer system is further comprised of a processor 102 for executing instructions provided via bus 101 from Internal memory 103 (note that the Internal memory 103 is typically a combination of Random Access or Read Only Memories). When in operation, program instructions for carrying out the various functional components of the present invention are stored in internal memory 103. The processor 102 and Internal memory 103 may be discrete components or a single integrated device. The processor 102 and internal memory 103 comprise circuitry for performing the various processing functions described herein. Also coupled to the bus 101 is external storage 107. The external storage 107 is typically a high capacity storage media such as magnetic or optical disk storage.
Also coupled to the bus 101 is a display 104 and a pointing device 105. In the currently preferred embodiment, the pointing device 105 is a pen driven touch sensitive panel which is integrated with the display 104 as a touch screen display. Such touch screen displays are well known in the art and are utilized in such systems as Pen based system and for electronic whiteboard systems. However, the pointing device 105 and display 104 need not be integrated so that the pointing device 105 may also be a stylus, mouse, track-ball or other cursor control device.
FIG. 2 illustrates a particular implementation of a graphical user interface as may be used in the present invention. Referring to FIG. 2, the graphical user interface is displayed on display 104 and interacted with via touch panel 105. The graphical user interface employs a working surface and may employ a plurality of accessible functions 201 as is shown. The working surface 202 is where a user may draw various curves and where other graphic objects are displayed. The accessible functions 201 are positioned at the button area 203 of the display. The functions 201 may include operations for editing graphic objects (create, delete, move, shrink, etc.) or changing the operating mode of the touch panel 103 (e.g. switching from draw and gesture mode).
These functions may alternatively be accessed by a pull down menus that are commonly found in Windows oriented applications. These functions however are optional in designation, their principal objects being to define operations which are inherent in the operation of the system. These functions may perform the same functions that are invoked by gestures.
The currently preferred embodiment of the present invention is implemented on a pen based system having a Graphical User Interface (GUI). Such a GUI will typically support operations such as "tap" for selecting/deselecting a graphic object or "double tap" for invoking an operation that may be associated with the graphic object being tapped on. Once an object is selected it may be dragged and dropped to a desired location in the work space. As will be described in greater detail below, such a tap gesture will cause on outlining of the selected graphic object, e.g. a node in a node-link diagram, to be outlined and displayed in a visually distinct manner. This outlining provides the user with feedback that the graphic object has been selected.
The work space of the currently preferred embodiment permits graphic objects that are made "freehand". Hence nodes and links may have an arbitrary shape. This is consistent with how a whiteboard is used.
The currently preferred embodiment of the present invention has been implemented as software programs in the C++ programming language, for use on a pen based system, such as the LiveBoard, running under the control of a suitable whiteboard emulation program. Such software programs may be stored on a suitable storage medium such as magnetic diskettes or CD-ROMs.
Node-link diagrams have many uses. They may be used to describe a process flow, or to show relationships between grouped items. The organization and relationship between nodes and links is referred to as the "topology" of the node-link diagram. It is desirable when manipulating the spatial position of nodes that the topology is retained.
A node in a node-link diagram has an arbitrary shape and represents a group of related graphic objects. These graphic objects may typically represent letters, words or other information conveying symbols. A node may be represented by the encircling of graphic objects with an ink stroke or by any grouping means. A node has a visible boundary which indicates the spatial limits of the node. A node may have multiple links to other nodes. Selection of a node will also cause selection of its links.
Links are ink strokes that are used to provide a visual connection between one or more nodes. Links may also have an arbitrary shape. Providing links between nodes is useful, particularly when re-positioning the nodes. Being able to retain the visual association between the nodes even as they are moved helps provide unencumbered usage of the graphics based system.
A link is created by simply drawing a curve that "touches" at least one node. By touching a node it is meant that the link endpoint is within a predetermined distance to the node boundary. The point at which a link "touches" a node is termed an "attachment point". Links are associated with at least one node (i.e. one-ended) and at most two nodes.
The currently preferred embodiment can handle multiple nodes and links, but the basic problem resulting from links are derived from the node-link diagram illustrated in FIG. 3. Referring to FIG. 3, a single link L1 301 with a node at each end, a stationary node N 302 and a node N1 303 that the user moves manually to a position labeled as N2 304. As a result of this move the link L1 301 is reshaped to be the link shown as L2 305. The attachment points of the link to the nodes are shown as A 306, A1 307, and A2 308.
FIG. 4 is a flowchart which overviews the link reshaping as may be performed in the currently preferred embodiment of the present invention. Referring to FIG. 4, first a user moves a node in a node-link diagram, step 401. This can be performed by a simple drag and drop operation or by any operation supported by the underlying graphical user interface. The first step in reshaping the node is to identify the destination quadrant, step 402. A determination is made if the destination quadrant is the same, step 403. Determination of the destination quadrant will indicate if flipping of the original link is required. If the destination quadrant is the same, curve transformation for the link occurs relative to the original link, step 404. If the destination quadrant is not the same, the original link is flipped across the respective axes to the destination quadrant, step 405. Curve transformation for the link is then performed relative to the flipped link, step 406.
After the link has been reshaped, it is determined if any of the nodes are intersected by the reshaped link, step 407. If no links intersect a node, then the link reshaping is completed, step 413. If links do intersect a node, it is determined if attachment points of the nodes may be moved, step 408. If they cannot, link rerouting may be performed, step 409. Otherwise, the attachments points to the nodes are rerouted, step 410. A check is then made to determine if an intersection still exists, step 411. If no nodes are intersected after the attachment points are flipped, the link reshaping is completed, step 413. If nodes remain intersected by links, the link is truncated at the point in which a node is intersected, step 412. Upon completion of truncation, the reshaping of the link is completed, step 413.
It should be noted that in the currently preferred embodiment attachment points may be selected and moved by the user. This is necessary since the user may want to alter the relationship between the nodes. Further, the user may want to do this if the user is not satisfied with the results of an automatic link reshaping.
As noted above, a link is an instance of a curve. Curve transformation can be conceptually thought of as the stretching or contraction of a link so that it retains its shape characteristics. For curve transformation, the link is considered in isolation, as shown in FIG. 5. Link L1 301 goes from A 306 to A1 307. It is desirable that the link L2 305, which goes from A 306 to A2 308, have the same shape characteristics as L1 301. It should be noted that in this representation the attachment point A 306 of the fixed node is placed at the origin of a two-dimensional coordinate system. So attachment point Al 307 is at coordinate (x1 501, y1 502) and attachment point A2 308 is at coordinates (x2 503, y2 504). The objective is to transform the remainder of the curve so that the shape characteristics of L1 301 are retained.
One way of performing a transformation is a simple geometric transformation (e.g. scaling). However, it has been determined that this causes undesirable results in certain situations. Such an instance is illustrated in FIGS. 6 and 7. Referring to FIG. 6, a link 601 in the shape of a single period of a sine curve is attached to node 602 and 603. A simple geometric transformation is typically given by the following: The x-y coordinates of the original attachment point are <x1,x2>and <x2,y2> for the attachment point as moved. To transform the link, every point P<x,y> on the link is moved to P'<x',y'>, where x'=* 2/x1 and y'=y * y2/y1. Note that in some cases the denominator may be small or even zero. The result is illustrated in FIG. 7. Referring to FIG. 7, as a result of moving node 603 the link 701 is transformed so that "humps" 702 and 703 of the curve are greatly extended. This is a result of the denominator being a small fractional number. Thus, the present invention utilizes a different approach for reshaping the link.
To better understand how curve transformation occurs, an understanding of how a curve is represented is necessary. The simplest way to represent a curve is by its set of sample points. These are naturally ordered by their order of input. Some system represent a curve directly by a bitmap, or a bitmap generated by fitting a curve(spline) through the sample points. In the currently preferred embodiment, a curve is represented by its starting point and its set of segments, where a segment is the vector <dx, dy> determined by two consecutive sample points. This is illustrated in FIG. 8. Referring to FIG. 8, a curve 801 appears on work surface. The curve 801 is detected by the samplings which occurred at points 810-820. The distance between sample points is termed a segment. For example, a segment 831 is defined between sample points 810 and 811 where sample point 811 is the end sample point. For convenience, the curve is normalized by orienting it so that the fixed attachment point is the starting point and the moved attachment point is the ending point of the curve.
The curve transformation technique of the currently preferred embodiments takes the difference between the before and after attachment points and distributes this onto the segments of the curve. In other words, the points making up the link are transformed to new locations so that the shape of the original link is maintained. The technique is described with reference to the flowchart of FIG. 9 and the coordinate points described in FIG. 3. Referring to FIG. 9, the first step is to calculate total X and Y displacements, step 901. Let (x1, y1) and (x2, y2) be the before and after positions of the moved attachment point of the link. Then:
The remaining steps are then carried out for each of the segments of the link. For the i-th segment <dx i!, dy i!>, the transformation is calculated, as described in steps 902-904, resulting in a new i-th segment <Tdx i!, Tdy i!>. This is performed by the following calculation:
First the x and y arclengths of the curve is computed, step 902:
where |x|denotes the length or absolute value of x.
Then the transformation factors cx i! and cy i! are calculated based on the x and y lengths of the i-th segment, step 903:
cx i!=|dx i!|/(x-arclength),
cy i!=|dy i!|/(y-arclength).
Now the contributions of the displacement to be added to the i-th segment are given by cx i!* xDisp and cy i!* yDisp, so the new i-th segment, is computed by, step 904:
Tdx i!=cx i!*xDisp+dx i!,
Tdy i!=cy i!*yDisp+dy i!.
Note in the examples in FIGS. 3 and 5 that attachment points A1 and A2 are in the same quadrant of the coordinate system defined where attachment point A is the origin. In the currently preferred embodiment, besides being reshaped, if A2 is in a different quadrant than A1, then the link shape will be flipped (mirror-reversed) around the x-axis, the y-axis, or both. This flipping is a desirable visual property, since this is what the user naturally expects. FIG. 10 shows these three cases of flipping. If A1 were moved from quadrant 1001 to quadrant 1002, the result would be A4 1007. The flipping would occur about the y-axis 1006. If Al were moved from quadrant 1001 to quadrant 1003, the result would be A5 1008. The flipping would occur about the y-axis 1006 and the x-axis 1005. Finally, if Al were moved to quadrant 1004, the result would be A3 1009. The flipping would occur about the x-axis 1005.
Generally, when movement out of the quadrant occurs, what first occurs is the flipping of the link to the destination quadrant. Flipping the link shape is accomplished by a simple geometric transformation to the desired quadrant. This is followed by the link reshaping described above performed relative to the flipped link.
Having transformed the shape of the link, this is all that needs to be done in the simple case shown in FIG. 3. But FIGS. 11 and 12 illustrate a case where the reshaping and flipping have created undesirable results. Referring to FIG. 11, node N1 101 with attachment point A1 1102 is moved to a position denoted as N2 1103 with attachment point A2 1104. Fixed node N 1105 has attachment point A 1106. Link L1 1107 links node N 1105 with node N1 1101. The result of this after link reshaping and flipping is shown in FIG. 12. The link L1 1107 has been reshaped to link L2 1201, and L2 1201 intersects both node N 1101 and node N2 1103. This is surely not what the user wants. Thus, techniques for adjusting the attachment points to obtain satisfactory results are needed.
A first step in correcting node intersection is to just flip the attachment points of the link. There are two cases of flipping; across a nodes or along an edge. In flipping an attachment across a node, the flipping occurs to the opposite sides of the nodes. The results of applying this technique to the example in FIGS. 11-12 is shown in FIG. 13, where attachment points A and A2 in FIG. 13 are moved to A'1301 and A2'1302. With respect to maintaining the topography and visual results, this provides quite satisfactory results. However, it is recognized that in some instances the node shape has a meaning such that a relationship between nodes will be interpreted differently depending on where a link is attached. For example, attachment on one side indicates an input and attachment on the opposite side indicates an output. Thus, internal node representations will contain some indicator, such as a flag or a node type, which may be used to indicate whether or not the flipping of attachment points is permitted.
Flipping attachment points is straightforward in the case where the node shape is nearly symmetric about the axis of flip. So consider the asymmetric case. Only the case of left-right flipping about the vertical axis is considered; the other cases are similar. The asymmetric case is illustrated in FIG. 14. Referring to FIG. 14, an asymmetrically shaped node 1405 is shown. To flip a point A1 1401 from left to right a horizontal line is drawn from A1 1401 to the other side of the node 1405 until it intersects the node at A1'1403, which is the new attachment point. Note that in an asymmetric case the flipped points can be quite different. For example, both A1 1401 and A2 1402 are on the far right of the node, and the flipped point A2'1404 is on the far left of the node 1405, but flipped point A1'1403 is in the middle of the node 1405.
Another case to consider is where the horizontal line intersects the node enclosure in more than two places. It is then important to pick the corresponding point to flip to. This case is illustrated in FIG. 15. Referring to FIG. 15, points A1 1501 and A1'1502 correspond as flip points and points A2 1503 and A2'1504 correspond as flip points. To identify the corresponding flip point, number the intersection points going from left to right. Determine the number I of the current attachment point (i.e. the attachment point is the Ith from the left). Now number the points going from right to left. The corresponding point is the Ith point from the right.
Flipping an attachment point along the edge of a node occurs when movement of the node is parallel to the node edge having the attachment. Further, the beginning and ending location of the nodes must be such that there is no overlap. Flipping an attachment point across the edge of a node is illustrated in FIGS. 16 and 17. Flipping an attachment point across an edge may occur on one node while flipping across the node may occur across the other node. Referring to FIG. 16, nodes 1601 and 1602 are linked via links 1603 and 1604. Link 1603 is attached to node 1601 at attachment points 1605 and to node 1602 at attachment point 1606. Link 1602 is attached to node 1601 at attachment point 1607 and to node 1602 at attachment point 1608. Referring now to FIG. 17, the node 1601 has been moved to a new position wherein the attachment points 1606 and 1607 are flipped across nodes 1602 and 1601, respectively to attachment points 1606' and 1607' Meanwhile the attachment points 1605 and 1608 have been flipped across the edge of their respective nodes 1601 and 1602 to attachment points 1605' and 1608'. Note that the links 1603 and 1604 have been reshaped to links 1603' and 1604' and retain their basic shape characteristics.
The flipping of an attachment point along an edge is accomplished by finding a center point of the edge, finding a distance X between the center point and the attachment point, and flipping the attachment point to a location a distance X on the opposite side of the center point.
Even when these techniques are applied, the link can still intersect a node. This is illustrated in FIGS. 18-19. Referring to FIG. 18, node 1801 is connected to node 1802 via link 1803. Link 1803 is attached to node 1801 at attachment point 1804 and to node 1802 at attachment point 1805. FIG. 19 illustrates the results of moving node 1802. Referring to FIG. 19, the link 1803 has been reshaped and is illustrated as link 1803'. It is noted that the link 1803' intersects the node 1802 at point 1901. Point 1805' indicates where attachment point 1805 would be flipped. However, it is clear that even the flipping of the node would not correct the intersecting link (as illustrated by the dotted line 1902 which indicates the effect of attachment points flipping). Thus, a further "unintersection" technique is required.
To truncate a link from a node, simply find where the link intersects the node and then make that the attachment point. When a link is truncated, the overall shape of the link changes because the truncated portions are discarded. In the currently preferred embodiment, the link 1803' is truncated at intersection point 1901, deleting the segment of the link from intersection point 1901 to attachment point 1805. The result is shown in FIG. 20 wherein the reshaped link is illustrated as link 2001.
Note that in cases where there are multiple intersection points of a link on a node, the intersection point that is closest to the attachment point of the fixed node is chosen. Further, note that an alternative to truncating the link would be to curve transform the link at the point the link intersected the node.
Link rerouting is performed when an attachment point is not to be moved (flipped) and a node intersection occurs. An example of link rerouting is illustrated in FIG. 21. FIG. 21 illustrates a link rerouting that may be used to correct the node intersecting link of FIG. 12. Referring to FIG. 21, rerouted link 2101 has been rerouted to avoid the intersection with the node. Dashed line 2102 indicates where the link was originally after reshaping. The rerouted link 2101 follows the shape of the node 1105 from the attachment point 1106 to a point 2103 where it meets up with intersecting link 2102. Then the rerouting follows the shape of the link 2102 up to where it would intersect node 1104 (i.e. point 2104). From there the route follows the shape of node 1103 to the attachment point 1104.
FIG. 22 is a flowchart illustrating the steps of a simple technique for rerouting a link. It is assumed that an intersecting link has been generated. First, an outline of each of the nodes is generated, step 2201. A description of how node outlines are generated is provided below with respect to FIGS. 27-30. In any event, this is illustrated in FIG. 23 where outlines 2301 and 2302 of nodes 1103 and 1105 respectively, are illustrated. Also shown in FIG. 23 is intersecting link 2303.
Next, starting from the attachment point of the fixed node, a route following the outline and having the shortest distance to the intersecting link is chosen, step 2202. This is illustrated in FIG. 24. Note that the portions of outline 2302 and intersecting link 2303 that have not been used have been discarded.
The route then follows the intersecting link until it reaches the point where the outline of the moved node is intersected and the remainder of the intersecting link discarded, step 2203. This is illustrated in FIG. 25 where the portion of the link 2303 intersecting node 1103 are discarded.
At this point the route follows the shape of the moved node in the direction so that the attachment point of the moved node is reached in the shortest distance, step 2204. This is illustrated in FIG. 26 wherein the portions of the outline 2301 that are not used are discarded.
Finding the outline of the boundary of an arbitrarily shaped node is a non-trivial task. For an arbitrarily shaped closed curve representing the boundary, there is difficulty in determining whether a point lies on the inside or outside of the curve. The technique for finding an outline is described by the flowchart of FIG. 27. Referring to FIG. 27, a first outline is drawn from a starting point on one side of a boundary and a second outline is drawn from the starting point on the opposite side of the boundary, step 2701. It is necessary to draw outlines on both sides of the boundary since it is not readily known where the curve started from and so it is unclear which is the "inside" or "outside" outline. In any event, each of the outlines is drawn the same predetermined distance from the boundary. This is illustrated in FIG. 28 where an outside outline 2801 and an inside outline 2802 are shown. It should be noted that what effectively occurs is the drawing of outlines on the inside and outside of the node boundary.
Next, each of the outlines are converted into simple closed curves, step 2702. This is accomplished for each of the outlines by trimming small pieces at the end of the resulting curves. Such smaller curves are illustrated in FIG. 28 by the curve 2803 of outline 2801 and curve 2804 of outline 2802. These curves arise by the outlining process. The discarding of these smaller curves is illustrated in FIG. 29 as outlines 2801' and 2802'.
Finally, the longer of the outlines is selected as the outline for the node, step 2703. Determining the longer of the outlines is accomplished by simply summing the distances of the various segments of the two outlines and then comparing the sums. The longer of the outlines will clearly be the "outside" outline for the node. This is illustrated in FIG. 30.
It should be noted that the outlining process described above is used for more than link rerouting. In the currently preferred embodiment, the same outlining process is used to indicate selection of a node. This is done by highlighting or coloring the outline curve to give visual feedback to the user that the node enclosed by the outline is selected.
Thus, a method and apparatus for maintaining links when moving nodes in a node link diagram in a graphics based computer system has been disclosed. While the present invention is described with respect to a preferred embodiment, it would be apparent to one skilled in the art to practice the present invention in alternative embodiments supporting gesture based input. Such alternate embodiments would not cause departure from the spirit and scope of the present invention.
|Cited Patent||Filing date||Publication date||Applicant||Title|
|US5680530 *||Sep 19, 1994||Oct 21, 1997||Lucent Technologies Inc.||Graphical environment for interactively specifying a target system|
|US5704028 *||Dec 21, 1994||Dec 30, 1997||Micrografx, Inc.||Graphics systems and method having data fields and shape placement control|
|Citing Patent||Filing date||Publication date||Applicant||Title|
|US6067094 *||Apr 7, 1998||May 23, 2000||Adobe Systems Incorporated||Brushstroke envelopes|
|US6519370 *||Jul 19, 1999||Feb 11, 2003||Sony United Kingdom Limited||Digital image processing|
|US6674902 *||Jul 30, 1999||Jan 6, 2004||Canon Kabushiki Kaisha||Image processing apparatus image processing method, and storage medium|
|US7076099||Oct 28, 2003||Jul 11, 2006||Canon Kabushiki Kaisha||Image processing apparatus, image processing method, and storage medium|
|US7158675 *||Jun 28, 2002||Jan 2, 2007||Microsoft Corporation||Interfacing with ink|
|US7535460||Aug 10, 2004||May 19, 2009||Nintendo Co., Ltd.||Method and apparatus for identifying a graphic shape|
|US7715630||Dec 16, 2005||May 11, 2010||Mircosoft Corporation||Interfacing with ink|
|US7771279||Aug 25, 2004||Aug 10, 2010||Nintendo Co. Ltd.||Game program and game machine for game character and target image processing|
|US7907141 *||Mar 23, 2007||Mar 15, 2011||Palo Alto Research Center Incorporated||Methods and processes for recognition of electronic ink strokes|
|US7925987||Jun 28, 2002||Apr 12, 2011||Microsoft Corporation||Entry and editing of electronic ink|
|US8014607 *||Mar 23, 2007||Sep 6, 2011||Palo Alto Research Center Incorporated||Method and apparatus for creating and editing node-link diagrams in pen computing systems|
|US8161413||Sep 18, 2009||Apr 17, 2012||Oracle International Corporation||Method and system for providing user interface representing organization hierarchy|
|US8190710||Jun 23, 2009||May 29, 2012||Oracle International Corporation||System and method for providing user context support in a native transaction platform|
|US8205171||Sep 18, 2009||Jun 19, 2012||Oracle International Corporation||System and method for providing graphical user interface displaying multiple views|
|US8326913||Jun 25, 2009||Dec 4, 2012||Oracle International Corporation||Method and system for service contract discovery|
|US8380788||Apr 30, 2012||Feb 19, 2013||Oracle International Corporation||System and method for providing user context support in a native transaction platform|
|US8423916 *||Nov 6, 2009||Apr 16, 2013||Canon Kabushiki Kaisha||Information processing apparatus, processing method thereof, and computer-readable storage medium|
|US8558792||Dec 16, 2005||Oct 15, 2013||Nintendo Co., Ltd.||Storage medium storing game program and game apparatus therefor|
|US8806377||Sep 18, 2009||Aug 12, 2014||Oracle International Corporation||Method and system for providing graphical user interface with contextual view|
|US8806379||Sep 18, 2009||Aug 12, 2014||Oracle International Corporation||Method and system for displaying group relationships in a graphical user interface|
|US8832582||Mar 15, 2012||Sep 9, 2014||Microsoft Corporation||Interactive control of the curvature of links|
|US8863029||Sep 18, 2009||Oct 14, 2014||Oracle International Corporation||Method and system for providing graphical user interface having filtering capability|
|US8966405||Mar 15, 2012||Feb 24, 2015||Oracle International Corporation||Method and system for providing user interface representing organization hierarchy|
|US9223773||Jan 6, 2014||Dec 29, 2015||Palatir Technologies Inc.||Template system for custom document generation|
|US9256664||Jul 3, 2014||Feb 9, 2016||Palantir Technologies Inc.||System and method for news events detection and visualization|
|US9298678||Jul 9, 2014||Mar 29, 2016||Palantir Technologies Inc.||System and method for news events detection and visualization|
|US9335911||Sep 18, 2015||May 10, 2016||Palantir Technologies Inc.||Interactive user interface for dynamic data analysis exploration and query processing|
|US9367201||Nov 30, 2011||Jun 14, 2016||Microsoft Technology Licensing, Llc||Graphic flow having unlimited number of connections between shapes|
|US9367872||Dec 22, 2014||Jun 14, 2016||Palantir Technologies Inc.||Systems and user interfaces for dynamic and interactive investigation of bad actor behavior based on automatic clustering of related data in various data structures|
|US9380431||Mar 15, 2013||Jun 28, 2016||Palantir Technologies, Inc.||Use of teams in a mobile application|
|US9383911||Sep 9, 2009||Jul 5, 2016||Palantir Technologies, Inc.||Modal-less interface enhancements|
|US9396410 *||Sep 28, 2011||Jul 19, 2016||Palantir Technologies Inc.||Preserving angles of graph elbows|
|US9454281||Aug 31, 2015||Sep 27, 2016||Palantir Technologies Inc.||System for providing dynamic linked panels in user interface|
|US9454785||Sep 17, 2015||Sep 27, 2016||Palantir Technologies Inc.||Systems and user interfaces for holistic, data-driven investigation of bad actor behavior based on clustering and scoring of related data|
|US9483162||Jun 30, 2014||Nov 1, 2016||Palantir Technologies Inc.||Relationship visualizations|
|US9501851||Sep 30, 2015||Nov 22, 2016||Palantir Technologies Inc.||Time-series analysis system|
|US9514200||Jul 31, 2015||Dec 6, 2016||Palantir Technologies Inc.||Systems and user interfaces for dynamic and interactive simultaneous querying of multiple data stores|
|US9552615||Mar 5, 2015||Jan 24, 2017||Palantir Technologies Inc.||Automated database analysis to detect malfeasance|
|US9552661||Aug 30, 2010||Jan 24, 2017||International Business Machines Corporation||Distinguishing superimposed links to a node by spreading connection points of links to node according to coordinates of bend point or opposite end point of links|
|US9557882||Apr 1, 2014||Jan 31, 2017||Palantir Technologies Inc.||Context-sensitive views|
|US9558352||Apr 28, 2015||Jan 31, 2017||Palantir Technologies Inc.||Malicious software detection in a computing system|
|US9589299||May 11, 2016||Mar 7, 2017||Palantir Technologies Inc.||Systems and user interfaces for dynamic and interactive investigation of bad actor behavior based on automatic clustering of related data in various data structures|
|US9619557||Jun 30, 2014||Apr 11, 2017||Palantir Technologies, Inc.||Systems and methods for key phrase characterization of documents|
|US9646396||Jan 14, 2015||May 9, 2017||Palantir Technologies Inc.||Generating object time series and data objects|
|US9727560||Feb 25, 2015||Aug 8, 2017||Palantir Technologies Inc.||Systems and methods for organizing and identifying documents via hierarchies and dimensions of tags|
|US9727622||Jun 16, 2014||Aug 8, 2017||Palantir Technologies, Inc.||Methods and systems for analyzing entity performance|
|US9734217||Jun 16, 2014||Aug 15, 2017||Palantir Technologies Inc.||Methods and systems for analyzing entity performance|
|US9767172||Oct 2, 2015||Sep 19, 2017||Palantir Technologies Inc.||Data aggregation and analysis system|
|US9779525||Dec 28, 2016||Oct 3, 2017||Palantir Technologies Inc.||Generating object time series from data objects|
|US9817563||Dec 29, 2014||Nov 14, 2017||Palantir Technologies Inc.||System and method of generating data points from one or more data stores of data items for chart creation and manipulation|
|US9852195||Jan 3, 2017||Dec 26, 2017||Palantir Technologies Inc.||System and method for generating event visualizations|
|US9852205||Oct 16, 2014||Dec 26, 2017||Palantir Technologies Inc.||Time-sensitive cube|
|US20030214553 *||Jun 28, 2002||Nov 20, 2003||Microsoft Corporation||Ink regions in an overlay control|
|US20030215140 *||Jun 28, 2002||Nov 20, 2003||Microsoft Corporation||Interfacing with ink|
|US20030215142 *||Jun 28, 2002||Nov 20, 2003||Microsoft Corporation||Entry and editing of electronic ink|
|US20040001113 *||Jun 28, 2002||Jan 1, 2004||John Zipperer||Method and apparatus for spline-based trajectory classification, gesture detection and localization|
|US20040086184 *||Oct 28, 2003||May 6, 2004||Canon Kabushiki Kaisha||Image processing apparatus, image processing method, and storage medium|
|US20050164794 *||Aug 30, 2004||Jul 28, 2005||Nintendo Co.,, Ltd.||Game system using touch panel input|
|US20050187023 *||Aug 25, 2004||Aug 25, 2005||Nintendo Co., Ltd.||Game program and game machine|
|US20050270289 *||Aug 10, 2004||Dec 8, 2005||Nintendo Co., Ltd.||Graphics identification program|
|US20060093219 *||Dec 16, 2005||May 4, 2006||Microsoft Corporation||Interfacing with ink|
|US20060227139 *||Dec 16, 2005||Oct 12, 2006||Nintendo Co., Ltd.||Storage medium storing game program and game apparatus therefor|
|US20080231635 *||Mar 23, 2007||Sep 25, 2008||Palo Alto Research Center Incorporated||Methods and processes for recognition of electronic ink strokes|
|US20080232690 *||Mar 23, 2007||Sep 25, 2008||Palo Alto Research Center Incorporated||Method and apparatus for creating and editing node-link diagrams in pen computing systems|
|US20100125787 *||Nov 6, 2009||May 20, 2010||Canon Kabushiki Kaisha||Information processing apparatus, processing method thereof, and computer-readable storage medium|
|US20100332582 *||Jun 25, 2009||Dec 30, 2010||Oracle International Corporation||Method and System for Service Contract Discovery|
|US20110055767 *||Sep 18, 2009||Mar 3, 2011||Oracle International Corporation||System and Method for Providing Graphical User Interface Displaying Muiltiple Views|
|US20110055768 *||Sep 18, 2009||Mar 3, 2011||Oracle International Corporation||Method and system for providing graphical user interface with contextual view|
|US20110055771 *||Sep 18, 2009||Mar 3, 2011||Oracle International Corporation||Method and system for providing user interface representing organization hierarchy|
|US20140223382 *||Feb 1, 2013||Aug 7, 2014||Barnesandnoble.Com Llc||Z-shaped gesture for touch sensitive ui undo, delete, and clear functions|
|International Classification||G06T11/80, G06T11/20|
|Oct 21, 1996||AS||Assignment|
Owner name: XEROX CORPORATION, CONNECTICUT
Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:CHIU, PATRICK;MORAN, THOMAS P.;VANMELLE, WILLIAM J.;REEL/FRAME:008196/0796;SIGNING DATES FROM 19961011 TO 19961014
|Dec 20, 2001||FPAY||Fee payment|
Year of fee payment: 4
|Jun 28, 2002||AS||Assignment|
Owner name: BANK ONE, NA, AS ADMINISTRATIVE AGENT, ILLINOIS
Free format text: SECURITY INTEREST;ASSIGNOR:XEROX CORPORATION;REEL/FRAME:013153/0001
Effective date: 20020621
|Oct 31, 2003||AS||Assignment|
Owner name: JPMORGAN CHASE BANK, AS COLLATERAL AGENT, TEXAS
Free format text: SECURITY AGREEMENT;ASSIGNOR:XEROX CORPORATION;REEL/FRAME:015134/0476
Effective date: 20030625
Owner name: JPMORGAN CHASE BANK, AS COLLATERAL AGENT,TEXAS
Free format text: SECURITY AGREEMENT;ASSIGNOR:XEROX CORPORATION;REEL/FRAME:015134/0476
Effective date: 20030625
|Dec 15, 2005||FPAY||Fee payment|
Year of fee payment: 8
|Dec 15, 2009||FPAY||Fee payment|
Year of fee payment: 12