private void removeConstraintNodeVariables( ConstraintNode constraintNode, ConstraintNetworkView constraintNetworkView) { constraintNetworkView.setStartTimeMSecs(System.currentTimeMillis()); boolean areLinksChanged = constraintNetworkView.removeConstraintToVariableLinks(constraintNode); boolean areNodesChanged = constraintNetworkView.removeVariableNodes(constraintNode); if (areNodesChanged || areLinksChanged) { constraintNetworkView.setLayoutNeeded(); constraintNetworkView.setFocusNode(constraintNode); constraintNetworkView.redraw(); } setPen(new JGoPen(JGoPen.SOLID, 1, ColorMap.getColor("black"))); } // end addConstraintnodeVariablesConstraints