|
@@ -75,7 +75,7 @@ public abstract class AbstractCanvas extends JPanel {
|
|
String paintEdge(CpsEdge con, String maxCap) {
|
|
String paintEdge(CpsEdge con, String maxCap) {
|
|
if (con.getA().getId() != model.getSelectedObjectID() && con.getB().getId() != model.getSelectedObjectID()
|
|
if (con.getA().getId() != model.getSelectedObjectID() && con.getB().getId() != model.getSelectedObjectID()
|
|
&& con != edgeHighlight) {
|
|
&& con != edgeHighlight) {
|
|
- if (con.getConnected() == CpsEdge.CON_UPPER_NODE) {
|
|
|
|
|
|
+ if (con.getConnected() == CpsEdge.CON_UPPER_NODE || con.getConnected() == CpsEdge.CON_UPPER_NODE_AND_INSIDE) {
|
|
setEdgeState(con);
|
|
setEdgeState(con);
|
|
} else {
|
|
} else {
|
|
g2.setColor(Color.DARK_GRAY);
|
|
g2.setColor(Color.DARK_GRAY);
|