if (!sourceAnchor.allowsArbitraryConnectionPlacement()) { Result sourceResult = sourceAnchor.compute(widget.getSourceAnchorEntry()); sourceDirections = sourceResult.getDirections(); if (!targetAnchor.allowsArbitraryConnectionPlacement()) { if (!sourceAnchor.allowsArbitraryConnectionPlacement() && !targetAnchor.allowsArbitraryConnectionPlacement()) { return bestListOfPoints; Point firstPointOutsideAnchor = null; if (sourceAnchor.allowsArbitraryConnectionPlacement()) { if (targetAnchor.allowsArbitraryConnectionPlacement()) { bestPoints = targetAnchor.compute(bestPoints); if (sourceAnchor.allowsArbitraryConnectionPlacement() || targetAnchor.allowsArbitraryConnectionPlacement()) { bestSolution = new OrthogonalSearchRouterCore(widget.getScene(), verticalCollisions, horizontalCollisions,
if (!sourceAnchor.allowsArbitraryConnectionPlacement()) { Result sourceResult = sourceAnchor.compute(widget.getSourceAnchorEntry()); sourceDirections = sourceResult.getDirections(); if (!targetAnchor.allowsArbitraryConnectionPlacement()) { if (!sourceAnchor.allowsArbitraryConnectionPlacement() && !targetAnchor.allowsArbitraryConnectionPlacement()) { return bestListOfPoints; Point firstPointOutsideAnchor = null; if (sourceAnchor.allowsArbitraryConnectionPlacement()) { if (targetAnchor.allowsArbitraryConnectionPlacement()) { bestPoints = targetAnchor.compute(bestPoints); if (sourceAnchor.allowsArbitraryConnectionPlacement() || targetAnchor.allowsArbitraryConnectionPlacement()) { bestSolution = new OrthogonalSearchRouterCore(widget.getScene(), verticalCollisions, horizontalCollisions,