feat: add use case diagram center tab

This commit is contained in:
王鹏
2026-07-07 15:04:40 +08:00
parent c8570897e0
commit 06352e78c7
2 changed files with 995 additions and 39 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -60,7 +60,7 @@ test('diagram center promotes the three-line table tab and removes overview', ()
const menu = source.slice(menuStart, menuEnd)
const labels = [...menu.matchAll(/<el-radio-button label="([^"]+)"/g)].map((match) => match[1])
assert.deepEqual(labels, ['three_line_table', 'er', 'module', 'architecture', 'flowchart', 'sequence', 'ai'])
assert.deepEqual(labels, ['three_line_table', 'er', 'module', 'architecture', 'flowchart', 'use_case', 'sequence', 'ai'])
assert.doesNotMatch(source, /overview:\s*'overview'/)
assert.doesNotMatch(source, /activeDiagram\.value === 'overview'/)
assert.doesNotMatch(source, /function buildOverviewGraph/)