cluster

Using the Cluster Legend

  • The cluster legend allows you to quickly determine which classes in the view belong to which clusters in the system by changing the colors to match those of cluster assigned ones. Pressing the legend button Image:diagram-show-legend-icon will display a list of all the clusters in the system for which at least one class is visible in the view. Next to each cluster name is a color, and pressing the top right color square will automatically set a unique color for each cluster and change the classes belonging to that cluster to match.

Iconifying and restoring a cluster

  • If you do not want to hide the cluster, only its contents, iconify it by double clicking on the cluster label. Double clicking it again returns the cluster to its normal state.

Tip: Tip: If the entire cluster is of no relevance to your diagram, hide it from the view altogether.


Removing items from a view

tags:
  • To remove an class, cluster, or link from the current view, use pick-and-drop to drop it in the Remove figure hole. Image:general-reset-icon . To remove a link handle you can also the same technique

Note: If you want to remove the item from the system, use the Delete hole.


Deleting items

tags:
  • Pick-and-drop the item you want to remove in the Delete hole. Image:16x16--general-delete-icon For links, the associated Eiffel code will be removed from the class text. Clusters and classes will be deleted from disk!

Warning: An action that deletes one or more files or directories cannot be undone!


Tip: Turn on Automatic backups. EiffelStudio will make a copy of each class file every time a compilation is done.


See Also:
Removing items from the view only


Removing a cluster

tags:

To remove clusters, you can:

See Also:
Adding a cluster


Viewing information about a cluster

To view information about a cluster, you have to center the context tool on this component. Then the metric tool will provide a complete set of measures that you will able to compute.


See Also: See Also
Looking for a cluster
How to analyze a project


Adding a cluster

tags:

It is possible to create new clusters from EiffelStudio. A dialog window has been designed to help you do so.


Image:new-cluster-dialog


There are three ways to make this window appear. You can:

Using this dialog, you can either create a subcluster of an existing cluster or a top-level cluster.

Looking for a cluster

tags:

If you know the name of a cluster but not where it is located in the system, there are two ways to find this out:

  • You can try to find it in the groups tool by expanding the cluster tree.
  • In a window where the context tool is independent from the editor, you can type the name of the cluster in context tool address bar . You may use wildcards ("*" or "?") if you know only a part of the name.
Syndicate content