diff --git a/auto-solution-admin/src/main/java/com/solution/web/controller/rule/FireRuleController.java b/auto-solution-admin/src/main/java/com/solution/web/controller/rule/FireRuleController.java
index 56ba729..159e06c 100644
--- a/auto-solution-admin/src/main/java/com/solution/web/controller/rule/FireRuleController.java
+++ b/auto-solution-admin/src/main/java/com/solution/web/controller/rule/FireRuleController.java
@@ -97,7 +97,7 @@ public class FireRuleController extends BaseController {
/**
* 开始执行规则匹配
* @param task 敌方参数
- * @return
+ * @return
*/
@PostMapping("/rule")
@ApiOperation("开始执行规则匹配")
diff --git a/modeler/src/views/decision/rule-config/RuleDecisionBinaryTreePanel.vue b/modeler/src/views/decision/rule-config/RuleDecisionBinaryTreePanel.vue
new file mode 100644
index 0000000..06b97d6
--- /dev/null
+++ b/modeler/src/views/decision/rule-config/RuleDecisionBinaryTreePanel.vue
@@ -0,0 +1,502 @@
+
+
+
+
+
+ {{ errorMsg }}
+
+
+ {{ emptyHint }}
+
+
+
+
+
+
+
+
+
+
diff --git a/modeler/src/views/decision/rule-config/RuleKnowledgeGraph.vue b/modeler/src/views/decision/rule-config/RuleKnowledgeGraph.vue
index bb80bc1..fefe06d 100644
--- a/modeler/src/views/decision/rule-config/RuleKnowledgeGraph.vue
+++ b/modeler/src/views/decision/rule-config/RuleKnowledgeGraph.vue
@@ -19,6 +19,7 @@
+
@@ -64,12 +69,13 @@ import { Graph } from '@antv/g6';
import { message } from 'ant-design-vue';
import { nextTick, onBeforeUnmount, onMounted, ref, watch } from 'vue';
import { findRuleConfigGraph } from './api';
+import RuleDecisionBinaryTreePanel from './RuleDecisionBinaryTreePanel.vue';
import RuleDecisionTreeSimplePanel from './RuleDecisionTreeSimplePanel.vue';
import RuleDecisionTreePanel from './RuleDecisionTreePanel.vue';
import RuleFourBlocksPanel from './RuleFourBlocksPanel.vue';
import type { RuleConfigRequest, RuleGraphPayload } from './types';
-type RuleGraphDensityMode = 'decision-tree-simple' | 'decision-tree' | 'full' | 'four-blocks';
+type RuleGraphDensityMode = 'decision-tree-simple' | 'decision-tree-binary' | 'decision-tree' | 'full' | 'four-blocks';
const emit = defineEmits<{
densityChange: [RuleGraphDensityMode],
diff --git a/modeler/src/views/decision/rule-config/management.vue b/modeler/src/views/decision/rule-config/management.vue
index aad0c0a..87ad3ea 100644
--- a/modeler/src/views/decision/rule-config/management.vue
+++ b/modeler/src/views/decision/rule-config/management.vue
@@ -316,7 +316,7 @@ const clampRightPanelWidth = (n: number) => {
return Math.min(dynamicMax, Math.max(RIGHT_PANEL_MIN, Math.round(n)));
};
-const onRuleGraphDensityChange = (mode: 'decision-tree-simple' | 'decision-tree' | 'full' | 'four-blocks') => {
+const onRuleGraphDensityChange = (mode: 'decision-tree-simple' | 'decision-tree-binary' | 'decision-tree' | 'full' | 'four-blocks') => {
if (mode === 'four-blocks') {
if (graphPanePercentBeforeFourBlocks.value === null) {
graphPanePercentBeforeFourBlocks.value = graphPanePercent.value;