Archyno

Pruébalo

Exporta un modelo real, ahora mismo

Dos modelos preparados y 9 formatos de exportación. 8 de ellos generan un archivo real en este navegador, sin cuenta y sin instalar nada, y todos dicen qué dejan fuera antes de ejecutarse.

A UML class model: an Order composed of Payments, with Card and BankTransfer specialising Payment.

11..*Order- id: UUID- placedAt: Instant+ total(): MoneyPayment- amount: Money- status: Status+ authorize(): AuthResult+ refund(amount: Money)Card- last4: StringBankTransfer- iban: String

Los dos diagramas son vistas sobre un modelo, no dibujos. Esa separación es lo que permite que las exportaciones lleven significado y no solo formas.

Elegir un formato

Qué deja fuera esta exportación

Lossless. This is the model itself, not a translation of it.

Vista previa

{
  "id": "uml-payments",
  "name": "Payments",
  "notation": "uml",
  "summary": "A UML class model: an Order composed of Payments, with Card and BankTransfer specialising Payment.",
  "elements": [
    {
      "id": "order",
      "name": "Order",
      "kind": "class",
      "attributes": [
        {
          "name": "id",
          "type": "UUID",
          "visibility": "private"
        },
        {
          "name": "placedAt",
          "type": "Instant",
          "visibility": "private"
        }
      ],
      "operations": [
        {
          "name": "total",
          "returns": "Money",
          "visibility": "public"
        }
      ]
    },
    {
      "id": "payment",
      "name": "Payment",
      "kind": "class",
      "attributes": [
        {
          "name": "amount",
          "type": "Money",
          "visibility": "private"
        },
        {
          "name": "status",
          "type": "Status",
          "visibility": "private"
        }
      ],
      "operations": [
        {
          "name": "authorize",
          "returns": "AuthResult",
          "visibility": "public"
        },
        {
          "name": "refund",
          "parameters": [
            {
              "name": "amount",
              "type": "Money"
            }
          ],
          "visibility": "public"
        }
      ]
    },
    {
      "id": "card",
      "name": "Card",
      "kind": "class",
      "attributes": [
        {
          "name": "last4",
          "type": "String",
          "visibility": "private"
        }
      ]
    },
    {
      "id": "transfer",
      "name": "BankTransfer",
      "kind": "class",
      "attributes": [
        {
          "name": "iban",
          "type": "String",
          "visibility": "private"
        }
      ]
    }
  ],
  "relationships": [
    {
      "id": "order-payment",
      "from": "order",
      "to": "payment",
      "kind": "composition",
      "sourceMultiplicity": "1",
      "targetMultiplicity": "1..*"
    },
    {
      "id": "card-payment",
      "from": "card",
      "to": "payment",
      "kind": "generalization"
    },
    {
      "id": "transfer-payment",
      "from": "transfer",
      "to": "payment",
      "kind": "generalization"
    }
  ],
  "view": {
    "width": 940,
    "height": 340
  },
  "layout": {
    "order": {
      "x": 40,
      "y": 118,
      "w": 230,
      "h": 108
    },
    "payment": {
      "x": 370,
      "y": 96,
      "w": 250,
      "h": 152
    },
    "card": {
      "x": 720,
      "y": 40,
      "w": 190,
      "h": 66
    },
    "transfer": {
      "x": 720,
      "y": 238,
      "w": 190,
      "h": 66
    }
  }
}

Por qué faltan dos formatos

El PDF se produce en el servidor envolviendo el SVG, y un .qea es una base de datos SQLite con el esquema de repositorio de Enterprise Architect, escrito copiando un repositorio semilla que produjo el propio EA. Un navegador no puede fabricar ninguno de los dos, así que aquí no los fingimos.