The configurable Graph view now enables users to work graphically with their data models. Below is a list of the new and improved graph functionality.

Graphical Design

The built-in configurable Graph view now offers an option to enable users to not only visualize the data in the configured graph, but also graphically design the data directly in the graph. And because it is a generic view, it can be used with all models and use cases in SystemWeaver.

The option is enabled via the graph configuration through the use of new tags for: 

  • Adding parts 
  • Removing parts 
  • Mapping connection types 

Editability can also be turned off in the configuration of the graph.

When enabled, users can perform the following operations directly in the graph in accordance with the meta model, in the same way as they can in the structure tree: 

  • Create new parts and their resulting graph nodes
  • Adding parts and their resulting graph nodes
  • Remove existing parts and their graph nodes (single or list)
  • Update nodes (name and attribute)
  • Connect nodes

For connecting nodes, the available connection types are: 

  • Explicit connections
  • Implicit connections
  • Connect through mapping item
  • Connect through anchor item

Right-click context menu options and shortcut options for editing in the Graph view are similar to those in the structure tree, e.g., New, Add, Copy (Ctrl+C), Paste as (Ctrl+V) with the addition of Connect Ports. Not only can the Copy and Paste options be used within the graph, you can also copy from a grid or the structure tree and paste in the graph. To create a connection, users select the objects, right-click and select the appropriate Connect option. The label for this option is configurable.

It is also possible to configure the Remove part option for the menu using a string or path query.

For released items, New, Add, Paste, and Connect options will be grayed out.

Support for Path Query to Select Style for Node and Edge

It is now possible to use a path query to select a style. 


<Node style="#{? path query}"/>  


<Edge from="." to="." style="#{? path query}"/>

Selection of style by providing the name of the edge or node style as a string is still possible.

Neighborhood for a Selected Port

In addition to viewing the neighborhood for a selected node, it's now possible to show the Neighborhood for a selected port.

Support for Find (Ctrl+F) to Locate Nodes and Ports

Hits are highlighted with a green frame.

Lock the Graph in Primary View

The view can now be locked in the primary view position enabling you to keep the selected item in focus in the graph as you navigate through the structure tree. With the view locked, when you make selections in the tree, you will see them highlighted in the view.


Refresh Button

The existing Refresh option using the F5 key is now also available as a button on the view's toolbar

Port Selections Highlighted in Tree

Selected ports in the view are now highlighted in the structure tree.

Legend Option

It is now possible to configure a legend for a graph using a new <Legend> tag along with legendLabel attributes in <NodeStyle> and <EdgeStyle> tags. The legend can be viewed in the same way as Neighborhood. 

More detailed information about Legend configuration can be found in the application Help, and an example configuration is available on the Support Portal.

Improved Message for Tree and Balloon Layout Problems

"tree" or "balloon" layout requires that the graph data is topologically a true tree structure, i.e. no edge loops are allowed. When using layout="tree" or "ballon", and the data is not a tree, a "Exception: Graph is not a tree" message will display in the view. 

Secondary Item View

Although not specific to the Graphs view, there are new layout options for the Secondary item view. Aside from the default right position, it is now possible to position the Secondary item view at the top or bottom of the view area. With editing enabled in the graph, you can, for example, copy and paste items between a grid and a graph.

More detailed information about the new Graph tags and how to work in edit mode can be found in the application Help. 

Example configurations

ISSUE ID:  15130, 15369, 15119, 15214, 9329, 15110, 14849, 15002, 15274, 15075, 15208, 15020, 15123, 15148