run method
Executes the algorithm. @param shiftY Shifts the y-coordinate origin @param shiftX Shifts the x-coordinate origin @return The size of the graph
Implementation
@override
Size run(Graph? graph, double shiftX, double shiftY) {
nodeData.clear();
initData(graph);
var firstNode = getFirstNode(graph!);
firstWalk(graph, firstNode, 0, 0);
secondWalk(graph, firstNode, 0.0);
checkUnconnectedNotes(graph);
positionNodes(graph);
shiftCoordinates(graph, shiftX, shiftY);
return calculateGraphSize(graph);
}