When using the sliders to organise nodes (Running the force layout again) after updating the text of the labels, the alignment is not proper. This is caused because of the repetitive multiplication of the scale value with the coordinates. It's better to update and store the node and label coordinates instead of using the scale value for each calculation.
When using the sliders to organise nodes (Running the force layout again) after updating the text of the labels, the alignment is not proper. This is caused because of the repetitive multiplication of the scale value with the coordinates. It's better to update and store the node and label coordinates instead of using the scale value for each calculation.