Commit b0192037 authored by 黄奎's avatar 黄奎

页面修改

parent 66360244
......@@ -26,7 +26,6 @@ export default {
mounted() {
this.$nextTick(() => {
this.height = this.$slots['bottomPanel'][0].elm.offsetHeight
if (window.SeeksGraphDebug) console.log('SeeksGraph bootomPanel height:', this.height)
})
},
methods: {
......
......@@ -133,7 +133,6 @@ export default {
this.$parent.refresh()
},
switchLayout(layoutConfig) {
if (window.SeeksGraphDebug) console.log('change layout:', layoutConfig)
SeeksRGLayouters.switchLayout(layoutConfig, this.graphSetting)
this.refresh()
},
......
......@@ -150,7 +150,6 @@ export default {
}
},
switchLayout() {
if (window.SeeksGraphDebug) console.log('change layout:', this.currentLayoutName)
SeeksRGLayouters.switchLayout(this.currentLayoutName, this.graphSetting)
this.refresh()
},
......
......@@ -13,7 +13,7 @@ function SeeksFixedLayouter(layoutSetting, graphSetting) {
if (!rootNode) {
return
} else {
if (window.SeeksGraphDebug) console.log('layout by root:', rootNode)
}
this.__origin_nodes = allNodes
this.rootNode = rootNode
......@@ -35,7 +35,6 @@ function SeeksFixedLayouter(layoutSetting, graphSetting) {
max_length: 1
}
SeeksGraphMath.analysisNodes4Didirectional(this.allNodes, [this.rootNode], 0, analyticResult, 0)
if (window.SeeksGraphDebug) console.log('[layout canvasOffset]', this.graphSetting.viewSize, this.graphSetting.canvasSize)
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment