Class: MotifNavigatorData

MotifNavigatorData

MotifNavigatorData is a simple data transfer object

Constructor

new MotifNavigatorData(top, Motif, visualGraph)

Constructs a new MotifNavigatorData with the specified data
Parameters:
Name Type Description
top Number The smallest y coordinate among all the nodes in the motif
Motif Motif The motif itself
visualGraph VisualGraph The visual graph containing the motif
Source:

Methods

getMotif() → {Motif}

Gets the motif itself
Source:
Returns:
the motif itself
Type
Motif

getTop() → {Number}

Gets the smallest y coordinate among all the nodes in the motif
Source:
Returns:
the smallest y coordinate among all the nodes in the motif
Type
Number

getVisualGraph() → {VisualGraph}

Gets the visual graph containing the motif
Source:
Returns:
the visual graph containing the motif
Type
VisualGraph