Skip to main content

xsdata PlantUML generator

Project description

xsData PlantUML plugin

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

https://github.com/tefra/xsdata-plantuml/workflows/tests/badge.svg https://codecov.io/gh/tefra/xsdata-plantuml/branch/master/graph/badge.svg https://www.codefactor.io/repository/github/tefra/xsdata-plantuml/badge https://img.shields.io/pypi/pyversions/xsdata-plantuml.svg https://img.shields.io/pypi/v/xsdata-plantuml.svg

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 : string
    +shipDate : date
    +partNum : string
}
class PurchaseOrderType {
    +shipTo : USAddress
    +billTo : USAddress
    +comment : string
    +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
https://github.com/tefra/xsdata-plantuml/raw/master/samples/order.svg

Project details


Release history Release notifications | RSS feed

This version

21.4

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

xsdata_plantuml-21.4.tar.gz (12.3 kB view hashes)

Uploaded source

Built Distribution

xsdata_plantuml-21.4-py3-none-any.whl (7.8 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page