Commit b0192037 authored by 黄奎's avatar 黄奎

页面修改

parent 66360244
...@@ -26,7 +26,6 @@ export default { ...@@ -26,7 +26,6 @@ export default {
mounted() { mounted() {
this.$nextTick(() => { this.$nextTick(() => {
this.height = this.$slots['bottomPanel'][0].elm.offsetHeight this.height = this.$slots['bottomPanel'][0].elm.offsetHeight
if (window.SeeksGraphDebug) console.log('SeeksGraph bootomPanel height:', this.height)
}) })
}, },
methods: { methods: {
......
...@@ -133,7 +133,6 @@ export default { ...@@ -133,7 +133,6 @@ export default {
this.$parent.refresh() this.$parent.refresh()
}, },
switchLayout(layoutConfig) { switchLayout(layoutConfig) {
if (window.SeeksGraphDebug) console.log('change layout:', layoutConfig)
SeeksRGLayouters.switchLayout(layoutConfig, this.graphSetting) SeeksRGLayouters.switchLayout(layoutConfig, this.graphSetting)
this.refresh() this.refresh()
}, },
......
...@@ -150,7 +150,6 @@ export default { ...@@ -150,7 +150,6 @@ export default {
} }
}, },
switchLayout() { switchLayout() {
if (window.SeeksGraphDebug) console.log('change layout:', this.currentLayoutName)
SeeksRGLayouters.switchLayout(this.currentLayoutName, this.graphSetting) SeeksRGLayouters.switchLayout(this.currentLayoutName, this.graphSetting)
this.refresh() this.refresh()
}, },
......
...@@ -13,7 +13,7 @@ function SeeksFixedLayouter(layoutSetting, graphSetting) { ...@@ -13,7 +13,7 @@ function SeeksFixedLayouter(layoutSetting, graphSetting) {
if (!rootNode) { if (!rootNode) {
return return
} else { } else {
if (window.SeeksGraphDebug) console.log('layout by root:', rootNode)
} }
this.__origin_nodes = allNodes this.__origin_nodes = allNodes
this.rootNode = rootNode this.rootNode = rootNode
...@@ -35,7 +35,6 @@ function SeeksFixedLayouter(layoutSetting, graphSetting) { ...@@ -35,7 +35,6 @@ function SeeksFixedLayouter(layoutSetting, graphSetting) {
max_length: 1 max_length: 1
} }
SeeksGraphMath.analysisNodes4Didirectional(this.allNodes, [this.rootNode], 0, analyticResult, 0) 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