MCPcopy Create free account
hub / github.com/Nurtak/ObjectGraphVisualization / arrangeEndpoints

Method arrangeEndpoints

src/ch/hsr/ogv/view/Arrow.java:266–271  ·  view source on GitHub ↗
(PaneBox startBox, PaneBox endBox, int actualArrowNumber, int totalArrowNumber)

Source from the content-addressed store, hash-verified

264 }
265
266 public void arrangeEndpoints(PaneBox startBox, PaneBox endBox, int actualArrowNumber, int totalArrowNumber) {
267 this.arrowNumber = actualArrowNumber;
268 this.totalArrowNumber = totalArrowNumber;
269 this.setPoints(startBox, endBox);
270 drawArrow();
271 }
272
273 protected void calculateArrangement(PaneBox startBox, PaneBox endBox) {
274 double startBoxRadius = startBox.getWidth() <= startBox.getHeight() ? startBox.getWidth() / 2 : startBox.getHeight() / 2;

Callers 2

arrangeArrowNumbersMethod · 0.95
arrangedDrawArrowsMethod · 0.80

Calls 2

setPointsMethod · 0.95
drawArrowMethod · 0.95

Tested by

no test coverage detected