Commits

Nozomu Kaneko committed 894b4c3

Fixed needless connector jump.

Comments (0)

Files changed (1)

src/nwdiag/DiagramDraw.py

             for i in range(node.xy.y + 1, connector.network.xy.y):
                 networks = (n for n in self.diagram.networks if n.xy.y == i)
                 for nw in networks:
-                    if nw.xy.x <= node.xy.x <= nw.xy.x + nw.width:
+                    if nw.xy.x <= node.xy.x < nw.xy.x + nw.width:
                         connector.jumps.append(nw)
 
             self.draw_connector(connector)