Methods
bindHiddenHosts(host, node)
Binds unhide to double-click event on hidden hosts.
Parameters:
Name | Type | Description |
---|---|---|
host |
String | The host that is hidden |
node |
d3.selection | The visualNode that was hidden |
- Source:
bindHosts(hosts)
Binds events to hosts
- double-click: Hides the host
- shift+double-click: Highlights the host
Parameters:
Name | Type | Description |
---|---|---|
hosts |
d3.selection | A D3 selection of the host rects |
- Source:
bindLines(lines)
Binds node highlighting to mouseover event on log lines
Parameters:
Name | Type | Description |
---|---|---|
lines |
jQuery.selection | A jQuery selection of the log lines |
- Source:
bindNodes(nodes)
Binds events to the nodes.
- mouseover: highlights node & log line, shows info in sidebar
- shift + click: toggles collapsed node
Parameters:
Name | Type | Description |
---|---|---|
nodes |
d3.selection | A D3 selection of the nodes. |
- Source:
clearHighlight()
Clears highlighting of motifs across all Views. The visualization is
then re-drawn
- Source:
- See:
hasHighlight() → {Boolean}
Determines if a motif is being highlighted in any of the Views.
- Source:
Returns:
True if a motif is being highlighted
- Type
- Boolean
hasHighlightInView(view) → {Boolean}
Determines if a motif is being highlighted in the given View
Parameters:
Name | Type | Description |
---|---|---|
view |
View |
- Source:
Returns:
True if a motif is being highlighted in the view
- Type
- Boolean
hideDiff()
Re-draws the graph to not highlight different hosts
This method should only be called when there are > 1 execution
and graphs are displayed pairwise
- Source:
- See:
hideHost(host)
Hides the specified host across all Views. The visualization is then
re-drawn.
Parameters:
Name | Type | Description |
---|---|---|
host |
String | The host to hide. |
- Source:
highlightMotif(motifFinder)
Highlights a motif across all Views using the provided motif finder.
The visualization is then re-drawn.
Parameters:
Name | Type | Description |
---|---|---|
motifFinder |
MotifFinder |
- Source:
- See:
showDialog(e, type, elem)
Shows the node selection popup dialog
Parameters:
Name | Type | Description |
---|---|---|
e |
VisualNode | The VisualNode that is selected |
type |
Number | The type of node: 0 for regular, 1 for host, 2 for hidden host |
elem |
DOMElement | The SVG node element |
- Source:
showDiff()
Highlights different hosts among the current active views
This method should only be called when there are > 1 execution
and graphs are displayed pairwise
- Source:
- See:
toggleCollapseNode(node)
Toggles the collapsing of a node.
Parameters:
Name | Type | Description |
---|---|---|
node |
ModelNode |
- Source:
toggleHostHighlight(host)
Toggles the highlighting of a host across all Views. The
visualization is then re-drawn.
Parameters:
Name | Type | Description |
---|---|---|
host |
String | The host whose highlighting is to be toggled |
- Source:
unhideHost(host)
Unhides the specified host across all Views. The visualization is
then re-drawn.
Parameters:
Name | Type | Description |
---|---|---|
host |
String | The host to unhide. |
- Source: