Tutorial on Associations
| Home |
ContentCreate an Association Create an AssociationTo create one or more topics choose menu "Insert/Fast Input..." or just press the insert key. A dialog appears. You have to type in the associations type in braces. Example: {assocA} will create an association with type "assocA". If there is no topic with ID "assocA" in the map, then a topic with the specified ID is also created. If you would save the topic map it would be represented in the following: <topic id="asssocA">
<topname>
<basename>assocA</basename>
</topname>
</topic>
<assoc type="assocA"/> There are no roles assign to the association at this moment. You can input multiple topics (each in braces). Assigning RolesYou can add roles to an associations in two way: 1. Select an association item from the treeview. The Program will automatically switch to the Association Window. There you can press "Add Role..." and input the Role-description, the type of the role and the refering Topic ID. 2. Switch to the Designer Window. Drag the association item and all topic items that are members in the association to the Designer Window. Topics are represented by red squares, Associations by blue triangles. After that drag the first Square to the blue triangle. The Dialog appears and you only have to type in the role description and role type. Tip: Double-click on a square or a triangle switches automatically to the topic window (square) or association window (triangle). Delete a RoleDeleting an association role is currently not supported from designer window. To delete an association role you have to switch to association window. There you can select the role from the listbox and press button "Delete Role..." Delete an AssociationTo delete an association select it from the treeview. Right-click at the treeview item and choose "Delete" from the context menu. ATTENTION: At this time there is no opportunity to undo this action!! |