Create a Graph Definition - Integration - Update 44 - Help - Hexagon

Integration Help

Language
English
Product
Integration
Search by Category
Help
Smart 3D Version
12.1 (2019)
Smart Construction Version
2019(7.0)
SmartPlant Foundation / SDx Version
10
Smart Electrical Version
2019 (9.0)
Smart Materials/Smart Reference Data Version
2020 (10.0)
Smart P&ID Version
9 (2019)
Smart Review Version
2020 (15.0)
Smart Engineering Manager Version
10 (2019)
Smart Interop Publisher Version
13.1 (2019 R1)
Smart Isometrics Version
7.0(2019)
Spoolgen Version
9.0(2019)
  1. Open the Editor view. For more information, see Create New Objects and Relationships in the Schema.

    Tell me more

    To open either of the editor views, on the View menu, click the type of file that you want to modify. Then click Editor or Editor2 in the Form box on the simple View dialog box or on the View tab of the advanced View dialog box. For example, to use one of the editor views to modify the active schema, click View > Schema (All).

  2. Double-click DirectedGraphDef in the Create tree.

  3. In the New Graph Definition dialog box, type a name for the new graph definition in the Graph name box on the Overview tab.

    A comparison graph definition is a special type of graph definition that is intended for performing comparisons between the two sets of data described by the comparison graph definition. Graph definitions are only used for comparison when you select the option to compare using view definitions during a compare.

  4. If you want the display name for the graph definition to be different from the name, type the display name in the Display name box.

  5. Click beside the Starting interface box, and select the starting interface definition for the new graph definition.

    The starting interface determines which edge definitions are available to include in the graph definition.

  6. Click the Layout tab.

  7. In the Interfaces and classes tree, select an interface definition or class definition to display edges for that interface definition or class definition in the Edges list. The selection here determines which edge definitions and roles appear in the Edges list.

  8. In the Edges list, select an edge definition or a role at the other end of a relationship definition that you want to add to your graph definition.

    • The Edges list displays the edge definitions that apply to the interface definition or class definition selected in the Interfaces and classes tree. If you select an interface definition in the Interfaces and classes tree, these edge definitions include those that start at the selected interface definition or at an interface definition directly or indirectly implied by the selected interface definition. If you select a class definition in the Interfaces and classes tree, the edge definitions include those that start at an interface definition realized by the selected class definition.

    • When viewing edges in the Edges list, you will not see the names of relationship definitions used to traverse the interfaces. Instead, you will see the name of the role assigned to the other end of the relationship from your starting point, as selected in the End interface tree.

    • When you select an edge definition, the software displays the UML for that edge definition in the Edge preview pane under the Edges tree.

    • If you select an interface definition in the Edges list, you can click Create Edge Definition to create an edge definition starting from the selected interface definition. For more information about creating edge definitions, see Create an Edge Definition.

  9. Click Add to Graph to add the selected edge definition to the graph definition you are defining.

    Changing the name of a graph edge in the grid beneath the UML display invalidates any view properties that use this graph edge for view definitions that are tied to this graph definition.

  10. Add any other additional edge definitions or relationship definitions that you want to include in your graph definition.

    SHARED Tip To remove the active graph edge from the graph definition, click Remove from Graph.

    Removing a graph edge from a graph definition invalidates any view properties that use this graph edge for view definitions that are tied to this graph definition.

  11. Click OK to save the new graph definition.

    As you add edge definitions to the graph definition, the UML in the Current graph definition pane is updated. The starting interface for the graph definition appears at the upper left of the UML view. Any graph edges that originate from this starting interface definition are shown with lines coming from the interface definition. For each graph edge in the graph definition, the edge definition traversed and the name of the graph edge are shown in the UML. The edge definition is shown to the left of the graph edge and the graph edge is shown in italics.

See Also

Naming Conventions in the SmartPlant Schema
SmartPlant Schema Overview