mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-22 06:37:56 +01:00
Fix eslint errors
This commit is contained in:
parent
c469d82599
commit
b48d55ebca
@ -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...
|
||||||
|
Loading…
Reference in New Issue
Block a user