MCPcopy Create free account

hub / github.com/graphology/graphology / functions

Functions607 in github.com/graphology/graphology

FunctionattachNodeAttributesMerger
(Class, method, mode)
src/graphology/src/attributes/nodes.js:241
FunctionattachNodeAttributesReplacer
(Class, method, mode)
src/graphology/src/attributes/nodes.js:212
FunctionattachNodeAttributesUpdater
(Class, method, mode)
src/graphology/src/attributes/nodes.js:271
Functionbidirectional
* Function attempting to find the shortest path in a graph between * given source & target or `null` if such a path does not exist. * * @param {Gr
src/shortest-path/unweighted.js:21
FunctionbidirectionalAstar
* Bidirectional A* shortest path between source & target node. * * Note that this implementation was basically copied from networkx. * * @param {
src/shortest-path/astar.js:41
FunctionbidirectionalDijkstra
(graph, source, target, getEdgeWeight)
src/shortest-path/dijkstra.js:284
Functionbrandes
(sourceIndex)
src/shortest-path/indexed-brandes.js:43
Functionbrandes
* Function using Ulrik Brandes' method to map single source shortest paths * from selected node. * * [Reference]: * Ulrik Brandes: A Faster Algori
src/shortest-path/unweighted.js:285
Functioncapitalize
(string)
src/graphology/tests/helpers.js:11
FunctioncoerceWeight
* Graphology Weight Getter * ========================= * * Function creating weight getters.
src/utils/getters.js:7
FunctioncollectAssymetricUndirectedEdges
(graph, node)
src/assertions/index.js:110
FunctioncollectOutEdges
(graph, node)
src/assertions/index.js:90
Functioncomparator
(a, b)
src/indices/sorted-components.js:52
FunctioncompareDegrees
(a, b)
src/cores/index.js:325
FunctioncompareNeighborEntries
(entries1, entries2)
src/assertions/index.js:47
FunctioncomponentGrid
(assign, graph, options)
src/layout/component-grid.js:207
Methodconstructor
(options)
src/graphology/src/classes.js:21
Methodconstructor
(options)
src/graphology/src/classes.js:40
Methodconstructor
(options)
src/graphology/src/classes.js:59
Methodconstructor
(options)
src/graphology/src/classes.js:71
Methodconstructor
(options)
src/graphology/src/classes.js:90
Methodconstructor
(options)
src/graphology/src/index.js:20
Methodconstructor
(options)
src/graphology/src/index.js:25
Methodconstructor
(options)
src/graphology/src/index.js:30
Methodconstructor
(options)
src/graphology/src/index.js:35
Methodconstructor
(options)
src/graphology/src/index.js:40
Methodconstructor
(options)
src/graphology/src/graph.js:604
Methodconstructor
(message)
src/graphology/src/errors.js:10
Methodconstructor
(message)
src/graphology/src/errors.js:18
Methodconstructor
(message)
src/graphology/src/errors.js:32
Methodconstructor
(message)
src/graphology/src/errors.js:43
FunctioncountAssymetricUndirectedEdges
(graph, node)
src/assertions/index.js:72
FunctioncountOutEdges
(graph, node)
src/assertions/index.js:58
FunctioncreateBasicGraph
()
src/gexf/test/definitions/writer.js:10
FunctiondenseModularity
(graph, options)
src/metrics/graph/modularity.js:514
FunctiondirectedDensity
* Returns the directed density. * * @param {number} order - Number of nodes in the graph. * @param {number} size - Number of edges in the graph.
src/metrics/graph/density.js:28
FunctiondirectedLouvain
(detailed, graph, options)
src/communities-louvain/index.js:375
FunctiondirectedModularityDelta
( M, communityTotalInWeight, communityTotalOutWeight, nodeInDegree, nodeOutDegree, nodeCommunityDe
src/metrics/graph/modularity.js:498
FunctiondumpToImage
(graph, communities)
src/communities-louvain/test/index.js:76
FunctionedgeCallback
(edge, attr, s, t)
src/shortest-path/astar.js:109
FunctionedgeExtent
* Function returning the extent of the selected edge attributes. * * @param {Graph} graph - Target graph. * @param {string|array} attr
src/metrics/graph/extent.js:55
MethodedgeKeyGenerator
()
src/graphology/src/graph.js:652
FunctionedgesCondition
()
src/canvas/renderer.js:146
FunctionedgesIteration
(Graph, checkers)
src/graphology/tests/iteration/edges.js:21
FunctionerdosRenyiSparse
* Generates a binomial graph graph with n nodes using a faster algorithm * for sparse graphs. * * @param {Class} GraphClass - The Graph Clas
src/generators/random/erdos-renyi.js:86
FunctionescapeReplacer
(char)
src/svg/helpers.js:75
Functionfn
src/graphology/benchmark/map-iteration.js:31
FunctionforEachForKeyMulti
(breakable, object, k, callback)
src/graphology/src/iteration/edges.js:195
FunctionforEachForKeySimple
* Function iterating over the egdes from the object at given key to match * one of them. * * @param {object} object - Target object. * @param
src/graphology/src/iteration/edges.js:172
FunctionforEachMulti
(breakable, object, callback, avoid)
src/graphology/src/iteration/edges.js:80
FunctionforEachSimple
* Function iterating over edges from the given object to match one of them. * * @param {object} object - Target object. * @param {function} cal
src/graphology/src/iteration/edges.js:56
FunctionfrequencySorter
(a, b)
src/minivan/index.js:216
FunctionfrequencySorter
(a, b)
src/minivan/scripts/convert-alpha.js:21
MethodfromAttributes
(attributes: EdgeAttributes)
src/utils/getters.d.ts:45
MethodfromGraph
(graph: Graph<NodeAttributes, EdgeAttributes>, edge: unknown)
src/utils/getters.d.ts:29
FunctiongenericCirclePackLayout
* Abstract function running the layout. * * @param {Graph} graph - Target graph. * @param {object} [options]
src/layout/circlepack.js:416
FunctiongenericCircularLayout
* Abstract function running the layout. * * @param {Graph} graph - Target graph. * @param {object} [options] - Options: * @p
src/layout/circular.js:29
FunctiongenericRandomLayout
* Abstract function running the layout. * * @param {Graph} graph - Target graph. * @param {object} [options] - Options: * @p
src/layout/random.js:31
FunctiongenericRotation
* Abstract function for rotating a graph's coordinates. * * @param {Graph} graph - Target graph. * @param {number} angle
src/layout/rotation.js:32
FunctiongraphToViewport
(pos)
src/layout/conversion.js:136
Functioninc
()
src/graphology/benchmark/adjacency.js:34
FunctioninferSettings
* Function returning sane layout settings for the given graph. * * @param {Graph|number} graph - Target graph or graph order. * @return {object}
src/layout-forceatlas2/index.js:87
FunctioninputReducer
(_, attr)
src/layout-noverlap/test.js:247
Methodinspect
* Method used internally by node's console to display a custom object. * * @return {object} - Formatted object representation of the graph.
src/graphology/src/graph.js:2862
FunctionkCore
(graph, k, customCore)
src/cores/index.js:140
FunctionkCorona
(graph, k, customCore)
src/cores/index.js:180
FunctionkCrust
(graph, k, customCore)
src/cores/index.js:162
FunctionkShell
(graph, k, customCore)
src/cores/index.js:151
FunctionkTruss
(graph, k)
src/cores/index.js:207
Functionleiden
* Function returning the communities mapping of the graph. * * @param {boolean} assign - Assign communities to nodes attributes? * @pa
src/communities-leiden/index.js:501
Functionlistener
({ key, attributes }: { key: string; attributes: NodeAttributes; })
src/graphology/test-types.ts:22
FunctionmixedDensity
* Returns the mixed density. * * @param {number} order - Number of nodes in the graph. * @param {number} size - Number of edges in the graph. *
src/metrics/graph/density.js:39
FunctionneighborCallback
(neighbor, attr)
src/dag/topological-sort.js:59
FunctionneighborCallback
(neighbor)
src/dag/has-cycle.js:33
FunctionneighborsIteration
(Graph, checkers)
src/graphology/tests/iteration/neighbors.js:20
Functionnext
()
src/graphology/benchmark/object-iterator-items.js:12
Functionnext
()
src/graphology/src/utils.js:174
Functionnext
()
src/graphology/src/iteration/edges.js:130
Functionnext
()
src/graphology/src/iteration/neighbors.js:212
FunctionnodeExtent
* Function returning the extent of the selected node attributes. * * @param {Graph} graph - Target graph. * @param {string|array} attr
src/metrics/graph/extent.js:16
FunctionnodesCondition
()
src/canvas/renderer.js:150
FunctionnodesIteration
(Graph, checkers)
src/graphology/tests/iteration/nodes.js:10
FunctionnumericCaster
(v)
src/graphml/common/parser.js:15
FunctiononionLayers
(assign, graph, nodeOnionLayerAttribute)
src/cores/index.js:270
FunctionprintReport
(result)
src/communities-louvain/test/index.js:93
Functionpush
(e, a, s, t, sa, ta, u)
src/components/index.js:97
Functionpush
(neighbor)
src/dag/will-create-cycle.js:38
FunctionreduceNodes
(graph, settings)
src/canvas/helpers.js:13
FunctionreduceNodes
(graph, settings)
src/svg/helpers.js:10
Functionrename
(k1, k2, o)
src/minivan/scripts/convert-alpha.js:12
FunctionrenderEdgeBatch
()
src/canvas/renderer.js:90
FunctionrenderNodeBatch
()
src/canvas/renderer.js:131
FunctionreturnDefault
()
src/utils/getters.js:29
FunctionreturnFalse
()
src/operators/test.js:86
FunctionreturnTrue
()
src/shortest-path/utils.js:7
FunctionrobustRandomnessDirectedLouvain
(detailed, graph, options)
src/communities-louvain/experimental/robust-randomness.js:226
FunctionrobustRandomnessUndirectedLouvain
(detailed, graph, options)
src/communities-louvain/experimental/robust-randomness.js:60
FunctionsingleSource
(graph, source)
src/shortest-path/unweighted.js:156
FunctionsingleSourceDijkstra
* Single source Dijkstra shortest path between given node & other nodes in * the graph. * * @param {Graph} graph - The graphology instanc
src/shortest-path/dijkstra.js:276
FunctionsparseModularity
(graph, options)
src/metrics/graph/modularity.js:544
← previousnext →501–600 of 607, ranked by callers