|
@@ -75,7 +75,7 @@ public abstract class AbstractCanvas extends JPanel {
|
|
|
String paintEdge(CpsEdge con, String maxCap) {
|
|
|
if (con.getA().getId() != model.getSelectedObjectID() && con.getB().getId() != model.getSelectedObjectID()
|
|
|
&& 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);
|
|
|
} else {
|
|
|
g2.setColor(Color.DARK_GRAY);
|