Global

Members

active_clicked :null

Contains the node that currently is selected for additional information.
Source:

attraction_strength :number

Default strong attraction strength. Between 0 and 1.
Source:

attraction_strength_weak :number

Default weak attraction strength for edges. Between 0 and 1.
Source:

bar_height

Height of the barchart.
Source:

bar_width

Width of the barchart.
Source:

bars

Bars of the barchart.
Source:

(constant) deselectedBar :string

Default colour for the bar enclosing the small and larger bar.
Source:

(constant) largeBar :string

Default colour for the larger bar.
Source:
Default link opacity.
Source:
SVG group for links.
Source:

loaded_data

Loaded data.
Source:

node_radius :number

Default size of the circle representing a node.
Source:

nodes

SVG group for nodes.
Source:

paths

SVG group for bundle edges.
Source:

paths_loaded :boolean

True if edges are bundled.
Source:

prev_opacity

Contains the opacity of the selected nodes incident links.
Source:

repulsion_strength :number

Default strong repulsion strength between two nodes.
Source:

repulsion_strength_weak :number

Default weak repulsion strength between two nodes.
Source:

simulation

Handle to the force simulation.
Source:

(constant) smallBar :string

Default colour for the smaller bar.
Source:

x

x scale for the barcodes.
Source:

y

y scale for the barcodes.
Source:

Methods

addGroupLabel(name, number)

Adds a Group label for the given name with the number of elements of this group.
Parameters:
Name Type Description
name of the group
number of elements in the group
Source:

animation()

Updates the position of nodes and links on each tick.
Source:
Updates the link opacities.
Parameters:
Name Type Description
d id of the selected node
Source:

bundle_Edges()

Computes the edge bundling for the current graph layout.
Source:

changeAnimate(enable)

Disables or Enables the animation of the graph optimisation process.
Parameters:
Name Type Description
enable true to show the animation
Source:

configure_graph(settings)

Reads the settings for the dataset.
Parameters:
Name Type Description
settings for the dataset
Source:

create_barcode(bars)

Creates the interactive barcode using the data of bars.
Parameters:
Name Type Description
bars with the stored persistent homology data
Source:

create_graph(data)

Creates the initial FDG and all necessary SVGs and forces.
Parameters:
Name Type Description
data used to create the graph.
Source:

deselect_nodes()

Deselects nodes therefore removing the text and returning opacity to normal.
Source:

disablePaths()

Removes the bundled edges.
Source:

get_ph_features(nodes, links)

Computes the 0D Barcode and all necessary parameters for the bars. Furthermore computes the Minimum Spanning Tree using disjointed sets (algorithm).
Parameters:
Name Type Description
nodes nodes of the graph
links edges of the graph
Source:

isolate(force, nodeA, nodeB) → {*}

Creates an isolated repulsion force for the nodes A and B.
Parameters:
Name Type Description
force force that is isolated for A and B
nodeA first node
nodeB second node
Source:

noAnimation()

Lets the simulation tick 500 times and then updates nodes and link positions.
Source:

resize_graph()

Resizes the graph according to the window size.
Source:

update_attraction(value)

Function that updates which bars are considered for additional attraction.
Parameters:
Name Type Description
value Value of the slider
Source:

update_repulsion()

Function that updates the repulsion based on the selected bars.
Source:
Updates the position of nodes and links.
Source:

updateNodeSize(value)

Updates the size of the nodes in the graph.
Parameters:
Name Type Description
value either 'fixed' or 'dynamic'
Source: