Skip to content

Please support mermaid diagram #249

@ifrankwang

Description

@ifrankwang

mermaid codes are show as is, not as a diagram:

Image

expect it would behave like Github (show as a diagram):

sequenceDiagram
    participant P as Pipeline
    participant G as Generator
    participant W as Writer
    participant F as FileSystem
    
    Note over P,F: ✅ 返回Writer对象的方式
    
    P->>G: createStreamingWriter()
    G->>W: 创建Writer实例
    G->>P: 返回Writer
    
    loop 每个批次 (Pipeline控制)
        P->>P: 处理业务逻辑
        P->>W: writeBatch()
        W->>F: 写入文件
        P->>P: 更新进度、检查状态
        Note over P: Pipeline完全控制流程
    end
    
    P->>W: close()
    
    Note over P,F: ❌ 直接写入的方式
    
    P->>G: generateFile(data)
    Note over G: Generator控制一切
    G->>F: 直接写入所有数据
    G->>P: 完成(Pipeline失去控制)
Loading

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions