|
@@ -61,7 +61,7 @@ export const hierarchyMethodMap: Record<
|
|
|
},
|
|
|
getHGap(d: TopicItem) {
|
|
|
if (d.type === TopicType.main) return pageSetting.branchX || 20;
|
|
|
- if (d.type === TopicType.branch) return pageSetting.subTopicX || 20;
|
|
|
+ if (d.type === TopicType.branch) return pageSetting.branchX || 20;
|
|
|
if (d.type === TopicType.sub) return pageSetting.subTopicX || 20;
|
|
|
return pageSetting.branchX || 40;
|
|
|
},
|