|
|
@@ -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) => {
|