Source:
<code>public ArgumentSpace(FunctionBlock block, List<Type> inputSignatures) { this.loadFXML("ArgumentSpace"); this.block = block; this.inputID = INPUT_ID_NONE; leftArguments = new ArrayList<InputArgument>(); <START> knotIndex = new SimpleIntegerProperty(0); <END> knotIndex.addListener(event -> snapToKnotIndex()); for (int i = 0; i < inputSignatures.size(); i++) { InputArgument arg = new InputArgument(block, inputSignatures.get(i)); leftArguments.add(arg); if (i > 0) { Region prev = leftArguments.get(i-1); arg.layoutXProperty().bind(prev.layoutXProperty().add(prev.widthProperty()).add(H_GAP)); } this.getChildren().add(arg); } rightArgument.toFront(); rightArgument.layoutXProperty().bind(knot.layoutXProperty().add(knot.radiusProperty()).add(H_GAP)); centerLayoutVertical(rightArgument); knot.toFront(); knot.layoutYProperty().bind(this.heightProperty().divide(2)); knot.setOnMousePressed(event -> {knotPressed(INPUT_ID_MOUSE); event.consume();}); knot.setOnMouseDragged(event -> {knotMoved(event); event.consume();}); knot.setOnMouseReleased(event -> {knotReleased(INPUT_ID_MOUSE); event.consume();}); knot.setOnTouchPressed(event -> {knotPressed(event.getTouchPoint().getId()); event.consume();}); knot.setOnTouchMoved(event -> {knotMoved(event); event.consume();}); knot.setOnTouchReleased(event -> {knotReleased(event.getTouchPoint().getId()); event.consume();}); this.setPrefHeight(HEIGHT); this.setMaxHeight(USE_PREF_SIZE); this.setMinWidth(USE_PREF_SIZE); this.setMaxWidth(USE_PREF_SIZE); this.prefWidthProperty().bind(getTotalWidthProperty()); snapToKnotIndex(); }</code><technical_language>Is 0 default</technical_language>

Target:
public ArgumentSpace(FunctionBlock block, List<Type> inputSignatures) { this.loadFXML("ArgumentSpace"); this.block = block; this.inputID = ConnectionCreationManager.INPUT_ID_NONE; leftArguments = new ArrayList<InputArgument>(); knotIndex = new SimpleIntegerProperty(0); knotIndex.addListener(event -> snapToKnotIndex()); for (int i = 0; i < inputSignatures.size(); i++) { InputArgument arg = new InputArgument(block, inputSignatures.get(i)); leftArguments.add(arg); if (i > 0) { Region prev = leftArguments.get(i-1); arg.layoutXProperty().bind(prev.layoutXProperty().add(prev.widthProperty()).add(H_GAP)); } this.getChildren().add(arg); } rightArgument.toFront(); rightArgument.layoutXProperty().bind(knot.layoutXProperty().add(knot.radiusProperty()).add(H_GAP)); centerLayoutVertical(rightArgument); knot.toFront(); knot.layoutYProperty().bind(this.heightProperty().divide(2)); knot.setOnMousePressed(event -> {knotPressed(ConnectionCreationManager.INPUT_ID_MOUSE); event.consume();}); knot.setOnMouseDragged(event -> {knotMoved(event); event.consume();}); knot.setOnMouseReleased(event -> {knotReleased(ConnectionCreationManager.INPUT_ID_MOUSE); event.consume();}); knot.setOnTouchPressed(event -> {knotPressed(event.getTouchPoint().getId()); event.consume();}); knot.setOnTouchMoved(event -> {knotMoved(event); event.consume();}); knot.setOnTouchReleased(event -> {knotReleased(event.getTouchPoint().getId()); event.consume();}); this.setPrefHeight(HEIGHT); this.setMaxHeight(USE_PREF_SIZE); this.setMinWidth(USE_PREF_SIZE); this.setMaxWidth(USE_PREF_SIZE); this.prefWidthProperty().bind(getTotalWidthProperty()); snapToKnotIndex(); }