The map of edges as a line map
the amount of vertical displacement
Displace the vertices vertically based on some prameter (For example degree or modularity)
the graph whos nodes have to be displaced
the prameter based on which you want to modify the
the maximum amunt of displacement, all the other values are rescaled linerly
Edge bundling - this isnt as fast as the current KDE based methods - but it provides a basic method of Visualizing large edge flows. Note: This is an aysnc function as it takes a while for the edge bundling to happen
The map of edges as a line map
The number of iterations to run edge bundling
A shorthand for how close together the vertices need to be before they get influnced by each other
A line map with all the updated positions of the line (Where they are bundled together) Again - this needs to be applied to the graph!
Constructs the edges as lines, Note: these are just a representation of the lines they then have to be visulized using one of the Three JS Drawer functions like draw a thick line or a thin line. This draws out the edges divided by some number of divisions that you specify
The graph whos edges are getting drawn
How many divisions (distance) to make along the edge
A line map - which holds a map of all the edge indices and the corresponding line representations
Constructs the edges as lines, Note: these are just a representation of the lines they then have to be visulized using one of the Three JS Drawer functions like draw a thick line or a thin line - this draws them based on the number of divisions you would like them to have
The graph whos edges are getting drawn
How many divisions to make along the edge
A line map - which holds a map of all the edge indices and the corresponding line representations
Generates a hive plot for a graph, this includes the option to displace the graph vertically based on degrees and how far away each node is
The graph
the node around which the hive plot is generated
If the hive should step up or down if yes then by what increments
Starting position
Randomly sets all the positions for a graph Not really very useful but I've used it in some cases and have kept it around
The graph who's nodes you would want to reposition
A position map of all the nodes and its corresponding positions
Move a graph somewhere (like the physical location) - This is an inplace movement and overwrites existing values
The graph that has to be moved
This is a point and I end up using Point and Vector interchangably. So here the xyz values from the point are used to displace the nodes
Simulates Kamada kawai for a network in 2d. 3d is not supported yet Note: This is an async function as it take time for some of the large graphs
The first input number
The second input number
The bounds of simulation (Mostly a global number to scale the graph up or down)
How sticky the nodes are i.r. how much they cluster together
And node map of all the nodes and their simulated positions - Please note: position maps have to to be applied to the graph!
Draw new lines from edges, and draw them based on the distance of divisions (i.e. divide the line up every 10 units) Note: This is an in place update that takes place on the graph - it overwrites the existing data.
The grapht who's edges have to be updated
The distance by which the divisions are made
Draw new lines from edges, and draw them based on divisions (i.e. divide the line into 10 units) Note: This is an in place update that takes place on the graph - it overwrites the existing data.
The grapht who's edges have to be updated
The number of divisions to be made
Generated using TypeDoc
Displace the edges vertically, almost akin to the Deck.gl arcs The displacement is done in a sin curve with the ends still touching the nodes Note: This is an inplace modification of the edges