1
1
/*******************************************************************************
2
- * Copyright (c) 2003, 2023 IBM Corporation and others.
2
+ * Copyright (c) 2003, 2025 IBM Corporation and others.
3
3
*
4
4
* This program and the accompanying materials are made available under the
5
5
* terms of the Eclipse Public License 2.0 which is available at
@@ -56,55 +56,61 @@ public class Edge {
56
56
* The minimum rank separation between the source and target nodes. The default
57
57
* value is 1.
58
58
*
59
- * @deprecated use accessors instead
59
+ * @deprecated use accessors instead. This field will be made private after the
60
+ * 2027-12 release.
60
61
*/
61
- @ Deprecated
62
+ @ Deprecated ( forRemoval = true , since = "2025-12" )
62
63
public int delta = 1 ;
63
64
64
65
/**
65
66
* The ending point.
66
67
*
67
- * @deprecated use {@link #getPoints()}
68
+ * @deprecated use {@link #getPoints()}. This field will be made package-private
69
+ * after the 2027-12 release.
68
70
*/
69
- @ Deprecated
71
+ @ Deprecated ( forRemoval = true , since = "2025-12" )
70
72
public Point end ;
71
73
72
74
boolean flag ;
73
75
74
76
/**
75
77
* @deprecated INTERNAL field, use accessor method Indicates an edge was
76
- * inverted during the layout
78
+ * inverted during the layout. This field will be made
79
+ * package-private after the 2027-12 release.
77
80
*/
78
- @ Deprecated
81
+ @ Deprecated ( forRemoval = true , since = "2025-12" )
79
82
public boolean isFeedback = false ;
80
83
81
84
/**
82
85
* The edge's attachment point at the <em>source</em> node. The default value is
83
86
* -1, which indicates that the edge should use the node's default
84
87
* {@link Node#getOffsetOutgoing() outgoing} attachment point.
85
88
*
86
- * @deprecated use accessors instead
89
+ * @deprecated use accessors instead. This field will be made package-private
90
+ * after the 2027-12 release.
87
91
*/
88
- @ Deprecated
92
+ @ Deprecated ( forRemoval = true , since = "2025-12" )
89
93
public int offsetSource = -1 ;
90
94
91
95
/**
92
96
* The edge's attachment point at the <em>target</em> node. The default value is
93
97
* -1, which indicates that the edge should use the node's default
94
98
* {@link Node#getOffsetIncoming() incoming} attachment point.
95
99
*
96
- * @deprecated use accessors instead
100
+ * @deprecated use accessors instead. This field will be made package-private
101
+ * after the 2027-12 release.
97
102
*/
98
- @ Deprecated
103
+ @ Deprecated ( forRemoval = true , since = "2025-12" )
99
104
public int offsetTarget = -1 ;
100
105
101
106
/**
102
107
* The minimum amount of space to leave on both the left and right sides of the
103
108
* edge.
104
109
*
105
- * @deprecated use accessors instead
110
+ * @deprecated use accessors instead. This field will be made private after the
111
+ * 2027-12 release.
106
112
*/
107
- @ Deprecated
113
+ @ Deprecated ( forRemoval = true , since = "2025-12" )
108
114
public int padding = 10 ;
109
115
110
116
private PointList points ;
@@ -116,9 +122,10 @@ public class Edge {
116
122
/**
117
123
* The starting point.
118
124
*
119
- * @deprecated use {@link #getPoints()}
125
+ * @deprecated use {@link #getPoints()}. This field will be made package-private
126
+ * after the 2027-12 release.
120
127
*/
121
- @ Deprecated
128
+ @ Deprecated ( forRemoval = true , since = "2025-12" )
122
129
public Point start ;
123
130
124
131
/**
@@ -143,9 +150,10 @@ public class Edge {
143
150
public int weight = 1 ;
144
151
145
152
/**
146
- * @deprecated use accessors instead
153
+ * @deprecated use accessors instead. This field will be made private after the
154
+ * 2027-12 release.
147
155
*/
148
- @ Deprecated
156
+ @ Deprecated ( forRemoval = true , since = "2025-12" )
149
157
public int width = 1 ;
150
158
151
159
/**
0 commit comments