UML在AI中的识别

1、plantuml

2、Mermaid

Mermaid 复制代码
classDiagram
    direction LR
    class Customer {
        -String name
        -String customerId
        +placeOrder(products) Order
        +getOrderHistory() List~Order~
    }

    class Order {
        -String orderId
        -Date orderDate
        -OrderStatus status
        +calculateTotal() double
        +addProduct(product, quantity)
    }

    class Product {
        -String productId
        -String name
        -double price
        +updatePrice(newPrice)
        +getStock() int
    }

    class Address {
        -String street
        -String city
        -String zipCode
        +getFullAddress() String
    }

    Customer "1" --> "*" Order : 拥有
    Order "*" --> "*" Product : 包含
    Customer "1" --> "1..*" Address : 使用
    Order ..> Address : 发往

    note for Customer "顾客可以有一个或多个地址,\n用于收货和开票。"
相关推荐
Summer-Bright10 分钟前
NVIDIA Vera CPU 深度解读:Olympus 自研核心为什么是 Agentic AI 的关键拼图
人工智能·ai·自然语言处理
小K漫剧创作笔记14 分钟前
AI短剧出海从「选修课」变「必修课」:合规分发正在成为内容全球化的真正门槛
大数据·人工智能·ai·aigc·漫剧
探索云原生21 分钟前
Kubernetes 官方出品:一个 Controller 搞定 Job 排队和资源配额
ai·云原生·kubernetes·scheduler
大卫小东(Sheldon)1 小时前
斯梅尔问题(Smale's Problems)清单
数学·ai
怪奇云呼军1 小时前
闪电智能Voice Agent:ASR 首字延迟和最终识别延迟怎么测?t0-t3 埋点实战
人工智能·科技·ai·语音识别
码上解惑2 小时前
从 Dify 工作流说起:常用节点怎么选、怎样组合?
java·人工智能·ai·agent·dify·智能体·spring ai
平头哥~3 小时前
工伤认定赔偿纠纷实测 测评职场法务数字人工伤维权全流程讲解
ai·数字人
俊哥V5 小时前
每日 AI 研究简报 · 2026-07-22
人工智能·ai