Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/graphology/graphology
/ functions
Functions
607 in github.com/graphology/graphology
⨍
Functions
607
◇
Types & classes
107
↓ 2 callers
Function
addWeightToCommunity
(map, community, weight)
src/communities-louvain/experimental/robust-randomness.js:31
↓ 2 callers
Method
assign
( graph: Graph<NodeAttributes, EdgeAttributes>, options?: RobustRandomnessLouvainOptions<NodeAttribute
src/communities-louvain/experimental/robust-randomness.d.ts:41
↓ 2 callers
Method
assign
(graph: Graph, maxIterations?: number)
src/layout-noverlap/index.d.ts:31
↓ 2 callers
Method
assign
( graph: Graph<NodeAttributes, EdgeAttributes>, threshold: number, options?: GlobalThresholdOption
src/sparsification/global-threshold.d.ts:23
↓ 2 callers
Function
assignPosition
(i, target)
src/layout/circular.js:52
↓ 2 callers
Function
assignPosition
(target)
src/layout/rotation.js:84
↓ 2 callers
Function
assignPosition
(target)
src/layout/random.js:51
↓ 2 callers
Function
asyncWhile
(condition, task, callback)
src/canvas/renderer.js:63
↓ 2 callers
Function
batchRename
(r, l)
src/minivan/scripts/convert-alpha.js:240
↓ 2 callers
Function
brandes
* Function using Ulrik Brandes' method to map single source shortest paths * from selected node. * * [Reference]: * Ulrik Brandes: A Faster Algori
src/shortest-path/dijkstra.js:301
↓ 2 callers
Function
bundle
(input, filename, options = {})
src/library/rollup.config.js:7
↓ 2 callers
Function
capitalize
(string)
src/traversal/utils.js:14
↓ 2 callers
Function
cleanLoops
* Helpers.
src/metrics/test/graph/modularity.js:30
↓ 2 callers
Function
closeTo
(A, B)
src/layout/test/circlepack.js:11
↓ 2 callers
Function
collectAttributes
* Function used to collect an element's attributes. * * @param {object} model - Data model to use. * @param {object} defaults - Default valu
src/gexf/common/parser.js:134
↓ 2 callers
Function
collectEdges
* Helpers used to collect edges with their targets.
src/simple-path/index.js:173
↓ 2 callers
Function
collectMultiEdges
(graph, source)
src/simple-path/index.js:183
↓ 2 callers
Function
collectNGraphCommunities
(g, result)
src/communities-louvain/benchmark/comparison.js:15
↓ 2 callers
Function
compile
(o)
src/communities-leiden/test/index.js:78
↓ 2 callers
Function
computeIndicators
(Delta, g, pairsOfNodesSampled, connectedPairs)
src/metrics/layout-quality/connected-closeness.js:160
↓ 2 callers
Function
coreNumber
(assign, graph, coreAttribute)
src/cores/index.js:11
↓ 2 callers
Function
createConnectedCliques
()
src/metrics/test/node/clustering-ambiguity.js:20
↓ 2 callers
Function
createEdgeValueGetter
(nameOrFunction, defaultValue)
src/utils/getters.js:64
↓ 2 callers
Function
createGraph
(weightAttribute)
src/metrics/test/node/weighted-degree.js:17
↓ 2 callers
Function
createGraph
(type)
src/metrics/test/node/eccentricity.js:10
↓ 2 callers
Method
detailed
( graph: Graph<NodeAttributes, EdgeAttributes>, options?: LouvainOptions<NodeAttributes, EdgeAttribute
src/communities-louvain/index.d.ts:47
↓ 2 callers
Method
directedDegreeWithoutSelfLoops
* Method returning the given node's directed degree without considering self loops. * * @param {any} node - The node's key. * @return {n
src/graphology/src/graph.js:1403
↓ 2 callers
Method
directedDelta
( M: number, communityTotalInWeight: number, communityTotalOutWeight: number, nodeInDegree: nu
src/metrics/graph/modularity.d.ts:48
↓ 2 callers
Function
encloseBasis3
(/*CircleWrap*/ a, /*CircleWrap*/ b, /*CircleWrap*/ c)
src/layout/circlepack.js:131
↓ 2 callers
Function
enclosesWeak
(/*CircleWrap*/ a, /*CircleWrap*/ b)
src/layout/circlepack.js:92
↓ 2 callers
Function
escape
(string)
src/svg/helpers.js:79
↓ 2 callers
Function
extractModel
* Function used to extract the model from the right elements. * * @param {Array<Node>} elements - Target DOM elements. * @return {array}
src/gexf/common/parser.js:95
↓ 2 callers
Method
filterNodes
* Method filtering nodes. * * @param {function} callback - Callback (key, attributes).
src/graphology/src/graph.js:2494
↓ 2 callers
Function
findAvailableSlug
(index, name)
src/minivan/index.js:102
↓ 2 callers
Function
findSuitableDefaultColorAndSize
(attributes)
src/minivan/index.js:187
↓ 2 callers
Method
forEachAdjacencyEntry
* Method iterating over the graph's adjacency using the given callback. * * @param {function} callback - Callback to use.
src/graphology/src/graph.js:2321
↓ 2 callers
Function
forEachConnectedComponentOrder
(graph, callback)
src/components/index.js:49
↓ 2 callers
Function
forEachEdge
* Function iterating over a graph's edges using a callback to match one of * them. * * @param {Graph} graph - Target Graph instance. * @par
src/graphology/src/iteration/edges.js:325
↓ 2 callers
Function
generatePalette
(count, name, userSettings)
src/minivan/index.js:166
↓ 2 callers
Function
getBasicGraph
()
src/metrics/test/centrality/degree.js:61
↓ 2 callers
Function
getBasicGraph
()
src/svg/test/index.js:11
↓ 2 callers
Function
getWeightedGraph1
()
src/metrics/test/centrality/betweenness.js:23
↓ 2 callers
Function
getWeightedGraph1
()
src/metrics/test/centrality/edge-betweenness.js:39
↓ 2 callers
Function
getWeightedGraph2
(w)
src/metrics/test/centrality/betweenness.js:46
↓ 2 callers
Function
getWeightedGraph2
(w)
src/metrics/test/centrality/edge-betweenness.js:63
↓ 2 callers
Function
indexBy
(a)
src/minivan/index.js:114
↓ 2 callers
Function
inferModel
(elements)
src/gexf/common/writer.js:319
↓ 2 callers
Function
inferScalarValueType
* Function used to detect a JavaScript's value type in the GEXF model. * * @param {any} value - Target value. * @return {string}
src/gexf/common/writer.js:149
↓ 2 callers
Function
intersects
(/*CircleWrap*/ a, /*CircleWrap*/ b)
src/layout/circlepack.js:268
↓ 2 callers
Function
isEmpty
(o)
src/graphology/src/utils.js:86
↓ 2 callers
Function
isEmptyValue
* Function used to check whether the given value is "empty". * * @param {any} value - Target value. * @return {boolean}
src/gexf/common/writer.js:120
↓ 2 callers
Function
isValidNumber
(value)
src/layout/utils.js:9
↓ 2 callers
Function
jitter
()
src/layout-noverlap/iterate.js:27
↓ 2 callers
Function
lengthOf
(dict)
src/cores/index.js:279
↓ 2 callers
Function
lookup
(o)
src/communities-leiden/test/index.js:24
↓ 2 callers
Function
outputReducer
(_, pos)
src/layout-noverlap/test.js:255
↓ 2 callers
Function
parseScalarValue
(type, string)
src/gexf/common/helpers.js:104
↓ 2 callers
Function
parseValue
(type, string)
src/gexf/common/helpers.js:130
↓ 2 callers
Function
place
(/*CircleWrap*/ b, /*CircleWrap*/ a, /*CircleWrap*/ c)
src/layout/circlepack.js:238
↓ 2 callers
Function
prepareDiGraphI
()
src/cores/test.js:68
↓ 2 callers
Function
remove
(degrees, key)
src/cores/index.js:273
↓ 2 callers
Method
removeAttribute
* Method removing the desired graph's attribute. * * @param {string} name - Name of the attribute. * @return {Graph}
src/graphology/src/graph.js:2149
↓ 2 callers
Function
rng
(seed)
src/communities-leiden/test/index.js:20
↓ 2 callers
Function
robustRandomnessLouvain
* Function returning the communities mapping of the graph. * * @param {boolean} assign - Assign communities to nodes attributes? * @pa
src/communities-louvain/experimental/robust-randomness.js:413
↓ 2 callers
Function
score
(/*CircleWrap*/ node)
src/layout/circlepack.js:207
↓ 2 callers
Function
sortedEdgePairs
(graph)
src/operators/test.js:31
↓ 2 callers
Function
sum
* Helpers.
src/layout/component-grid.js:21
↓ 2 callers
Function
sum
* Function returning the sum of an object's values. * * @param {object} o - Target object. * @return {number} - The sum.
src/metrics/centrality/hits.js:49
↓ 2 callers
Function
tieBreaker
(rng, bestCommunity, currentCommunity, delta, bestDelta)
src/communities-louvain/experimental/robust-randomness.js:43
↓ 2 callers
Function
topologicalGenerations
(graph)
src/dag/topological-sort.js:128
↓ 2 callers
Function
unsafeAddNode
* Same as the above but without sanity checks because we call this in contexts * where necessary checks were already done.
src/graphology/src/graph.js:145
↓ 2 callers
Function
upperBoundPerMethod
(method, graph)
src/indices/neighborhood.js:9
↓ 2 callers
Function
validateHints
(hints)
src/graphology/src/utils.js:138
↓ 2 callers
Function
worstRatio
(sizes, x, y, dx, dy)
src/layout/component-grid.js:146
↓ 2 callers
Function
writeElements
(version, writer, type, model, elements)
src/gexf/common/writer.js:380
↓ 2 callers
Function
writeModel
* Function used to write a model. * * @param {XMLWriter} writer - The writer to use. * @param {object} model - Model to write. * @para
src/gexf/common/writer.js:361
↓ 1 callers
Function
CSSColorToRGBA
* Function used to transform a CSS color into a RGBA object. * * @param {string} value - Target value. * @return {object}
src/gexf/common/writer.js:36
↓ 1 callers
Function
DFS
(node)
src/components/index.js:283
↓ 1 callers
Function
abstractBfs
* BFS traversal in the given graph using a callback function * * @param {Graph} graph - Target graph. * @param {string} startingNode -
src/traversal/bfs.js:23
↓ 1 callers
Function
abstractBidirectionalDijkstra
* Bidirectional Dijkstra shortest path between source & target node abstract. * * Note that this implementation was basically copied from networkx.
src/shortest-path/dijkstra.js:57
↓ 1 callers
Function
abstractDfs
* DFS traversal in the given graph using a callback function * * @param {Graph} graph - Target graph. * @param {string} startingNode -
src/traversal/dfs.js:23
↓ 1 callers
Function
abstractDijkstraMultisource
* Multisource Dijkstra shortest path abstract function. This function is the * basis of the algorithm that every other will use. * * Note that this
src/shortest-path/dijkstra.js:182
↓ 1 callers
Function
abstractHaveSameNodes
* Function returning whether the given graphs have the same nodes. * * @param {boolean} deep - Whether to perform deep comparisons. * @param {Gra
src/assertions/index.js:142
↓ 1 callers
Function
addEdge
* Internal method used to add an arbitrary edge to the given graph. * * @param {Graph} graph - Target graph. * @param {string} name
src/graphology/src/graph.js:176
↓ 1 callers
Function
addNode
* Internal method used to add a node to the given graph * * @param {Graph} graph - Target graph. * @param {any} node -
src/graphology/src/graph.js:112
↓ 1 callers
Function
areUnorderedCollectionsOfAttributesIdentical
* Helpers.
src/assertions/index.js:17
↓ 1 callers
Function
assignNodeAttributes
(graph, prop, map)
src/communities-louvain/test/index.js:71
↓ 1 callers
Function
attachEdgeArrayCreator
* Function attaching an edge array creator method to the Graph prototype. * * @param {function} Class - Target class. * @param {object} des
src/graphology/src/iteration/edges.js:633
↓ 1 callers
Function
attachEdgeAttributesMethods
(Graph)
src/graphology/src/attributes/edges.js:762
↓ 1 callers
Function
attachEdgeIterationMethods
(Graph)
src/graphology/src/iteration/edges.js:1226
↓ 1 callers
Function
attachEdgeIteratorCreator
* Function attaching an edge iterator method to the Graph prototype. * * @param {function} Class - Target class. * @param {object} descript
src/graphology/src/iteration/edges.js:1153
↓ 1 callers
Function
attachFindEdge
* Function attaching a breakable edge callback iterator method to the Graph * prototype. * * @param {function} Class - Target class. * @para
src/graphology/src/iteration/edges.js:981
↓ 1 callers
Function
attachFindNeighbor
* Function attaching a breakable neighbors callback iterator method to the * Graph prototype. * * @param {function} Class - Target class. *
src/graphology/src/iteration/neighbors.js:440
↓ 1 callers
Function
attachForEachEdge
* Function attaching a edge callback iterator method to the Graph prototype. * * @param {function} Class - Target class. * @param {object}
src/graphology/src/iteration/edges.js:716
↓ 1 callers
Function
attachForEachNeighbor
* Function attaching a neighbors callback iterator method to the Graph prototype. * * @param {function} Class - Target class. * @param {objec
src/graphology/src/iteration/neighbors.js:329
↓ 1 callers
Function
attachNeighborArrayCreator
* Function attaching a neighbors array creator method to the Graph prototype. * * @param {function} Class - Target class. * @param {object}
src/graphology/src/iteration/neighbors.js:289
↓ 1 callers
Function
attachNeighborIterationMethods
(Graph)
src/graphology/src/iteration/neighbors.js:569
↓ 1 callers
Function
attachNeighborIteratorCreator
* Function attaching a neighbors callback iterator method to the Graph prototype. * * @param {function} Class - Target class. * @param {objec
src/graphology/src/iteration/neighbors.js:528
↓ 1 callers
Function
attachNodeAttributesMethods
(Graph)
src/graphology/src/attributes/nodes.js:347
↓ 1 callers
Function
attributes
(Graph, checkers)
src/graphology/tests/attributes.js:10
← previous
next →
201–300 of 607, ranked by callers