MCPcopy Create free account

hub / github.com/graphology/graphology / functions

Functions607 in github.com/graphology/graphology

↓ 6 callersFunctioncheckPositions
(A, B)
src/layout/test/circlepack.js:16
↓ 6 callersFunctioncropToLargestConnectedComponent
* Function mutating a graph in order to drop every node and edge that does * not belong to its largest connected component. * * @param {Graph} gra
src/components/index.js:237
↓ 6 callersFunctiondeepApproximatelyEqual
(t, o, precision)
src/metrics/test/centrality/pagerank.js:12
↓ 6 callersFunctiondeepMerge
(...objects)
src/graphology/tests/helpers.js:18
↓ 6 callersMethoddirectedDegree
* Method returning the given node's directed degree. * * @param {any} node - The node's key. * @return {number} - The node's in de
src/graphology/src/graph.js:1218
↓ 6 callersFunctiondropEdgeFromData
* Internal method used to drop an edge. * * @param {Graph} graph - Target graph. * @param {EdgeData} edgeData - Data of the edge to drop.
src/graphology/src/graph.js:545
↓ 6 callersFunctionemptyIterator
()
src/graphology/src/utils.js:217
↓ 6 callersMethodexport
* Method used to export the whole graph. * * @return {object} - The serialized graph.
src/graphology/src/graph.js:2580
↓ 6 callersMethodmergeAttributes
* Method merging the graph's attributes. * * @param {object} attributes - Attributes to merge. * @return {Graph} * * @throws {Error} -
src/graphology/src/graph.js:2195
↓ 6 callersFunctionmergeEdge
* 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:328
↓ 6 callersFunctionprepareGraphG
()
src/cores/test.js:5
↓ 6 callersFunctionrng
()
src/layout/test/circlepack.js:7
↓ 6 callersMethodundirectedDegree
* Method returning the given node's undirected degree. * * @param {any} node - The node's key. * @return {number} - The node's in
src/graphology/src/graph.js:1241
↓ 5 callersMethodareDirectedNeighbors
* Method returning whether two nodes are directed neighbors. * * @param {any} node - The node's key. * @param {any} neighbor -
src/graphology/src/graph.js:980
↓ 5 callersMethodareInNeighbors
* Method returning whether two nodes are in neighbors. * * @param {any} node - The node's key. * @param {any} neighbor - The ne
src/graphology/src/graph.js:1030
↓ 5 callersMethodareInboundNeighbors
* Method returning whether two nodes are inbound neighbors. * * @param {any} node - The node's key. * @param {any} neighbor - T
src/graphology/src/graph.js:1111
↓ 5 callersMethodareOutNeighbors
* Method returning whether two nodes are out neighbors. * * @param {any} node - The node's key. * @param {any} neighbor - The n
src/graphology/src/graph.js:1005
↓ 5 callersMethodareOutboundNeighbors
* Method returning whether two nodes are outbound neighbors. * * @param {any} node - The node's key. * @param {any} neighbor -
src/graphology/src/graph.js:1142
↓ 5 callersMethodareUndirectedNeighbors
* Method returning whether two nodes are undirected neighbors. * * @param {any} node - The node's key. * @param {any} neighbor
src/graphology/src/graph.js:1055
↓ 5 callersMethodassign
( graph: Graph<NodeAttributes, EdgeAttributes>, maxIterations: number )
src/layout-force/index.d.ts:43
↓ 5 callersFunctionbundle
(format, filename, options = {})
src/graphology/rollup.config.js:15
↓ 5 callersFunctioncreateDedupedObjectIterator
* Function returning an iterator over the given node's relevant neighbors. * * @param {string} type - Type of neighbors. * @param {string}
src/graphology/src/iteration/neighbors.js:202
↓ 5 callersFunctionencloseBasis2
(/*CircleWrap*/ a, /*CircleWrap*/ b)
src/layout/circlepack.js:112
↓ 5 callersMethodforEachAssymetricAdjacencyEntry
* Method iterating over the graph's assymetric adjacency using the given callback. * * @param {function} callback - Callback to use.
src/graphology/src/graph.js:2343
↓ 5 callersFunctionforEachInObjectOnce
* Function iterating over the given node's relevant neighbors to match * one of them using a predicated function. * * @param {string} type
src/graphology/src/iteration/neighbors.js:78
↓ 5 callersFunctionforEachNeighbor
(breakable, type, direction, nodeData, callback)
src/graphology/src/iteration/neighbors.js:97
↓ 5 callersFunctiongetDoubleCliqueGraph
()
src/communities-leiden/test/index.js:30
↓ 5 callersFunctiongetFirstMatchingVizTag
* Function returning the first matching tag of the `viz` namespace matching * the desired tag name. * * @param {Node} element - Target DOM eleme
src/gexf/common/parser.js:55
↓ 5 callersMethodhasAttribute
* Method returning whether the graph has the desired attribute. * * @param {string} name - Name of the attribute. * @return {boolean}
src/graphology/src/graph.js:2092
↓ 5 callersMethodhasExtremity
* Returns whether the given edge has the given node as extremity. * * @param {any} edge - The edge's key. * @param {any} node - The
src/graphology/src/graph.js:1647
↓ 5 callersMethodinDegreeWithoutSelfLoops
* Method returning the given node's in degree without considering self loops. * * @param {any} node - The node's key. * @return {number}
src/graphology/src/graph.js:1357
↓ 5 callersFunctionnlouvain
(graph, n)
src/metrics/test/node/clustering-ambiguity.js:40
↓ 5 callersMethodoutDegreeWithoutSelfLoops
* Method returning the given node's out degree without considering self loops. * * @param {any} node - The node's key. * @return {number
src/graphology/src/graph.js:1380
↓ 5 callersFunctionparse
(dataset, t)
src/communities-louvain/test/index.js:45
↓ 4 callersFunctionaddNodesFrom
(g, nodes)
src/assertions/test.js:18
↓ 4 callersFunctionaddWeightToCommunity
(map, community, weight)
src/communities-louvain/index.js:59
↓ 4 callersMethodassign
( graph: Graph<NodeAttributes, EdgeAttributes>, options?: LouvainOptions<NodeAttributes, EdgeAttribute
src/communities-louvain/index.d.ts:43
↓ 4 callersFunctionassignLayoutAsFlatArray
(graph, layout, options)
src/layout/utils.js:122
↓ 4 callersFunctioncast
(attr, val)
src/minivan/index.js:130
↓ 4 callersFunctioncollect
(graph, attr)
src/metrics/test/centrality/degree.js:75
↓ 4 callersFunctioncollectLayoutAsFlatArray
(graph, options)
src/layout/utils.js:88
↓ 4 callersMethoddegreeWithoutSelfLoops
* 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:1517
↓ 4 callersMethoddropDirectedEdge
* Method used to drop a single directed edge from the graph. * * @param {any} source - Source node. * @param {any} target - Target no
src/graphology/src/graph.js:1959
↓ 4 callersMethoddropUndirectedEdge
* Method used to drop a single undirected edge from the graph. * * @param {any} source - Source node. * @param {any} target - Target
src/graphology/src/graph.js:1995
↓ 4 callersFunctionenclosesNot
(/*CircleWrap*/ a, /*CircleWrap*/ b)
src/layout/circlepack.js:85
↓ 4 callersFunctionforEachAdjacency
( breakable, assymetric, disconnectedNodes, graph, callback )
src/graphology/src/iteration/adjacency.js:18
↓ 4 callersFunctionforEachNodeInTopologicalOrder
(graph, callback)
src/dag/topological-sort.js:26
↓ 4 callersFunctionforEachTopologicalGeneration
(graph, callback)
src/dag/topological-sort.js:104
↓ 4 callersFunctiongetEdgeEntry
(e)
src/utils/test.js:458
↓ 4 callersFunctiongetEdgeKey
(n1, n2)
src/metrics/test/centrality/edge-betweenness.js:23
↓ 4 callersFunctiongetSchema
(multi)
src/simple-path/test.js:22
↓ 4 callersMethodinboundDegree
* Method returning the given node's inbound degree. * * @param {any} node - The node's key. * @return {number} - The node's inboun
src/graphology/src/graph.js:1264
↓ 4 callersMethodinferSettings
(order: number)
src/layout-forceatlas2/index.d.ts:62
↓ 4 callersFunctionobjectValues
(o)
src/minivan/index.js:122
↓ 4 callersMethodoutboundDegree
* Method returning the given node's outbound degree. * * @param {any} node - The node's key. * @return {number} - The node's outbo
src/graphology/src/graph.js:1295
↓ 4 callersFunctionperformTypeInference
* Helper function used to perform type inference of nodes & edges attributes. * This is useful to automatically assess which kind of attribute visual
src/minivan/index.js:233
↓ 4 callersFunctionreducer
(_, pos)
src/layout-noverlap/test.js:121
↓ 4 callersFunctionsameMembers
(a1, a2)
src/graphology/tests/helpers.js:41
↓ 4 callersFunctionsort
(a)
src/indices/test/louvain.js:1069
↓ 4 callersFunctiontest
(multi)
src/graphology/tests/iteration/index.js:17
↓ 4 callersFunctiontieBreaker
( bestCommunity, currentCommunity, targetCommunity, delta, bestDelta )
src/communities-louvain/index.js:71
↓ 4 callersMethodupdateAttribute
* Method using a function to update the desired graph's attribute's value. * * @param {string} name - Name of the attribute. * @param
src/graphology/src/graph.js:2123
↓ 3 callersFunctionassignLayout
(graph, layout, options)
src/layout/utils.js:57
↓ 3 callersFunctionbyteToHex
* Graphology GRAPHML Defaults * ============================ * * Sane defaults for the library.
src/graphml/common/defaults.js:7
↓ 3 callersMethodclearEdges
* Method used to remove every edge from the graph. * * @return {Graph}
src/graphology/src/graph.js:2042
↓ 3 callersFunctioncollectAttributes
(model, defaults, element)
src/graphml/common/parser.js:95
↓ 3 callersFunctioncoreSubgraph
(graph, filter, k, customCore)
src/cores/index.js:119
↓ 3 callersFunctioncountConnectedComponents
(graph)
src/components/index.js:122
↓ 3 callersFunctioncreateEdgeAttributes
(a, v)
src/metrics/test/node/weighted-degree.js:9
↓ 3 callersFunctioncreateGraph
(type)
src/metrics/test/graph/diameter.js:10
↓ 3 callersFunctioncreateIterator
* Function returning an iterator over edges from the given object. * * @param {object} object - Target object. * @return {Iterator}
src/graphology/src/iteration/edges.js:119
↓ 3 callersFunctioncreateIteratorForKey
* Function returning an iterator over the egdes from the object at given key. * * @param {object} object - Target object. * @param {mixed}
src/graphology/src/iteration/edges.js:228
↓ 3 callersFunctioncreateNodeValueGetter
(nameOrFunction, defaultValue)
src/utils/getters.js:14
↓ 3 callersFunctiondict
* Function returning an object with the given keys set to the given value. * * @param {array} keys - Keys to set. * @param {number} value - Val
src/metrics/centrality/hits.js:33
↓ 3 callersFunctionenclosesWeakAll
(/*CircleWrap*/ a, /*Array<CircleWrap>*/ B)
src/layout/circlepack.js:99
↓ 3 callersMethodfindNode
* Method iterating attempting to find a node matching the given predicate * function. * * @param {function} callback - Callback (key, attri
src/graphology/src/graph.js:2396
↓ 3 callersFunctionforEachConnectedComponent
* Function iterating over a graph's connected component using a callback. * * @param {Graph} graph - Target graph. * @param {function} callba
src/components/index.js:18
↓ 3 callersFunctionforEachConnectedComponentOrderWithEdgeFilter
( graph, edgeFilter, callback )
src/components/index.js:80
↓ 3 callersFunctionforEachEdgeForNode
* Function iterating over a node's edges using a callback to match one of them. * * @param {boolean} multi - Whether the graph is multi or not
src/graphology/src/iteration/edges.js:417
↓ 3 callersFunctionforEachEdgeForPath
* Function iterating over edges for the given path using a callback to match * one of them. * * @param {string} type - Type of edges to re
src/graphology/src/iteration/edges.js:514
↓ 3 callersFunctiongetDirectedGraph
()
src/metrics/test/centrality/pagerank.js:17
↓ 3 callersFunctiongetGraph
()
src/sparsification/test.js:13
↓ 3 callersFunctionglobalThreshold
(graph, threshold, options)
src/sparsification/global-threshold.js:19
↓ 3 callersFunctionhits
* HITS function taking a Graph instance & some options and returning a map * of nodes to their hubs & authorities. * * @param {boolean} assign
src/metrics/centrality/hits.js:70
↓ 3 callersMethodisSelfLoop
* Method returning whether the given edge is a self loop. * * @param {any} edge - The edge's key. * @return {boolean} * * @throws
src/graphology/src/graph.js:1711
↓ 3 callersFunctionkey
()
src/graphology/benchmark/object-vs-map.js:15
↓ 3 callersFunctionmax
(values, getter)
src/metrics/layout-quality/connected-closeness.js:16
↓ 3 callersFunctionmodularityDeltaSanityDirected
(resolution)
src/indices/test/louvain.js:707
↓ 3 callersFunctionmodularityDeltaSanityUndirected
(resolution)
src/indices/test/louvain.js:651
↓ 3 callersFunctionngraphLouvainHierarchy
(g)
src/communities-louvain/benchmark/comparison.js:25
↓ 3 callersFunctionngraphLouvainHierarchyNative
(g)
src/communities-louvain/benchmark/comparison.js:36
↓ 3 callersMethodnodeEntries
* Method returning an iterator over the graph's node entries. * * @return {Iterator}
src/graphology/src/graph.js:2551
↓ 3 callersFunctionprocessNodePair
( n1, n2, n1Attr, n2Attr, clusterings, isEdge, nodePairs )
src/metrics/node/clustering-ambiguity.js:18
↓ 3 callersFunctionrng
()
src/layout-force/test.js:11
↓ 3 callersFunctionsortComponents
(components)
src/components/test.js:33
↓ 3 callersMethodundirectedDegreeWithoutSelfLoops
* Method returning the given node's undirected degree without considering self loops. * * @param {any} node - The node's key. * @return
src/graphology/src/graph.js:1426
↓ 3 callersMethodundirectedDelta
( M: number, communityTotalWeight: number, nodeDegree: number, nodeCommunityDegree: number )
src/metrics/graph/modularity.d.ts:41
↓ 2 callersFunctionDEFAULT_FORMATTER
(attr)
src/graphml/common/defaults.js:26
↓ 2 callersMethod_resetInstanceCounters
()
src/graphology/src/graph.js:704
↓ 2 callersFunctionaddWeightToCommunity
(map, community, weight)
src/communities-leiden/utils.js:10
← previousnext →101–200 of 607, ranked by callers