Class: HighlightMotifTransformation

HighlightMotifTransformation

This transformation visually highlights a set of motifs.

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
Source:

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
Source:

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
Source:
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
Source:

transform()

Overrides:
Source: