Simulation widgets configuration

Last modified 23 Jan 2023 10:46 +01:00
Example of how simulation widgets configuration could look like
<dashboard>
    <name>My dashboard</name>
    <widgets>
        <!-- there can be 0..* containers -->
        <container>
            <identifier></identifier>
            <display>
                <!-- c:DisplayType content -->
            </display>
            <!-- how widgets are places in container (horizonally or vertically) -->
            <direction>column/row</direction>
            <widgets>
                <widget>
                    <!-- our current dashboard widget -->
                </widget>
                <simulationMetricWidget>
                    <!-- widget that shows metric info from simulation, extends UserInterfaceFeatureType -->
                    <identifier>some-identifier</identifier>
                    <display>
                        <!-- DisplayType content -->
                    </display>
                    <data>
                        <ref></ref> <!-- SimulationMetricReferenceType -->

                        <!--
                            query filter or collection definition to select one or more simulation results
                            and later metrics identified by <ref> from them
                        -->
                        <collectionRef/> <!-- CollectionRefSpecificationType -->
                    </data>

                    <variation></variation>     <!-- similar or exact as DashboardWidgetVariationType -->

                    <components> <!-- parts of widget that we want to display -->
                        <label>true/false</label>
                        <description>true/false</description>
                        <value>true/false</value>
                        <chart>true/false</chart>
                        <trend>true/false</trend>
                        <linkToDetails>true/false</linkToDetails>
                    </components>
                </simulationMetricWidget>
                <container>
                    <!-- ... -->
                    <widgets>
                        <!-- more containers 0..* -->
                    </widgets>
                </container>
            </widgets>
        </container>
    </ui>
</dashboard>

Notes

  • <container> is also widget that can group other widgets

  • order of widgets in container matters. Otherwise we would have to use <order> element

Was this page helpful?
YES NO
Thanks for your feedback