Fix eslint errors

This commit is contained in:
Paulo Gustavo Veiga 2022-06-23 21:51:35 -07:00
parent c469d82599
commit b48d55ebca

View File

@ -24,13 +24,11 @@ import Node from './Node';
import RootedTreeSet from './RootedTreeSet'; import RootedTreeSet from './RootedTreeSet';
class BalancedSorter extends AbstractBasicSorter { class BalancedSorter extends AbstractBasicSorter {
private static INTERNODE_VERTICAL_PADDING = 5; private static INTERNODE_VERTICAL_PADDING = 5;
private static INTERNODE_HORIZONTAL_PADDING = 30; private static INTERNODE_HORIZONTAL_PADDING = 30;
predict(graph, parent, node: Node, position: PositionType) { predict(graph, parent, node: Node, position: PositionType) {
const rootNode = graph.getRootNode(parent); const rootNode = graph.getRootNode(parent);
// If it is a dragged node... // If it is a dragged node...