xsdata-plantuml

xsdata PlantUML generator


Keywords
xsd, wsdl, schema, dtd, plantuml, generator, cli, class-diagram, plugin, uml, xml, xsdata
License
MIT
Install
pip install xsdata-plantuml==24.3

Documentation

xsdata - PlantUML plugin

Generate PlantUML class diagrams from xml schemas, wsdl definitions and directly from xml documents.

image image image image image


Usage

$ pip install xsdata-plantuml

$ xsdata samples/order.xsd --output plantuml --package samples
@startuml

class Items {
    +item : item[]
}
Items +-- item
class item {
    +productName : string
    +quantity : positiveInteger
    +USPrice : decimal
    +comment : comment
    +shipDate : date
    +partNum : string
}
class PurchaseOrderType {
    +shipTo : USAddress
    +billTo : USAddress
    +comment : comment
    +items : Items
    +orderDate : date
}
class USAddress {
    +name : string
    +street : string
    +city : string
    +state : string
    +zip : decimal
    +country : NMTOKEN
}
class comment {
    +value : string
}
class purchaseOrder {
}
purchaseOrder *- PurchaseOrderType

@enduml

order.svg