@@ -34,8 +34,6 @@ import TreeNode from './TreeNode.vue';
// 容器宽高
const HEIGHT = 700;
const WIDTH = 1000;
-const MARGIN_TOP = 80;
-const MARGIN_LEFT = 100;
const TREE_MAX_HEIGHT = 4;
const NODE_STYLE = {
width: 250,
@@ -124,9 +122,6 @@ export default {
WIDTH,
TREE_MAX_HEIGHT,
NODE_STYLE,
- parent2children: {},
- depth2node: {},
- layout: {},
ctx: null,
};
},