fix: 拓扑显示居中响应改变宽高
This commit is contained in:
@@ -29,7 +29,7 @@ const graphG6Dom = ref<HTMLElement | undefined>(undefined);
|
||||
/**图状态 */
|
||||
const graphState = reactive<Record<string, any>>({
|
||||
/**当前图组名 */
|
||||
group: '5GC System Architecture2',
|
||||
group: '5GC System Architecture3',
|
||||
/**图数据 */
|
||||
data: {
|
||||
combos: [],
|
||||
@@ -182,6 +182,8 @@ function handleRanderGraph(
|
||||
height: clientHeight,
|
||||
fitCenter: true,
|
||||
fitView: true,
|
||||
fitViewPadding: [40],
|
||||
autoPaint: true,
|
||||
modes: {
|
||||
default: [
|
||||
'drag-combo',
|
||||
|
||||
Reference in New Issue
Block a user