Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codemix/graph
/ functions
Functions
1,533 in github.com/codemix/graph
⨍
Functions
1,533
◇
Types & classes
417
↓ 2 callers
Function
buildCondition
(parts: Condition[], type: string)
packages/graph/src/astToSteps.ts:1867
↓ 2 callers
Method
checkAllUniqueConstraints
* Check all unique constraints for an element's properties. * @param label The element label. * @param properties The properties to check. *
packages/graph/src/indexes/IndexManager.ts:237
↓ 2 callers
Method
computeAggregates
( paths: readonly TraversalPath<any, any, any>[], items: readonly WithItemConfig[], context?: Quer
packages/graph/src/Steps.ts:6899
↓ 2 callers
Function
containsVowel
* Check if stem contains a vowel
packages/text-search/src/stemmer.ts:51
↓ 2 callers
Function
convertCallClause
* Convert a CALL clause into a CallStep.
packages/graph/src/astToSteps.ts:995
↓ 2 callers
Function
convertDeleteClause
* Convert a DELETE clause into a DeleteStep.
packages/graph/src/astToSteps.ts:717
↓ 2 callers
Function
convertForeachClause
* Convert a FOREACH clause into a ForeachStep.
packages/graph/src/astToSteps.ts:1066
↓ 2 callers
Function
convertMultiPattern
* Convert a MultiPattern (comma-separated patterns like MATCH (a), (b)) into steps. * Creates a Cartesian product of all matching combinations. * *
packages/graph/src/astToSteps.ts:1530
↓ 2 callers
Function
convertRemoveClause
* Convert a REMOVE clause into a RemoveStep.
packages/graph/src/astToSteps.ts:727
↓ 2 callers
Function
convertSetClause
* Convert a SET clause into a SetStep. * Supports three types of assignments: * 1. Individual property: n.prop = value * 2. Replace all properties:
packages/graph/src/astToSteps.ts:527
↓ 2 callers
Function
convertSetMapValue
* Convert a SET map value (property map or parameter reference).
packages/graph/src/astToSteps.ts:561
↓ 2 callers
Function
convertUnwindClause
* Convert an UNWIND clause into an UnwindStep.
packages/graph/src/astToSteps.ts:907
↓ 2 callers
Function
convertWithClause
* Convert a WITH clause into a WithStep.
packages/graph/src/astToSteps.ts:798
↓ 2 callers
Function
createLazyPropertyDictionary
( schema: TSchema, map: Y.Map<unknown>, )
packages/y-graph-storage/src/LazyPropertyDictionary.ts:11
↓ 2 callers
Function
createManufacturingGraph
()
packages/graph/src/test/createManufacturingGraph.ts:18
↓ 2 callers
Function
createStepsFromJSON
(input: readonly StepJSON[])
packages/graph/src/Steps.ts:7489
↓ 2 callers
Method
divide
* Divide this duration by a scalar.
packages/graph/src/TemporalTypes.ts:1383
↓ 2 callers
Function
durationInDays
(start: TemporalValue, end: TemporalValue)
packages/graph/src/TemporalTypes.ts:1795
↓ 2 callers
Function
durationInMonths
(start: TemporalValue, end: TemporalValue)
packages/graph/src/TemporalTypes.ts:1767
↓ 2 callers
Function
durationInSeconds
(start: TemporalValue, end: TemporalValue)
packages/graph/src/TemporalTypes.ts:1814
↓ 2 callers
Function
endsWithCVC
* Check if stem ends with consonant-vowel-consonant pattern * where the final consonant is not w, x, or y
packages/text-search/src/stemmer.ts:70
↓ 2 callers
Function
evaluateQuantifier
* Evaluate a quantifier expression over a list.
packages/graph/src/Steps.ts:1995
↓ 2 callers
Function
evaluateReduce
* Evaluate a reduce expression over a list. * Folds the list into a single value using an accumulator.
packages/graph/src/Steps.ts:2070
↓ 2 callers
Function
extractPatternVariables
* Extract variable names bound by a pattern for OPTIONAL MATCH null bindings. * When skipAnchor is true, skips the first node if it's an anchor patte
packages/graph/src/astToSteps.ts:2952
↓ 2 callers
Method
get
* Look up a procedure by name (case-insensitive).
packages/graph/src/ProcedureRegistry.ts:100
↓ 2 callers
Method
getAll
* Get all the node in the path by label. * @param label The label to get the nodes by.
packages/graph/src/Traversals.ts:233
↓ 2 callers
Method
getBTreeIndex
(label: string, property: string)
packages/graph/src/indexes/IndexManager.ts:289
↓ 2 callers
Method
getEdgeProperties
(label: string, uuid: string, map: Y.Map<unknown>)
packages/y-graph-storage/src/YGraphStorage.ts:69
↓ 2 callers
Method
getFullTextIndex
(label: string, property: string)
packages/graph/src/indexes/IndexManager.ts:294
↓ 2 callers
Method
getNeighbors
* Get neighboring vertices based on direction.
packages/graph/src/Steps.ts:5302
↓ 2 callers
Method
getVertexProperties
(label: string, uuid: string, map: Y.Map<unknown>)
packages/y-graph-storage/src/YGraphStorage.ts:61
↓ 2 callers
Function
hasMeasureEqual1
* Check if the stem has measure = 1
packages/text-search/src/stemmer.ts:37
↓ 2 callers
Method
hasParam
* Check if a parameter exists. * @param name The parameter name (without $ prefix)
packages/graph/src/QueryContext.ts:97
↓ 2 callers
Method
isBuilt
* Check if an index has been built.
packages/graph/src/indexes/IndexManager.ts:324
↓ 2 callers
Function
isBuiltinFunction
(name: string)
packages/graph/src/FunctionRegistry.ts:1682
↓ 2 callers
Method
isNull
* Filter edges where the specified property is null or undefined. * @param propertyName The name of the property to check.
packages/graph/src/Traversals.ts:2017
↓ 2 callers
Function
jsonClone
* Serialize a value to JSON and back. Alias for JSON.parse(JSON.stringify(value)). * Used where we explicitly want JSON serialization behavior.
packages/graph/src/AsyncGraph.ts:11
↓ 2 callers
Method
length
* Return the number of edges/relationships in this path. * Mirrors Cypher's `length(path)`.
packages/graph/src/Traversals.ts:187
↓ 2 callers
Method
lookupGreaterThanOrEqual
* Find all elements with values greater than or equal to the given value. * O(log n + k) where k is the number of matches. * * @param value T
packages/graph/src/indexes/BTreeIndex.ts:246
↓ 2 callers
Method
lookupLessThanOrEqual
* Find all elements with values less than or equal to the given value. * O(log n + k) where k is the number of matches. * * @param value The
packages/graph/src/indexes/BTreeIndex.ts:190
↓ 2 callers
Method
lookupMany
* Look up element IDs matching any of the given values. * O(n) where n is the number of values. * * @param values Array of values to look up.
packages/graph/src/indexes/HashIndex.ts:86
↓ 2 callers
Function
makeIntegerType
* Creates a schema that parses string numbers to integers.
packages/graph/src/test/standardSchema.test.ts:57
↓ 2 callers
Function
makeType
(_defaultValue: T)
packages/graph/src/test/date-temporal.test.ts:21
↓ 2 callers
Function
makeType
(_defaultValue: T)
packages/graph/src/test/range-reverse.test.ts:22
↓ 2 callers
Function
makeType
(_defaultValue: T)
packages/graph/src/test/numericLiterals.test.ts:11
↓ 2 callers
Function
makeType
(_defaultValue: T)
packages/graph/src/test/duration-temporal.test.ts:27
↓ 2 callers
Function
matchWithDetails
* Internal function to perform matching with full details.
packages/text-search/src/matcher.ts:318
↓ 2 callers
Method
minus
* Subtract another duration from this duration.
packages/graph/src/TemporalTypes.ts:1359
↓ 2 callers
Method
onElementAdd
* Called when a new element is added to the graph. * Updates all built indexes for this element. * Note: This does NOT check unique constraints
packages/graph/src/indexes/IndexManager.ts:395
↓ 2 callers
Method
onElementRemove
* Called when an element is removed from the graph. * Updates all built indexes for this element.
packages/graph/src/indexes/IndexManager.ts:416
↓ 2 callers
Function
peg$buildStructuredError
(expected, found, location)
packages/graph/src/grammar.js:2496
↓ 2 callers
Function
peg$computePosDetails
(pos)
packages/graph/src/grammar.js:2420
↓ 2 callers
Function
peg$parseALLSHORTESTPATHS
()
packages/graph/src/grammar.js:15286
↓ 2 callers
Function
peg$parseASC
()
packages/graph/src/grammar.js:14583
↓ 2 callers
Function
peg$parseASCENDING
()
packages/graph/src/grammar.js:14620
↓ 2 callers
Function
peg$parseBacktickChar
()
packages/graph/src/grammar.js:17467
↓ 2 callers
Function
peg$parseBooleanLiteral
()
packages/graph/src/grammar.js:17321
↓ 2 callers
Function
peg$parseCaseElseClause
()
packages/graph/src/grammar.js:11331
↓ 2 callers
Function
peg$parseComment
()
packages/graph/src/grammar.js:18023
↓ 2 callers
Function
peg$parseCreateChainNode
()
packages/graph/src/grammar.js:3969
↓ 2 callers
Function
peg$parseCreateEdgeAndNode
()
packages/graph/src/grammar.js:3946
↓ 2 callers
Function
peg$parseDESC
()
packages/graph/src/grammar.js:14657
↓ 2 callers
Function
peg$parseDESCENDING
()
packages/graph/src/grammar.js:14694
↓ 2 callers
Function
peg$parseDoubleQuoteChar
()
packages/graph/src/grammar.js:16573
↓ 2 callers
Function
peg$parseELSE
()
packages/graph/src/grammar.js:15989
↓ 2 callers
Function
peg$parseEscapeSequence
()
packages/graph/src/grammar.js:16705
↓ 2 callers
Function
peg$parseFIRST
()
packages/graph/src/grammar.js:14768
↓ 2 callers
Function
peg$parseGROUP
()
packages/graph/src/grammar.js:14546
↓ 2 callers
Function
peg$parseLABELS
()
packages/graph/src/grammar.js:14398
↓ 2 callers
Function
peg$parseLAST
()
packages/graph/src/grammar.js:14805
↓ 2 callers
Function
peg$parseLIMIT
()
packages/graph/src/grammar.js:14916
↓ 2 callers
Function
peg$parseListComprehensionProjection
()
packages/graph/src/grammar.js:10892
↓ 2 callers
Function
peg$parseListComprehensionWhere
()
packages/graph/src/grammar.js:10869
↓ 2 callers
Function
peg$parseListLiteral
()
packages/graph/src/grammar.js:16376
↓ 2 callers
Function
peg$parseNestedPropertyMap
()
packages/graph/src/grammar.js:7189
↓ 2 callers
Function
peg$parseOFFSET
()
packages/graph/src/grammar.js:14879
↓ 2 callers
Function
peg$parseORDER
()
packages/graph/src/grammar.js:14472
↓ 2 callers
Function
peg$parsePERCENTILECONT
()
packages/graph/src/grammar.js:14361
↓ 2 callers
Function
peg$parsePERCENTILEDISC
()
packages/graph/src/grammar.js:14324
↓ 2 callers
Function
peg$parseParenthesizedPathPattern
()
packages/graph/src/grammar.js:6331
↓ 2 callers
Function
peg$parsePatternElementTail
()
packages/graph/src/grammar.js:6278
↓ 2 callers
Function
peg$parsePostfixOperator
()
packages/graph/src/grammar.js:9713
↓ 2 callers
Function
peg$parseQuantifierExpression
()
packages/graph/src/grammar.js:9975
↓ 2 callers
Function
peg$parseQuerySegment
()
packages/graph/src/grammar.js:2819
↓ 2 callers
Function
peg$parseREDUCE
()
packages/graph/src/grammar.js:16248
↓ 2 callers
Function
peg$parseReturnClause
()
packages/graph/src/grammar.js:11883
↓ 2 callers
Function
peg$parseSHORTESTPATH
()
packages/graph/src/grammar.js:15249
↓ 2 callers
Function
peg$parseSKIP
()
packages/graph/src/grammar.js:14842
↓ 2 callers
Function
peg$parseSTDEV
()
packages/graph/src/grammar.js:14250
↓ 2 callers
Function
peg$parseSTDEVP
()
packages/graph/src/grammar.js:14287
↓ 2 callers
Function
peg$parseSearchedCaseAlternative
()
packages/graph/src/grammar.js:11293
↓ 2 callers
Function
peg$parseSetMapValue
()
packages/graph/src/grammar.js:5667
↓ 2 callers
Function
peg$parseShortestPathFunction
()
packages/graph/src/grammar.js:6013
↓ 2 callers
Function
peg$parseSimpleCaseAlternative
()
packages/graph/src/grammar.js:11255
↓ 2 callers
Function
peg$parseSingleQuoteChar
()
packages/graph/src/grammar.js:16639
↓ 2 callers
Function
peg$parseSliceIndex
()
packages/graph/src/grammar.js:9690
↓ 2 callers
Function
peg$parseTYPE
()
packages/graph/src/grammar.js:14435
↓ 2 callers
Function
peg$parseUnaryExpression
()
packages/graph/src/grammar.js:9636
↓ 2 callers
Function
peg$parseUnionKeyword
()
packages/graph/src/grammar.js:2715
↓ 2 callers
Function
peg$parseWhereClause
()
packages/graph/src/grammar.js:8106
← previous
next →
401–500 of 1,533, ranked by callers