Skip to content

逻辑链后端数据: Mermaid脚本:

flowchart-elk TB
    subgraph P1["P1: 引言段表明完全不同意“工资是唯一考虑因素”观点并简要介绍文章内容"]
        direction LR
        S1["S1: Many people believe remuneration isn't the primary factor in job selection."]
        S2["S2: Partial agreement with this idea, but the author fully disagrees."]
            S1==>S2
    end

    subgraph P2["P2: 个人满意度因素"]
        direction TB
        S3["S3: General reasons why salary isn't important."]
        S4["S4: People enjoy jobs they want."]
        S5["S5: Personal satisfaction is key."]
        S6["S6: Example: doctor in high-profile hospital."]
        S7["S7: Skills are restricted."]
        S8["S8: Job satisfaction crucial for performance."]
        
            subgraph example_1["示例"]
                S6  ==>  S7
            end
        
            S3-->S4
            S4==>S5
            S5 --> example_1
            example_1 ==> S8
    end

    subgraph P3["P3: 工作环境因素"]
        direction LR
        S9["S9: Importance of workplace ambience."]
        S10["S10: Cooperative colleagues and employer are essential."]
        S11["S11: The reputation of the company is also significant."]
        S12["S12: Good rapport with customers is necessary for growth."]
            S9==>S10
            S11==>S12
    end

    subgraph P4["P4: 结论段总结观点,重申工资不是唯一考虑因素"]
        direction LR
        S13["S13: Conclusion summarizing key factors to consider when choosing a job."]
        S14["S14: Acknowledgment that salary matters but isn't the sole factor."]
            S13==>S14
    end

    P1 --> P2 & P3 --> P4

    classDef default fill:#f9f9f9,stroke:#333,stroke-width:2px
    linkStyle default stroke:#2196F3,stroke-width:2px
    linkStyle 0,1,2 stroke:#4CAF50,stroke-width:2px
    linkStyle 3,4 stroke:#FF5722,stroke-width:2px
    classDef subgraphStyle1 fill:#e3f2fd,stroke:#2196F3,stroke-width:2px,opacity:0.9
    class P1 subgraphStyle1
    classDef subgraphStyle2 fill:#e8f5e9,stroke:#4caf50,stroke-width:2px,opacity:0.9
    class P2 subgraphStyle2
    classDef subgraphStyle3 fill:#e8f5e9,stroke:#4caf50,stroke-width:2px,opacity:0.9
    class P3 subgraphStyle3
    classDef subgraphStyle4 fill:#fff3e0,stroke:#ff9800,stroke-width:2px,opacity:0.9
    class P4 subgraphStyle4

将页面渲染出来.

alt text

需要将该mermaid脚本保存, 后续如果用户查询历史记录直接使用该脚本渲染.