Canvas Toolbar
The canvas toolbar contains a few options to control the behavior and data on the canvas. The Canvas Toolbar contains the following options:
- Zoom In, Out or Reset buttons: Used to enlarge or reduce the size of boxes on the canvas for easy navigation through the hierarchy. The Zoom panel also contains an extra button Reset Zoom, which sets the zoom to its original level.
- Clear Button: The Clear button helps to clear the data on the canvas. After clearing the canvas, the repository drop-down from the classification tree panel is enabled and you can select a record of a specific repository. This could be used when you want to change the root record.
- Relationship Drop-down: The list of relationships in the drop-down consists of forward as well as reverse relationship(s), for a given repository. Additionally the list is controlled through a corresponding configurable property
com.tibco.fc.hm.<repository_name>.relationships
in the ConfigValues.xml file. For example, the property name for the PRODUCT repository iscom.tibco.fc.hm.product.relationships
. Through this property, the Relationship drop-down can also be controlled to show none, some, or all of the Forward and Reverse relationships. The following are the scenarios:- If the
com.tibco.fc.hm.<repository_name>.relationships
property is missing for a repository, then the drop-down has all the forward relationships as well as all the reverse relationships. - If the
com.tibco.fc.hm.<repository_name>.relationships
property exists, then the mentioned valid relationships (comma separated, forward and/or reverse) in thecom.tibco.fc.hm.<repository_name>.relationships
property are displayed in the drop-down.
Even the default relationship for which the canvas is created, when a record is dragged and dropped onto the canvas, can be controlled using the property
com.tibco.fc.hm.<REPOSITORY_NAME>.defaultrelationship
in ConfigValues.xml. You can select any relationship for which you want to see the related records of the root record. - If the
The following diagram gives a graphical representation of a root record and its child records, which are related through relationship selected in relationship drop-down i.e. PlanFragmentHasMilestone: