MCPcopy Create free account

hub / github.com/codemix/graph / functions

Functions1,533 in github.com/codemix/graph

↓ 3 callersFunctionbuildBinaryCondition
(head, tail, operator)
packages/graph/src/grammar.js:18227
↓ 3 callersMethodcheckUniqueConstraint
* Check if adding/updating a value would violate a unique constraint. * Throws UniqueConstraintViolationError if it would. * * @param label T
packages/graph/src/indexes/IndexManager.ts:189
↓ 3 callersMethodcompareTo
* Compare two dates for sorting. * Returns negative if this < other, positive if this > other, 0 if equal.
packages/graph/src/TemporalTypes.ts:176
↓ 3 callersFunctionconvertCreateClause
* Convert a CREATE clause into a CreateStep. * Handles both simple node patterns and chain patterns (with relationships). * * Chain patterns like:
packages/graph/src/astToSteps.ts:633
↓ 3 callersFunctionconvertMergeClause
* Convert a MERGE clause into a MergeStep.
packages/graph/src/astToSteps.ts:750
↓ 3 callersFunctionconvertShortestPathPattern
* Convert a ShortestPathPattern into a sequence of steps. * Uses ShortestPathStep with BFS/Dijkstra algorithm. * * TODO: The pattern.all field (for
packages/graph/src/astToSteps.ts:1175
↓ 3 callersFunctioncreateGraph
()
packages/graph/src/test/count-star.test.ts:17
↓ 3 callersFunctioncreateTestGraph
()
packages/graph/src/test/multihop-integration.test.ts:23
↓ 3 callersFunctioncreateUserPostGraph
()
packages/graph/src/test/testHelpers.ts:139
↓ 3 callersFunctioncreateWeightedEdgeGraph
()
packages/graph/src/test/EdgeTraversal.test.ts:41
↓ 3 callersFunctiondefaultIdGenerator
()
packages/graph/src/Graph.ts:287
↓ 3 callersFunctiondurationBetween
(start: TemporalValue, end: TemporalValue)
packages/graph/src/TemporalTypes.ts:1637
↓ 3 callersFunctionexecuteQuery
(graph: Graph<typeof schema>, queryString: string)
packages/graph/src/test/count-star.test.ts:25
↓ 3 callersMethodfindByUniqueProperties
* Find an element by its unique properties. * This is used by MERGE operations to find existing elements. * * @param label The element label.
packages/graph/src/indexes/IndexManager.ts:534
↓ 3 callersFunctiongetCurrentGraphSource
()
packages/graph/src/Steps.ts:76
↓ 3 callersMethodgetEdgeById
(id: ElementId)
packages/y-graph-storage/src/YGraphStorage.ts:129
↓ 3 callersFunctiongetEdges
(pattern: Pattern)
packages/graph/src/test/backtickIdentifiers.test.ts:27
↓ 3 callersMethodgetVertexById
( id: ElementId, options?: { throwIfNotFound?: boolean }, )
packages/graph/src/Graph.ts:419
↓ 3 callersFunctionhasMeasureGreaterThan0
* Check if the stem has measure > 0
packages/text-search/src/stemmer.ts:30
↓ 3 callersMethodinstantiateVertex
* Instantiate a vertex from a stored vertex. * @param storedVertex The stored vertex. * @returns The instantiated vertex.
packages/graph/src/Graph.ts:377
↓ 3 callersFunctionisBuiltinProcedure
(name: string)
packages/graph/src/ProcedureRegistry.ts:415
↓ 3 callersFunctionisNumericConvertible
* Checks if a value can be safely converted to a finite number. * Returns false for NaN, Infinity, and non-numeric strings.
packages/graph/src/Comparator.ts:7
↓ 3 callersFunctionisPlainObject
(value: unknown)
packages/graph/src/Comparator.ts:183
↓ 3 callersMethodlookupRange
* Find all elements with values in the given range. * O(log n + k) where k is the number of matches. * * @param min The lower bound. * @pa
packages/graph/src/indexes/BTreeIndex.ts:267
↓ 3 callersMethodlookupUnique
* Look up an element by a unique property value. * Returns the element ID if found, undefined otherwise. * Automatically builds the index if not
packages/graph/src/indexes/IndexManager.ts:141
↓ 3 callersFunctionmakeStrictType
( typeChecker: (value: unknown) => boolean, typeName: string, )
packages/graph/src/test/Graph.test.ts:758
↓ 3 callersFunctionmakeTrimType
* Creates a schema that trims whitespace from strings.
packages/graph/src/test/standardSchema.test.ts:37
↓ 3 callersFunctionmakeType
(_defaultValue: T)
packages/graph/src/test/count-support.test.ts:12
↓ 3 callersFunctionmakeType
(_defaultValue: T)
packages/graph/src/test/EdgeTraversal.test.ts:9
↓ 3 callersFunctionmakeType
(_defaultValue: T)
packages/graph/src/test/functionInvocation.test.ts:19
↓ 3 callersMethodmultiply
* Multiply this duration by a scalar.
packages/graph/src/TemporalTypes.ts:1371
↓ 3 callersMethodnegate
* Negate this duration.
packages/graph/src/TemporalTypes.ts:1396
↓ 3 callersMethodnodes
(propertyName?: string)
packages/graph/src/Traversals.ts:149
↓ 3 callersMethodoffset
()
packages/graph/src/TemporalTypes.ts:413
↓ 3 callersMethodotherV
* Get the other vertex of the edge.
packages/graph/src/Traversals.ts:1862
↓ 3 callersFunctionpeg$parseANY
()
packages/graph/src/grammar.js:16137
↓ 3 callersFunctionpeg$parseAndCondition
()
packages/graph/src/grammar.js:8238
↓ 3 callersFunctionpeg$parseBY
()
packages/graph/src/grammar.js:14509
↓ 3 callersFunctionpeg$parseBooleanAndExpression
()
packages/graph/src/grammar.js:9238
↓ 3 callersFunctionpeg$parseBooleanNotExpression
()
packages/graph/src/grammar.js:9292
↓ 3 callersFunctionpeg$parseBooleanOrExpression
()
packages/graph/src/grammar.js:9130
↓ 3 callersFunctionpeg$parseBooleanXorExpression
()
packages/graph/src/grammar.js:9184
↓ 3 callersFunctionpeg$parseCALL
()
packages/graph/src/grammar.js:16285
↓ 3 callersFunctionpeg$parseCASE
()
packages/graph/src/grammar.js:15878
↓ 3 callersFunctionpeg$parseCONTAINS
()
packages/graph/src/grammar.js:15434
↓ 3 callersFunctionpeg$parseComparisonOperator
()
packages/graph/src/grammar.js:11773
↓ 3 callersFunctionpeg$parseCreatePattern
()
packages/graph/src/grammar.js:3854
↓ 3 callersFunctionpeg$parseDETACH
()
packages/graph/src/grammar.js:15619
↓ 3 callersFunctionpeg$parseEND
()
packages/graph/src/grammar.js:16026
↓ 3 callersFunctionpeg$parseENDS
()
packages/graph/src/grammar.js:15360
↓ 3 callersFunctionpeg$parseEdgeAndNodePattern
()
packages/graph/src/grammar.js:6298
↓ 3 callersFunctionpeg$parseEdgeLabels
()
packages/graph/src/grammar.js:7521
↓ 3 callersFunctionpeg$parseEdgePattern
()
packages/graph/src/grammar.js:7358
↓ 3 callersFunctionpeg$parseEdgeVariable
()
packages/graph/src/grammar.js:7726
↓ 3 callersFunctionpeg$parseFOREACH
()
packages/graph/src/grammar.js:15471
↓ 3 callersFunctionpeg$parseForeachOperation
()
packages/graph/src/grammar.js:4348
↓ 3 callersFunctionpeg$parseGroupByItem
()
packages/graph/src/grammar.js:13743
↓ 3 callersFunctionpeg$parseLabelAndExpression
()
packages/graph/src/grammar.js:6674
↓ 3 callersFunctionpeg$parseLabelNotExpression
()
packages/graph/src/grammar.js:6740
↓ 3 callersFunctionpeg$parseLimitClause
()
packages/graph/src/grammar.js:13857
↓ 3 callersFunctionpeg$parseListLiteralExpr
()
packages/graph/src/grammar.js:10391
↓ 3 callersFunctionpeg$parseMERGE
()
packages/graph/src/grammar.js:15693
↓ 3 callersFunctionpeg$parseMapLiteralEntry
()
packages/graph/src/grammar.js:10641
↓ 3 callersFunctionpeg$parseMapProjectionSelector
()
packages/graph/src/grammar.js:11034
↓ 3 callersFunctionpeg$parseMatchClauseWithWhere
()
packages/graph/src/grammar.js:4141
↓ 3 callersFunctionpeg$parseMultiplicativeExpression
()
packages/graph/src/grammar.js:9531
↓ 3 callersFunctionpeg$parseNONE
()
packages/graph/src/grammar.js:16174
↓ 3 callersFunctionpeg$parseNULLS
()
packages/graph/src/grammar.js:14731
↓ 3 callersFunctionpeg$parseNonEmptyCypherStatement
()
packages/graph/src/grammar.js:2584
↓ 3 callersFunctionpeg$parseNumberLiteral
()
packages/graph/src/grammar.js:16800
↓ 3 callersFunctionpeg$parseON
()
packages/graph/src/grammar.js:15730
↓ 3 callersFunctionpeg$parseOPTIONAL
()
packages/graph/src/grammar.js:15804
↓ 3 callersFunctionpeg$parseOrderByClause
()
packages/graph/src/grammar.js:13441
↓ 3 callersFunctionpeg$parseOrderItem
()
packages/graph/src/grammar.js:13538
↓ 3 callersFunctionpeg$parsePostfixExpression
()
packages/graph/src/grammar.js:9668
↓ 3 callersFunctionpeg$parsePowerExpression
()
packages/graph/src/grammar.js:9597
↓ 3 callersFunctionpeg$parsePropertyListElement
()
packages/graph/src/grammar.js:7178
↓ 3 callersFunctionpeg$parsePropertyListLiteral
()
packages/graph/src/grammar.js:7056
↓ 3 callersFunctionpeg$parseREMOVE
()
packages/graph/src/grammar.js:15656
↓ 3 callersFunctionpeg$parseRemoveItem
()
packages/graph/src/grammar.js:3385
↓ 3 callersFunctionpeg$parseReturnItem
()
packages/graph/src/grammar.js:12008
↓ 3 callersFunctionpeg$parseSINGLE
()
packages/graph/src/grammar.js:16211
↓ 3 callersFunctionpeg$parseSTARTS
()
packages/graph/src/grammar.js:15323
↓ 3 callersFunctionpeg$parseSetAssignment
()
packages/graph/src/grammar.js:5551
↓ 3 callersFunctionpeg$parseSimpleFunctionName
()
packages/graph/src/grammar.js:11512
↓ 3 callersFunctionpeg$parseSkipClause
()
packages/graph/src/grammar.js:13830
↓ 3 callersFunctionpeg$parseTHEN
()
packages/graph/src/grammar.js:15952
↓ 3 callersFunctionpeg$parseUNION
()
packages/graph/src/grammar.js:16063
↓ 3 callersFunctionpeg$parseUNWIND
()
packages/graph/src/grammar.js:15841
↓ 3 callersFunctionpeg$parseWHEN
()
packages/graph/src/grammar.js:15915
↓ 3 callersFunctionpeg$parseWithItem
()
packages/graph/src/grammar.js:4545
↓ 3 callersFunctionpeg$parseXorCondition
()
packages/graph/src/grammar.js:8184
↓ 3 callersFunctionpeg$parseYieldItem
()
packages/graph/src/grammar.js:5446
↓ 3 callersMethodrelationships
(propertyName?: string)
packages/graph/src/Traversals.ts:172
↓ 3 callersFunctionrunQuery
(name: string)
packages/graph/src/test/QueryContext.test.ts:114
↓ 3 callersFunctionselectBestIndexHint
( hints: IndexHint[], hasIndex: (property: string, type: IndexConfig["type"]) => boolean, )
packages/graph/src/indexes/QueryPlanner.ts:172
↓ 3 callersMethodsubscribe
* Subscribe to changes to the graph. * @param observer The observer to subscribe to. * @returns A function to unsubscribe from the changes.
packages/y-graph-storage/src/YGraph.ts:57
↓ 3 callersFunctionsubtractDuration
( temporal: TemporalValue, duration: DurationValue, )
packages/graph/src/TemporalTypes.ts:1627
↓ 2 callersMethod#normalizeValue
* Normalize value for consistent JSON.stringify behavior. * Converts undefined to null for consistent serialization.
packages/graph/src/Steps.ts:3095
↓ 2 callersMethodbothE
* Get the edges that are connected to the vertices by both incoming and outgoing edges. * @param edgeLabels The labels of the edges to get. If no l
packages/graph/src/Traversals.ts:712
← previousnext →301–400 of 1,533, ranked by callers