Class: HideHostTransformation

HideHostTransformation

This transformation generates a transformed model by removing this Transformation's hostToHide from the provided model. It removes all nodes for the hostToHide and any edges touching a node for the hostToHide and adds transitive edges. The added transitive edges will be drawn with dashed lines.

If this transformation is applied to a graph that doesn't have the specified host, then this transformation does nothing

Constructor

new HideHostTransformation(host)

Constructs a HideHostTransformation where no host is specified to be hidden
Parameters:
Name Type Description
host String The host to hide from the model
Source:

Methods

getHost() → {String}

Returns the host that is hidden
Source:
Returns:
The host
Type
String

transform(visualGraph)

Performs the transformation on the given VisualGraph. The VisualGraph and its underlying Graph are modified in place
Parameters:
Name Type Description
visualGraph VisualGraph The VisualGraph to transform
Source: