Global

Members

MotifEnum :Motif

Type:
Source:

Methods

addConnector()

Help-Function for detectConnectors. Adds the connector c to the output array out and updates the used-map.
Source:

convertGraphToNetworkXFormat(graph) → {*}

Converts a read in graph structure to a Network X graph object.
Parameters:
Name Type Description
graph Object Graph structure to convert
Source:
Returns:
Network X graph object.
Type
*

detectCliques(network, min, max)

Detects cliques of a graph.
Parameters:
Name Type Description
network Network Network object containg a graph in which to detect cliques.
min number Minimum number of nodes that have to be inside a clique.
max number Maximum number of nodes that have to be inside a clique.
Source:

detectConnectors(network, min, max) → {Array}

Detects D-Connectors.
Parameters:
Name Type Description
network Network Network object containg a graph in which to detect cliques.
min number Minimum number of anchors
max number Maximum number of anchors
Source:
Returns:
Array of D-Connectors, where each connector is an object with attributes "anchors" and "spanners" (arrays containing the corresponding node names).
Type
Array

detectFans(network) → {Array}

Detects Fans.
Parameters:
Name Type Description
network Network Network object containg a graph in which to detect cliques.
Source:
Returns:
Array of fans, where each fan is an array starting with the central node, followed by the adjacent leaves.
Type
Array

filterCliques(cliques) → {Array}

Filters the cliques such that there are no overlapping cliques and such that the biggest cliques are kept.
Parameters:
Name Type Description
cliques Array Array of arrays containing the ids of the nodes of the corresponding clique.
Source:
Returns:
Array containing the filtered cliques.
Type
Array

filterConnectors(connectors) → {Array}

Filters the cconnectors such that there are no overlapping connectors and such that the biggest connectors are kept.
Parameters:
Name Type Description
connectors Array Array of arrays containing the ids of the nodes of the corresponding connector.
Source:
Returns:
Array containing the filtered connectors.
Type
Array

HTMLElementsToArray(collection) → {Array}

Converts a collection of html-elements of the same type into an array of objects.
Parameters:
Name Type Description
collection NodeListOf.<Element> Collection containing html-elements of the same type.
Source:
Returns:
Array of objects.
Type
Array

loadGraphML(xml) → {Object}

Loads the graph structure from a GraphML(XML) file.
Parameters:
Name Type Description
xml HTMLDocument HTMLDocument according to GraphML standard.
Source:
Returns:
Graph data structure.
Type
Object

setDropDownSelects(id, keys)

Sets label of the chosen selection.
Parameters:
Name Type Description
id String HTMLElement id of element to append childNodes.
keys Array Keys.
Source:

Type Definitions

Motif

Type:
  • number
Source: