MCPcopy Create free account

hub / github.com/codemix/graph / functions

Functions1,533 in github.com/codemix/graph

↓ 18 callersFunctiongetType
(value: Record<string, unknown>)
packages/graph/src/test/tck/tckHelpers.ts:1098
↓ 18 callersMethodlimit
* Take the first n edges in the traversal. * @param n The number of edges to take.
packages/graph/src/Traversals.ts:2187
↓ 18 callersMethodskip
* Skip the first n edges in the traversal.
packages/graph/src/Traversals.ts:2176
↓ 17 callersMethodclone
(partial?: Partial<AggregateStepConfig>)
packages/graph/src/Steps.ts:2664
↓ 17 callersFunctionpeg$parseDISTINCT
()
packages/graph/src/grammar.js:13991
↓ 17 callersFunctionresolveConditionValue
* Resolve a condition value - either return the literal value or resolve a reference from the path.
packages/graph/src/Steps.ts:1215
↓ 16 callersFunctionexecuteQuery
(graph: Graph<TestSchema>, query: string)
packages/graph/src/test/duplicateRemoval.test.ts:52
↓ 16 callersMethodgetIncomingEdges
* Get all incoming edges of a vertex. * @param vertexId The id of the vertex.
packages/graph/src/Graph.ts:126
↓ 16 callersFunctiongetLabelFromElementId
(id: ElementId<TLabel>)
packages/graph/src/GraphStorage.ts:25
↓ 16 callersMethodnext
(value)
packages/y-graph-storage/src/YGraph.ts:62
↓ 16 callersFunctionpeg$classExpectation
(parts, inverted, ignoreCase, unicode)
packages/graph/src/grammar.js:2404
↓ 15 callersFunctionconvertConditionValue
* Convert an AST condition value to Step condition value format. * Handles literal values, property references, variable references, and arithmetic e
packages/graph/src/astToSteps.ts:2037
↓ 15 callersFunctioncreateMockPath
()
packages/graph/src/test/range-reverse.test.ts:59
↓ 15 callersFunctiongenerateDocument
* Generate a realistic document with the specified word count. * Uses a mix of common words and technical terms.
packages/text-search/src/performance.test.ts:9
↓ 15 callersFunctionparsePropertyValue
( key: string, label: string, value: T, schemaProperties: ElementSchema["properties"] | undefined, )
packages/graph/src/Graph.ts:42
↓ 14 callersMethod#extractValue
(item: unknown, variable: string)
packages/graph/src/Steps.ts:3136
↓ 14 callersFunctionaddDuration
( temporal: TemporalValue, duration: DurationValue, )
packages/graph/src/TemporalTypes.ts:1457
↓ 14 callersMethodbuildIndex
* Build an index by scanning all elements. * Called lazily on first query that could use the index. * * @param label The element label. *
packages/graph/src/indexes/IndexManager.ts:338
↓ 14 callersFunctionexecuteQuery
( graph: Graph<GraphSchema>, queryString: string, debug: boolean = false, )
packages/graph/src/test/newFeatures.test.ts:24
↓ 14 callersFunctionexecuteQuery
(graph: Graph<GraphSchema>, queryString: string)
packages/graph/src/test/keywordAsIdentifier.test.ts:49
↓ 14 callersFunctiongetTypeOrder
* Type ordering for deterministic cross-type comparisons: * undefined < null < boolean < number < string < object * * When comparing values of diff
packages/graph/src/Comparator.ts:29
↓ 13 callersFunctionconvertCondition
* Convert AST condition to Step condition format. * @param condition - The AST condition to convert * @param useDirectPropertyAccess - If true, use
packages/graph/src/astToSteps.ts:2338
↓ 13 callersMethoddeleteVertex
* Delete a vertex from the graph.
packages/graph/src/Graph.ts:211
↓ 13 callersFunctiongenerateSchemaGuide
(schema: TSchema)
packages/graph/src/generateSchemaGuide.ts:400
↓ 13 callersFunctionpeg$parseInteger
()
packages/graph/src/grammar.js:17274
↓ 13 callersMethodquery
( query: (g: GraphTraversal<TSchema>) => Traversal<TSchema, TPath>, )
packages/graph/src/AsyncGraph.ts:91
↓ 13 callersMethodweightedBy
* Enable weighted shortest path using Dijkstra's algorithm. * @param propertyName The edge property containing the weight.
packages/graph/src/Traversals.ts:1775
↓ 12 callersMethod#extractProperty
(item: unknown, variable: string, property: string)
packages/graph/src/Steps.ts:3125
↓ 12 callersFunctioncreateTestGraph
()
packages/graph/src/test/keywordAsIdentifier.test.ts:23
↓ 12 callersFunctiongetNodes
(pattern: Pattern)
packages/graph/src/test/backtickIdentifiers.test.ts:22
↓ 12 callersFunctionisTemporalValue
(value: unknown)
packages/graph/src/TemporalTypes.ts:23
↓ 12 callersFunctionpeg$parseIN
()
packages/graph/src/grammar.js:15138
↓ 12 callersFunctionpeg$parsePropertyMap
()
packages/graph/src/grammar.js:6838
↓ 12 callersMethoduntil
* Repeat the traversal until a sub-traversal returns at least one result.
packages/graph/src/Traversals.ts:1575
↓ 11 callersMethodaddEdge
(...args: any[])
packages/graph/src/Graph.ts:591
↓ 11 callersFunctionanalyzeCondition
(condition: Condition)
packages/graph/src/indexes/QueryPlanner.ts:71
↓ 11 callersMethodcount
* Count the number of edges in the traversal.
packages/graph/src/Traversals.ts:2209
↓ 11 callersFunctioncreateTestGraph
()
packages/graph/src/test/new-features.test.ts:59
↓ 11 callersFunctioncreateTestGraph
()
packages/graph/src/test/mergeEnhancements.test.ts:8
↓ 11 callersFunctionexecuteQuery
(query: string)
packages/graph/src/test/offsetKeyword.test.ts:115
↓ 11 callersFunctiongenerateGrammarDescription
()
packages/graph/src/generateSchemaGuide.ts:10
↓ 10 callersMethod#indexKey
* Get the key for an index.
packages/graph/src/indexes/IndexManager.ts:34
↓ 10 callersFunctioncreateBinaryTree2
* Creates the binary-tree-2 fixture graph. * Similar to binary-tree-1 but with different label patterns. * Nodes have labels X or Y in alternating p
packages/graph/src/test/tck/useCases/TriadicSelection1.test.ts:82
↓ 10 callersFunctionevaluateCondition
( path: TraversalPath<any, any, any>, condition: Condition, context?: QueryContext, )
packages/graph/src/Steps.ts:1019
↓ 10 callersFunctionexecuteQuery
(graph: Graph<typeof schema>, queryString: string)
packages/graph/src/test/distinct-aggregates.test.ts:39
↓ 10 callersFunctionexecuteQuery
(graph: Graph<GraphSchema>, queryString: string)
packages/graph/src/test/new-features.test.ts:73
↓ 10 callersFunctiongetQueryParams
()
packages/graph/src/Steps.ts:50
↓ 10 callersFunctionhandleAsyncCommand
( graph: Graph<TSchema>, command: AsyncCommand, )
packages/graph/src/AsyncGraph.ts:180
↓ 10 callersMethodintersect
* Intersect the edges in the traversal with another traversal. * @param other The other traversal to intersect with.
packages/graph/src/Traversals.ts:2151
↓ 10 callersMethodisUnique
* Check if a property has a unique index constraint. * @param label The element label. * @param property The property name. * @returns True i
packages/graph/src/indexes/IndexManager.ts:83
↓ 10 callersFunctionmakeType
(_defaultValue: T)
packages/graph/src/test/stringPredicateTraversals.test.ts:8
↓ 10 callersFunctionmakeType
(_defaultValue: T)
packages/graph/src/test/arithmetic.test.ts:11
↓ 10 callersMethodmatches
* Does the traverser emit values from the input paths? * @param source The graph source. * @param input The input paths to match. * @param co
packages/graph/src/Steps.ts:145
↓ 10 callersFunctionpeg$parseIS
()
packages/graph/src/grammar.js:15175
↓ 10 callersFunctionpeg$parseMutationClause
()
packages/graph/src/grammar.js:3144
↓ 10 callersFunctionpeg$parseOrCondition
()
packages/graph/src/grammar.js:8130
↓ 10 callersFunctionsetupOrderByGraph
()
packages/graph/src/test/orderByAndForeach.test.ts:83
↓ 9 callersMethodclear
* Clear all entries from the index.
packages/graph/src/indexes/types.ts:48
↓ 9 callersFunctioncompareValues
* Compare two values using the given operator. * Returns true if the comparison holds.
packages/graph/src/Steps.ts:2110
↓ 9 callersFunctioncreateTestSchema
()
packages/graph/src/test/AsyncGraph.test.ts:28
↓ 9 callersMethoddeleteEdge
* Delete an edge from the graph.
packages/graph/src/Graph.ts:216
↓ 9 callersMethoddirection
* Specify the direction of edge traversal. * @param direction The direction: "out", "in", or "both".
packages/graph/src/Traversals.ts:1759
↓ 9 callersMethodgetEdgeCollectionMap
(label: string)
packages/y-graph-storage/src/YGraphStorage.ts:54
↓ 9 callersMethodgetVertexCollectionMap
(label: string)
packages/y-graph-storage/src/YGraphStorage.ts:47
↓ 9 callersFunctionisAggregateFunction
(name: string)
packages/graph/src/FunctionRegistry.ts:1689
↓ 9 callersFunctionmakeType
(_defaultValue: T)
packages/graph/src/test/stringPredicatesAndReturnAll.test.ts:11
↓ 9 callersMethodmaxDepth
* Specify the maximum depth (number of hops) to search. * @param depth The maximum depth.
packages/graph/src/Traversals.ts:1767
↓ 9 callersFunctionpeg$parseBacktickIdentifier
()
packages/graph/src/grammar.js:17427
↓ 9 callersFunctionpeg$parseLabelIdentifier
()
packages/graph/src/grammar.js:17554
↓ 9 callersFunctionpeg$parseNOT
()
packages/graph/src/grammar.js:15101
↓ 9 callersFunctionpeg$parseWHERE
()
packages/graph/src/grammar.js:13917
↓ 9 callersFunctionpeg$parseWithClause
()
packages/graph/src/grammar.js:4433
↓ 8 callersMethod#compare
(a: number | string, b: number | string)
packages/graph/src/indexes/BTreeIndex.ts:53
↓ 8 callersMethod#findInsertionPoint
* Find the insertion point for a value using binary search.
packages/graph/src/indexes/BTreeIndex.ts:65
↓ 8 callersMethodcontaining
* Filter edges where the specified property contains the given value. * @param propertyName The name of the property to check. * @param value Th
packages/graph/src/Traversals.ts:2086
↓ 8 callersFunctionconvertPropertyMap
* Convert a property map, handling nested maps and parameter references. * Transforms NestedMap AST nodes into plain objects.
packages/graph/src/astToSteps.ts:581
↓ 8 callersFunctionextractTerms
(text: string, options: TokenizeOptions = {})
packages/text-search/src/tokenizer.ts:132
↓ 8 callersMethodfromMap
* Create a DateValue from a map of components.
packages/graph/src/TemporalTypes.ts:72
↓ 8 callersMethodgenerateElementId
* Generate a new unique identifier for an element.
packages/graph/src/Graph.ts:345
↓ 8 callersFunctionmakeType
(_defaultValue: T)
packages/graph/src/test/queryExecution.test.ts:11
↓ 8 callersFunctionmakeType
(_defaultValue: T)
packages/graph/src/test/backtickIdentifiers.test.ts:11
↓ 8 callersFunctionmakeType
(_defaultValue: T)
packages/graph/src/test/orderByAndForeach.test.ts:13
↓ 8 callersFunctionpeg$parseDeleteClause
()
packages/graph/src/grammar.js:3179
↓ 8 callersFunctionpeg$parseForeachClause
()
packages/graph/src/grammar.js:4163
↓ 8 callersFunctionpeg$parsePattern
()
packages/graph/src/grammar.js:6241
↓ 8 callersFunctionpeg$parseStringLiteral
()
packages/graph/src/grammar.js:16498
↓ 8 callersMethodrange
* Slice the edges in the traversal. * @param start The index to start slicing * @param end The index to end slicing
packages/graph/src/Traversals.ts:2199
↓ 8 callersFunctionstringifySteps
(steps: readonly Step<any>[])
packages/graph/src/Steps.ts:299
↓ 7 callersFunctionZodYArray
(schema: TItemType)
packages/y-graph-storage/src/ZodYTypes.ts:18
↓ 7 callersMethodgetIndexConfig
* Check if a property has an index defined in the schema. * @param label The element label. * @param property The property name. * @returns T
packages/graph/src/indexes/IndexManager.ts:44
↓ 7 callersMethodinV
* The vertex that the edge points to (target). * Named "inV" because this is the vertex the edge goes INTO.
packages/graph/src/Graph.ts:905
↓ 7 callersFunctionmakeType
(_defaultValue: T)
packages/graph/src/test/existsSubquery.test.ts:12
↓ 7 callersFunctionmakeType
(_defaultValue: T)
packages/graph/src/test/duplicateRemoval.test.ts:10
↓ 7 callersFunctionpeg$parseLiteral
()
packages/graph/src/grammar.js:16359
↓ 7 callersFunctionpeg$parseNULL
()
packages/graph/src/grammar.js:15212
↓ 7 callersFunctionpeg$parseRemoveClause
()
packages/graph/src/grammar.js:3295
↓ 7 callersMethodregister
* Register a procedure definition.
packages/graph/src/ProcedureRegistry.ts:92
↓ 7 callersFunctionsetupMultiLabelGraph
()
packages/graph/src/test/queryExecution.test.ts:256
↓ 7 callersMethodtoStringTokens
()
packages/graph/src/Steps.ts:7076
↓ 6 callersFunctionZodYMap
(schema: TValueType)
packages/y-graph-storage/src/ZodYTypes.ts:32
← previousnext →101–200 of 1,533, ranked by callers