Constructor
new HighlightMotifTransformation(finder, ignoreEdges)
Parameters:
Name | Type | Description |
---|---|---|
finder |
MotifFinder | A MotifFinder that specifies which motif to highlight |
ignoreEdges |
Boolean | If true, edges will not be visually highlighted |
Extends
Methods
findMotifs(graph)
This function searches for motifs in the given graph using the MotifFinder
that was specified in the constructor
Parameters:
Name | Type | Description |
---|---|---|
graph |
ModelGraph | The graph to search within |
getHighlighted() → {MotifGroup}
Returns the motif group that represents the highlighted elements from the
last invocation of HighlightMotifTransformation#transform. If
transform or findMotifs have yet to be called, this method returns null
Returns:
- Type
- MotifGroup
setIgnoreEdges(val)
Sets whether or not to highlight edges that are part of the motif.
Parameters:
Name | Type | Description |
---|---|---|
val |
Boolean | If true, edges will not be visually highlighted |
transform()
Overrides Transformation#transform
- Overrides:
- Source: