Set Icon for node

Dear all,

I want to set icon for my root nodes.

In my model I have several concepts that can be roots, by instead of default icon for nodes (n), I want to set different icon for each nodes.

It is possible?

Thanks

0
3 comments
Avatar
Permanently deleted user

Sure, you need to specify the path to the icon for each concept - it is located in the Inspector window, when editing a structure of a concept declaration.

Vaclav

 

0

Vaclav, can icon depend on the node contents?

For instance: top-level node is a "typedef". Its contents might be "enum/struct/etc".

Is it possible for "typedef" to have different icons based on the contents?

 

Dusan, there's mbeddr's iconchar plugin (see http://mbeddr.com/platform.html#iconchar) so you can generate icons based on letters.

0
Avatar
Permanently deleted user

The BaseConcept's getMarkIcons() and getAditionalIcon() behavior methods can be used to customize the icon. For example, Classifier from BaseLanguage utilizes this functionality to differentiate static, final and runnable classes with extra marks, and to indicate visibility with additional visual indicator.

Vaclav

0

Please sign in to leave a comment.