puml 用于代码注释

notebook

笔记本

@startuml
rectangle sql_decode.py{
    object SQLDataset
    object Name

    SQLDataset : meta = "元信息"
    note left of SQLDataset : 输入 sql_name

    Name : file_names = "图片名称列表"
    note left of Name : 支持 len 与 切片、索引

    SQLDataset <|-- Name
}

rectangle teach.py {
    object TeachMeta

    TeachMeta : classes = "类别列表"
    TeachMeta : tag = "边界框的类别属性字典"
    TeachMeta : archive = "边界框的所有可得属性字典"
    note right of TeachMeta : tag 的载入比较慢

    Name <|-- TeachMeta
}
@enduml

你可能感兴趣的:(puml 用于代码注释)