Computer program product and system for mapping source and target objects
First Claim
1. A computer program product comprising a computer-readable storage medium including a computer readable program, wherein the computer readable program when executed by a processor on a computer causes the computer to:
- display a main view that shows one or more source objects, one or more target objects, and mappings between the one or more source objects and the one or more target objects, wherein a mapping line represents each mapping;
receive input that modifies the main view; and
in response to receiving the input,determine the slope of each mapping line to be drawn between a source object and a target object, wherein the slope is determined in accordance with;
|Y1−
Y2|
|X1−
X2|,
wherein where X1 and Y1 coordinates represent a location of the source object and X2 and Y2 coordinates represent a location of the target object;
sort the mapping lines with a mapping strategy using the slope of the mapping lines to sort; and
draw the mapping lines based on the mapping strategy by drawing each mapping line according to the slope of that mapping line, wherein each mapping line that has a smaller slope than each of the other mapping lines is drawn before the other mapping lines.
0 Assignments
0 Petitions
Accused Products
Abstract
Provided are techniques for drawing mapping lines between source and target objects. A main view is displayed that shows one or more source objects, one or more target objects, and zero or more mappings between the one or more source objects and the one or more target objects, wherein a mapping line represents each mapping. Input that modifies the main view is received. In response to receiving the input, the mapping lines are sorted with a mapping strategy, and the mapping lines are drawn based on the mapping strategy.
-
Citations
8 Claims
-
1. A computer program product comprising a computer-readable storage medium including a computer readable program, wherein the computer readable program when executed by a processor on a computer causes the computer to:
-
display a main view that shows one or more source objects, one or more target objects, and mappings between the one or more source objects and the one or more target objects, wherein a mapping line represents each mapping; receive input that modifies the main view; and in response to receiving the input, determine the slope of each mapping line to be drawn between a source object and a target object, wherein the slope is determined in accordance with;
|Y1−
Y2|
|X1−
X2|,
wherein where X1 and Y1 coordinates represent a location of the source object and X2 and Y2 coordinates represent a location of the target object;sort the mapping lines with a mapping strategy using the slope of the mapping lines to sort; and draw the mapping lines based on the mapping strategy by drawing each mapping line according to the slope of that mapping line, wherein each mapping line that has a smaller slope than each of the other mapping lines is drawn before the other mapping lines. - View Dependent Claims (2, 3, 4)
-
-
5. A system for drawing mapping lines between source and target objects, comprising:
hardware logic of performing operations, the operations comprising; displaying a main view that shows one or more source objects, one or more target objects, and mappings between the one or more source objects and the one or more target objects, wherein a mapping line represents each mapping; receiving input that modifies the main view; and in response to receiving the input, determining the slope of each mapping line to be drawn between a source object and a target object, wherein the slope is determined in accordance with;
|Y1−
Y2|
|X1−
X2|,
wherein where X1 and Y1 coordinates represent a location of the source object and X2 and Y2 coordinates represent a location of the target object;sorting the mapping lines with a mapping strategy using the slope of the mapping lines to sort; and drawing the mapping lines based on the mapping strategy by drawing each mapping line according to the slope of that mapping line, wherein each mapping line that has a smaller slope than each of the other mapping lines is drawn before the other mapping lines. - View Dependent Claims (6, 7, 8)
Specification