6 Classes

Contents

Overview
Basics
Classes: Four Steps

Overview

Classes allow you to add new properties to objects. If you, for example, use a map to make a decision on buying a vehicle, you might add mileage, top speed and price. In project management, you might use person responsible, priority and already done (%). Subordinate objects inherit properties. You then set property values for these objects (for the examples above: a certain type of car or a certain project stage).

Basics

Objects And Object Types

A map consists of objects of different object types. Besides the map center, the object types branch, twig, free text, picture and connector are available. If you have MYmap show the outline, you can easily see which objects are contained in your map and their respective types.

Class Hierarchies

Every map is stored as a tree structure in MYmap. This constitutes a class hierarchy: If you create a branch for a certain manufacturer in a vehicle purchase map, for example, and then add the various models of this manufacturer as twigs, you express that these vehicles are related to this manufacturer.

Properties

Every object has, depending on object type, a number of standard properties — a branch, for example, has branch line color and font size properties. You can add your own user properties to objects, such as mileage or person responsible. (The term properties applies to standard and user properties together.)

Property Values

Property values are the actual characteristics of a certain object, such as red for branch line color or Ms. Miller for person responsible. Changing the value of a standard property affects display accordingly and immediately, while changing the value of a user property does not.

Inheritance

If you add user properties to an object, these properties apply to all subordinate objects by default. This behavior is called inheritance. You can set for each object whether it inherits. User properties can be inherited, standard properties cannot. Property values are also never inherited.

Classes: Four Steps

#1 Create Map

Start by creating a map in the usual way. In order to make the most of the user property inheritance features, it is advisable to set great store on creating a meaningful class hierarchy where sub-branches are related to their respective superordinate branches by a is-a relationship. If you want certain properties inherited, you must make sure that the objects that are to inherit this certain property are subordinate to those objects that first introduce the property into the class hierarchy of your map.

If such a class hierarchy cannot be implemented due to reasons with regards to content, you can alternatively assign the required properties to the map center in the next step. They will then be available to all objects. Whenever possible, you should avoid this approach, however.

#2 Create Properties

Add the desired properties. Use the Edit classes task pane by clicking the respective task pane tab or pressing Ctrl+5. In your map, select the object of which you wish to edit inheritance behavior or properties.

#3 Set Property Values

Add property values, the actual pieces of information. Make sure the Edit classes task pane is still selected (see above), and select the object of which you wish to set property values.

#4 Use Property Values

You can now evaluate data in MYmap or export a table. Compare property values in MYmap by clicking the objects of your map and looking at the values shown in the Edit classes task pane. For table export, select File → Export or press Ctrl+Alt+Shift+ S. Select the Simple Web Page tab und make sure the With class tables checkbox is enabled. Then click Export. Your browser will open and show an outline containing properties and property values as tables attached to the respective objects.

Contents