فهرست منبع

修复一些聚焦的问题,todo:先把 lock 不使用

yemeishu 1 ماه پیش
والد
کامیت
edd583bcb1
1فایلهای تغییر یافته به همراه4 افزوده شده و 4 حذف شده
  1. 4 4
      public/js/knowledge-mindmap-graph.js

+ 4 - 4
public/js/knowledge-mindmap-graph.js

@@ -187,10 +187,10 @@ class KnowledgeMindmapGraph {
         const seen = new Set();
         const normalized = [];
         const styleMap = {
-            prerequisite: { stroke: '#60a5fa', lineDash: [10, 8], lineWidth: 3, label: '前置' },
-            successor: { stroke: '#7dd3fc', lineWidth: 3, label: '后继' },
-            crosslink: { stroke: '#fb923c', lineDash: [8, 6], lineWidth: 2.5, label: '跨联' },
-            sibling: { stroke: '#94a3b8', lineDash: [6, 6], lineWidth: 2.5, label: '同级' },
+            prerequisite: { stroke: '#8C8986FF', lineDash: [8, 6], lineWidth: 1, label: '前置' },
+            successor: { stroke: '#8C8986FF', lineDash: [8, 6], lineWidth: 1, label: '后继' },
+            crosslink: { stroke: '#8c8a89', lineDash: [8, 6], lineWidth: 1, label: '跨联' },
+            sibling: { stroke: '#8C8986FF', lineDash: [8, 6], lineWidth: 1, label: '同级' },
         };
 
         (rawEdges || []).forEach((edge, index) => {