MCPcopy Create free account

hub / github.com/codemix/graph / functions

Functions1,533 in github.com/codemix/graph

↓ 6 callersMethodboth
* Get the vertices that are connected to the vertices by both incoming and outgoing edges. * @param edgeLabels The labels of the edges to get. If n
packages/graph/src/Traversals.ts:657
↓ 6 callersFunctionconvertPattern
* Convert a pattern into a sequence of steps. * Handles node patterns, edge patterns, and variable-length paths. * * @param pattern The pattern to
packages/graph/src/astToSteps.ts:1377
↓ 6 callersFunctioncreateTestGraph
()
packages/graph/src/test/range-reverse.test.ts:46
↓ 6 callersFunctionexecuteQuery
(graph: Graph<GraphSchema>, queryString: string)
packages/graph/src/test/range-reverse.test.ts:51
↓ 6 callersFunctionfunctionArgExpectsPath
(name: string, argIndex: number)
packages/graph/src/FunctionRegistry.ts:1698
↓ 6 callersFunctiongetId
(value: Record<string, unknown>)
packages/graph/src/test/tck/tckHelpers.ts:1137
↓ 6 callersMethodgetIndex
* Get or create an index for a property. * Returns undefined if no index is configured for this property. * Note: This creates the index structu
packages/graph/src/indexes/IndexManager.ts:259
↓ 6 callersMethodgetParam
* Get a specific parameter value. * @param name The parameter name (without $ prefix)
packages/graph/src/QueryContext.ts:89
↓ 6 callersMethodgetVertexMap
(vertexId: ElementId)
packages/y-graph-storage/src/YGraphStorage.ts:384
↓ 6 callersMethodlookupGreaterThan
* Find all elements with values greater than the given value. * O(log n + k) where k is the number of matches. * * @param value The lower bou
packages/graph/src/indexes/BTreeIndex.ts:218
↓ 6 callersFunctionmakeType
(_defaultValue: T)
packages/graph/src/test/stringConcatenation.test.ts:11
↓ 6 callersFunctionmakeType
(_defaultValue: T)
packages/graph/src/test/reduceExpression.test.ts:12
↓ 6 callersFunctionmakeType
(_defaultValue: T)
packages/graph/src/test/new-features.test.ts:12
↓ 6 callersFunctionmakeType
(_defaultValue: T)
packages/graph/src/test/patternComprehension.test.ts:12
↓ 6 callersFunctionpeg$parseAND
()
packages/graph/src/grammar.js:14953
↓ 6 callersFunctionpeg$parseCOUNT
()
packages/graph/src/grammar.js:14028
↓ 6 callersFunctionpeg$parseCallClause
()
packages/graph/src/grammar.js:5126
↓ 6 callersFunctionpeg$parseDELETE
()
packages/graph/src/grammar.js:15582
↓ 6 callersFunctionpeg$parseEXISTS
()
packages/graph/src/grammar.js:15064
↓ 6 callersFunctionpeg$parseNullLiteral
()
packages/graph/src/grammar.js:17390
↓ 6 callersFunctionpeg$parseOR
()
packages/graph/src/grammar.js:14990
↓ 6 callersFunctionpeg$parseProcedureIdentifier
()
packages/graph/src/grammar.js:5248
↓ 6 callersFunctionpeg$parsePropertyEntry
()
packages/graph/src/grammar.js:7311
↓ 6 callersFunctionpeg$parseSET
()
packages/graph/src/grammar.js:15508
↓ 6 callersFunctionpeg$parseSetClause
()
packages/graph/src/grammar.js:3155
↓ 6 callersFunctionpeg$parseXOR
()
packages/graph/src/grammar.js:15027
↓ 5 callersFunctionexecuteQuery
(graph: Graph<GraphSchema>, queryString: string)
packages/graph/src/test/count-support.test.ts:24
↓ 5 callersMethodgetHashIndex
* Get a typed index (HashIndex, BTreeIndex, or FullTextIndex).
packages/graph/src/indexes/IndexManager.ts:284
↓ 5 callersMethodgetUniqueProperties
* Get all unique index configurations for a label. * @param label The element label. * @returns Array of property names that have unique constra
packages/graph/src/indexes/IndexManager.ts:98
↓ 5 callersMethodhas
* Check if a procedure exists.
packages/graph/src/ProcedureRegistry.ts:107
↓ 5 callersMethodinstantiateEdge
* Instantiate an edge from a stored edge. * @param storedEdge The stored edge. * @returns The instantiated edge.
packages/graph/src/Graph.ts:394
↓ 5 callersFunctionisLegacyFunctionExpression
* Helper to check if an expression is a function call to labels() or type()
packages/graph/src/astToSteps.ts:2537
↓ 5 callersFunctionmakeType
(_defaultValue: T)
packages/graph/src/getDemoGraph.ts:6
↓ 5 callersFunctionmakeType
(_defaultValue: T)
packages/graph/src/test/multihop-integration.test.ts:11
↓ 5 callersFunctionmakeType
(_defaultValue: T)
packages/graph/src/test/pathFunctions.test.ts:11
↓ 5 callersFunctionmakeType
(_defaultValue: T)
packages/graph/src/test/caseExpression.test.ts:10
↓ 5 callersFunctionnextRandom
()
packages/text-search/src/performance.test.ts:295
↓ 5 callersFunctionparseProperties
( label: string, properties: T, schemaProperties: ElementSchema["properties"] | undefined, )
packages/graph/src/Graph.ts:92
↓ 5 callersFunctionpeg$computeLocation
(startPos, endPos, offset)
packages/graph/src/grammar.js:2457
↓ 5 callersFunctionpeg$parseLabelOrExpression
()
packages/graph/src/grammar.js:6608
↓ 5 callersFunctionpeg$parseMATCH
()
packages/graph/src/grammar.js:13880
↓ 5 callersFunctionpeg$parseParameterRef
()
packages/graph/src/grammar.js:5733
↓ 5 callersFunctionpeg$parseWITH
()
packages/graph/src/grammar.js:15397
↓ 5 callersMethodsearch
* Perform a full-text search with relevance scoring. * Returns results sorted by score descending. * * @param query The search query. * @p
packages/graph/src/indexes/FullTextIndex.ts:112
↓ 5 callersMethodupdateShortestPathStep
* Helper method to find and update the ShortestPathStep with new config.
packages/graph/src/Traversals.ts:1786
↓ 5 callersMethodvalue
* The value in the path.
packages/graph/src/Traversals.ts:83
↓ 4 callersFunctionbuildPositionMap
(tokens: Token[])
packages/text-search/src/tokenizer.ts:156
↓ 4 callersFunctionbuildTermFrequency
(tokens: Token[])
packages/text-search/src/tokenizer.ts:142
↓ 4 callersFunctionconvertLabelExpression
* Convert a LabelExpression AST node to a StepCondition. * Supports: LabelName, LabelOr, LabelAnd, LabelNot, LabelWildcard
packages/graph/src/astToSteps.ts:1983
↓ 4 callersFunctionconvertSetValue
* Convert a SetValue AST node to a SetAssignmentValue.
packages/graph/src/astToSteps.ts:1015
↓ 4 callersFunctioncreateDetailedMatcher
( query: string, options: MatcherOptions = {}, )
packages/text-search/src/matcher.ts:289
↓ 4 callersFunctioncreateGraph
()
packages/graph/src/test/stringConcatenation.test.ts:39
↓ 4 callersFunctioncreateGraph
()
packages/graph/src/test/arithmetic.test.ts:55
↓ 4 callersFunctioncreateGraph
(doc = new Y.Doc())
packages/y-graph-storage/src/YGraphStorage.test.ts:32
↓ 4 callersMethodensureUniqueIndexesBuilt
* Ensure all unique indexes for a label are built. * This should be called before adding elements to ensure constraint checking works. * * @p
packages/graph/src/indexes/IndexManager.ts:515
↓ 4 callersFunctiongenerateCompactSchemaGuide
(schema: TSchema)
packages/graph/src/generateSchemaGuide.ts:810
↓ 4 callersFunctiongenerateDocumentWithKeywords
* Generate a document with specific keywords embedded.
packages/text-search/src/performance.test.ts:334
↓ 4 callersMethodhasIn
* Filter edges which have a property value in the specified list. * @param propertyName The name of the property to filter by. * @param values T
packages/graph/src/Traversals.ts:2000
↓ 4 callersMethodhasIndexOfType
* Check if a property has an index of a specific type. * @param label The element label. * @param property The property name. * @param type T
packages/graph/src/indexes/IndexManager.ts:72
↓ 4 callersFunctionhasMeasureGreaterThan1
* Check if the stem has measure > 1
packages/text-search/src/stemmer.ts:44
↓ 4 callersMethodisTarget
* Check if a vertex matches the target criteria.
packages/graph/src/Steps.ts:5334
↓ 4 callersMethodlookupLessThan
* Find all elements with values less than the given value. * O(log n + k) where k is the number of matches. * * @param value The upper bound
packages/graph/src/indexes/BTreeIndex.ts:172
↓ 4 callersFunctionmakeInternalKey
(key: string)
packages/y-graph-storage/src/YGraphStorage.ts:20
↓ 4 callersFunctionmakeType
(_defaultValue: T)
packages/graph/src/test/quantifierExpression.test.ts:12
↓ 4 callersFunctionmakeType
(_defaultValue: T)
packages/graph/src/test/dynamicPropertyAccess.test.ts:12
↓ 4 callersFunctionmakeType
(_defaultValue: T)
packages/graph/src/test/keywordAsIdentifier.test.ts:11
↓ 4 callersFunctionmakeType
* Tests for IS LABELED Predicate * * Syntax: variable IS :Label or variable IS :LabelExpression * * Supports: * - n IS :Person - true if n has th
packages/graph/src/test/isLabeled.test.ts:24
↓ 4 callersFunctionmakeType
(_defaultValue: T)
packages/graph/src/test/ShortestPath.test.ts:482
↓ 4 callersFunctionmakeType
(_defaultValue: T)
packages/graph/src/test/listComprehension.test.ts:12
↓ 4 callersFunctionmakeType
* Tests for Advanced Label Expressions * * Supports: * - :A|B (OR) - matches nodes with label A or B * - :A&B (AND) - matches nodes with label A a
packages/graph/src/test/labelExpressions.test.ts:23
↓ 4 callersFunctionmakeType
(_defaultValue: T)
packages/graph/src/test/listOperations.test.ts:12
↓ 4 callersMethodmatchesProperties
( element: Vertex<any, any> | Edge<any, any>, properties: Record<string, any>, context?: QueryCont
packages/graph/src/Steps.ts:6549
↓ 4 callersMethodnot
* Negate the condition on the last filter step. * Note: This only works if the last step is a FilterElementsStep.
packages/graph/src/Traversals.ts:2121
↓ 4 callersFunctionpeg$parseALL
()
packages/graph/src/grammar.js:16100
↓ 4 callersFunctionpeg$parseAVG
()
packages/graph/src/grammar.js:14102
↓ 4 callersFunctionpeg$parseCOLLECT
()
packages/graph/src/grammar.js:14213
↓ 4 callersFunctionpeg$parseCREATE
()
packages/graph/src/grammar.js:15545
↓ 4 callersFunctionpeg$parseDeleteVariableList
()
packages/graph/src/grammar.js:3229
↓ 4 callersFunctionpeg$parseFunctionCallExpression
()
packages/graph/src/grammar.js:11354
↓ 4 callersFunctionpeg$parseMAX
()
packages/graph/src/grammar.js:14176
↓ 4 callersFunctionpeg$parseMIN
()
packages/graph/src/grammar.js:14139
↓ 4 callersFunctionpeg$parseNodeLabels
()
packages/graph/src/grammar.js:6496
↓ 4 callersFunctionpeg$parseNodePattern
()
packages/graph/src/grammar.js:6447
↓ 4 callersFunctionpeg$parseNodePatternBody
()
packages/graph/src/grammar.js:6218
↓ 4 callersFunctionpeg$parseNonEmptyQuery
()
packages/graph/src/grammar.js:2650
↓ 4 callersFunctionpeg$parsePrimaryCondition
()
packages/graph/src/grammar.js:8292
↓ 4 callersFunctionpeg$parseQuantifier
()
packages/graph/src/grammar.js:7743
↓ 4 callersFunctionpeg$parseRETURN
()
packages/graph/src/grammar.js:13954
↓ 4 callersFunctionpeg$parseSUM
()
packages/graph/src/grammar.js:14065
↓ 4 callersFunctionpeg$parseSetAssignmentList
()
packages/graph/src/grammar.js:5485
↓ 4 callersFunctionpeg$parseUnwindClause
()
packages/graph/src/grammar.js:4990
↓ 4 callersMethodsearchContains
* Find documents where the text contains the given substring. * No relevance scoring - returns all matches. * * @param substring The substrin
packages/graph/src/indexes/FullTextIndex.ts:174
↓ 4 callersMethodstatistics
* Get statistics about the index.
packages/graph/src/indexes/types.ts:53
↓ 4 callersMethodtoJSON
()
packages/graph/src/Graph.ts:925
↓ 4 callersMethodtransact
(callback: (tx: Y.Transaction) => void)
packages/y-graph-storage/src/YGraphStorage.ts:416
↓ 4 callersMethodupdate
* Update a value in the index. * @param elementId The ID of the element. * @param oldValue The old property value. * @param newValue The new
packages/graph/src/indexes/types.ts:43
↓ 3 callersMethod#extractLabels
(item: unknown, variable: string)
packages/graph/src/Steps.ts:3114
↓ 3 callersMethod#safeStringify
* Safely stringify a value, handling circular references and other edge cases.
packages/graph/src/Steps.ts:3105
↓ 3 callersFunctionaddMonthsToDate
* Add months to a date with proper month-end handling. * If the original day exceeds the days in the target month, clamp to the last day. * For exam
packages/graph/src/TemporalTypes.ts:1428
↓ 3 callersFunctionappendOrderDirection
( steps: readonly Step<any>[], orderDirection: { key?: string; direction: OrderDirection; }, )
packages/graph/src/Traversals.ts:1470
← previousnext →201–300 of 1,533, ranked by callers