Versionen im Vergleich

Schlüssel

  • Diese Zeile wurde hinzugefügt.
  • Diese Zeile wurde entfernt.
  • Formatierung wurde geändert.

Diagramme können in brandbox über eine Definition dargestellt werden.

Codeblock
{
    "diagrams": [
        {
            "identifier": "countDatasets",
            "type": "table",
            "labels": {
                "de": "Anzahl Request Logs",
                "en": "Count Request log"
            },
            "repository": "Administrator",
            "query": {
                "source": "\\Brandbox\\FrameworkDiagram\\Diagram\\Test\\Lib\\Query\\RequestLog",
                "filter": [
                    {
                        "repository": "Administrator",
                        "source": "definition:plugin/remote/brandbox/framework-diagram/src/Diagram/Test/Lib/Structure/AdministratorFilterDefinition.json"
                    },
                    {
                        "repository": "RequestLog",
                        "source": "definition:plugin/remote/brandbox/framework-diagram/src/Diagram/Test/Lib/Structure/RequestLogFilterDefinition.json"
                    }
                ]
            },
            "configuration": {
                "columns": {
                    "mail": {
                        "labels": {
                            "de": "E-Mail",
                            "en": "E-Mail"
                        },
                        "variants": [
                            "strong"
                        ]
                    },
                    "firstname": {
                        "labels": {
                            "de": "Vorname",
                            "en": "Firstname"
                        },
                        "variants": [
                            "strong"
                        ]
                    },
                    "lastname": {
                        "labels": {
                            "de": "Nachname",
                            "en": "Lastname"
                        },
                        "variants": [
                            "strong"
                        ]
                    },
                    "count": {
                        "labels": {
                            "de": "Anzahl RequestLogs",
                            "en": "Count Logins"
                        },
                        "variants": [
                            "strong"
                        ]
                    }
                },
                "variants": [
                    "narrow"
                ]
            }
        }
    ]
}