Skip to content

Commit

Permalink
implementation of feature request #27 merged
Browse files Browse the repository at this point in the history
and adjusted to new connector shape (see also #48)
  • Loading branch information
miho committed Jul 13, 2016
1 parent ce4d75d commit 1c46453
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -433,8 +433,10 @@ private void layoutConnector(Connector c, boolean updateOthers) {
}
} // end if switchEdges

connectorShape.getNode().setLayoutX(computeConnectorXValue(c) - connectorShape.getRadius());
connectorShape.getNode().setLayoutY(computeConnectorYValue(c) - connectorShape.getRadius());
connectorShape.getNode().setLayoutX(computeConnectorXValue(c)
- connectorShape.getRadius());
connectorShape.getNode().setLayoutY(computeConnectorYValue(c)
- connectorShape.getRadius());

// System.out.println("c: " + c);
if (updateOthers) {
Expand Down

0 comments on commit 1c46453

Please sign in to comment.