The Meta Model Graphs view gives an overview of the Meta model for the selected item. This view can be useful for the understanding of a model or when designing a configuration, i.e., for a report, view, grid, etc.


Prerequisites

  • Familiarity with SystemWeaver concepts such as Items, Parts and Attributes, and also with the GUI and common operations of the swExplorer
  • Knowledge of XML
  • An installation of the SystemWeaver swExplorer client (swExplorer)
  • The SWExtension.MetaModelGraphs.dll extension file is located in the Client's swExplorerExtensions directory
  • Assignment of the SW Architect role in the server

Configuring the View

  1. Go to File > Configure the explorer
  2. On the Item views tab, select Meta model graphs.



The view can be used with or without a configuration. If you want to customize the node styles, use a configuration.


Example Configuration

<MetaModelGraph>
        <NodeStyles>
               <NodeStyle name="Style1" fillColor="#ffffff" fillColor2="#d9ecff" borderThickness="1" borderColor="#000000" borderType="dash"/>
               <NodeStyle name="Style2" fillColor="#d9ecff" fillColor2="#ff4000" borderThickness="2" borderColor="#8000ff" borderType="solid"/>
    </NodeStyles>
    <Nodes>
        <Node style="Style1" SID="ABCD"/>
        <Node style="Style1" SID="EFGH"/>
    </Nodes>
</MetaModelGraph>


Explanation of the Configuration Elements

<MetaModelGraph> is the top tag which can include one configuration. 


<NodeStyles> is used for defining styles of nodes (see NodeStyle in the Help). Note that visibleHeader and Shape are not supported here. Note also that the default node and edge styles described in Using the Meta Model Graphs View are not configurable.


<Nodes> defines a Node with special Style to be included (drawn) as a box in the view. 

The style attribute refers to the name of a NodeStyle element.

The SID attribute refers to the item SID.