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
↓ 6 callers
Method
both
* 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 callers
Function
convertPattern
* 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 callers
Function
createTestGraph
()
packages/graph/src/test/range-reverse.test.ts:46
↓ 6 callers
Function
executeQuery
(graph: Graph<GraphSchema>, queryString: string)
packages/graph/src/test/range-reverse.test.ts:51
↓ 6 callers
Function
functionArgExpectsPath
(name: string, argIndex: number)
packages/graph/src/FunctionRegistry.ts:1698
↓ 6 callers
Function
getId
(value: Record<string, unknown>)
packages/graph/src/test/tck/tckHelpers.ts:1137
↓ 6 callers
Method
getIndex
* 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 callers
Method
getParam
* Get a specific parameter value. * @param name The parameter name (without $ prefix)
packages/graph/src/QueryContext.ts:89
↓ 6 callers
Method
getVertexMap
(vertexId: ElementId)
packages/y-graph-storage/src/YGraphStorage.ts:384
↓ 6 callers
Method
lookupGreaterThan
* 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 callers
Function
makeType
(_defaultValue: T)
packages/graph/src/test/stringConcatenation.test.ts:11
↓ 6 callers
Function
makeType
(_defaultValue: T)
packages/graph/src/test/reduceExpression.test.ts:12
↓ 6 callers
Function
makeType
(_defaultValue: T)
packages/graph/src/test/new-features.test.ts:12
↓ 6 callers
Function
makeType
(_defaultValue: T)
packages/graph/src/test/patternComprehension.test.ts:12
↓ 6 callers
Function
peg$parseAND
()
packages/graph/src/grammar.js:14953
↓ 6 callers
Function
peg$parseCOUNT
()
packages/graph/src/grammar.js:14028
↓ 6 callers
Function
peg$parseCallClause
()
packages/graph/src/grammar.js:5126
↓ 6 callers
Function
peg$parseDELETE
()
packages/graph/src/grammar.js:15582
↓ 6 callers
Function
peg$parseEXISTS
()
packages/graph/src/grammar.js:15064
↓ 6 callers
Function
peg$parseNullLiteral
()
packages/graph/src/grammar.js:17390
↓ 6 callers
Function
peg$parseOR
()
packages/graph/src/grammar.js:14990
↓ 6 callers
Function
peg$parseProcedureIdentifier
()
packages/graph/src/grammar.js:5248
↓ 6 callers
Function
peg$parsePropertyEntry
()
packages/graph/src/grammar.js:7311
↓ 6 callers
Function
peg$parseSET
()
packages/graph/src/grammar.js:15508
↓ 6 callers
Function
peg$parseSetClause
()
packages/graph/src/grammar.js:3155
↓ 6 callers
Function
peg$parseXOR
()
packages/graph/src/grammar.js:15027
↓ 5 callers
Function
executeQuery
(graph: Graph<GraphSchema>, queryString: string)
packages/graph/src/test/count-support.test.ts:24
↓ 5 callers
Method
getHashIndex
* Get a typed index (HashIndex, BTreeIndex, or FullTextIndex).
packages/graph/src/indexes/IndexManager.ts:284
↓ 5 callers
Method
getUniqueProperties
* 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 callers
Method
has
* Check if a procedure exists.
packages/graph/src/ProcedureRegistry.ts:107
↓ 5 callers
Method
instantiateEdge
* Instantiate an edge from a stored edge. * @param storedEdge The stored edge. * @returns The instantiated edge.
packages/graph/src/Graph.ts:394
↓ 5 callers
Function
isLegacyFunctionExpression
* Helper to check if an expression is a function call to labels() or type()
packages/graph/src/astToSteps.ts:2537
↓ 5 callers
Function
makeType
(_defaultValue: T)
packages/graph/src/getDemoGraph.ts:6
↓ 5 callers
Function
makeType
(_defaultValue: T)
packages/graph/src/test/multihop-integration.test.ts:11
↓ 5 callers
Function
makeType
(_defaultValue: T)
packages/graph/src/test/pathFunctions.test.ts:11
↓ 5 callers
Function
makeType
(_defaultValue: T)
packages/graph/src/test/caseExpression.test.ts:10
↓ 5 callers
Function
nextRandom
()
packages/text-search/src/performance.test.ts:295
↓ 5 callers
Function
parseProperties
( label: string, properties: T, schemaProperties: ElementSchema["properties"] | undefined, )
packages/graph/src/Graph.ts:92
↓ 5 callers
Function
peg$computeLocation
(startPos, endPos, offset)
packages/graph/src/grammar.js:2457
↓ 5 callers
Function
peg$parseLabelOrExpression
()
packages/graph/src/grammar.js:6608
↓ 5 callers
Function
peg$parseMATCH
()
packages/graph/src/grammar.js:13880
↓ 5 callers
Function
peg$parseParameterRef
()
packages/graph/src/grammar.js:5733
↓ 5 callers
Function
peg$parseWITH
()
packages/graph/src/grammar.js:15397
↓ 5 callers
Method
search
* 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 callers
Method
updateShortestPathStep
* Helper method to find and update the ShortestPathStep with new config.
packages/graph/src/Traversals.ts:1786
↓ 5 callers
Method
value
* The value in the path.
packages/graph/src/Traversals.ts:83
↓ 4 callers
Function
buildPositionMap
(tokens: Token[])
packages/text-search/src/tokenizer.ts:156
↓ 4 callers
Function
buildTermFrequency
(tokens: Token[])
packages/text-search/src/tokenizer.ts:142
↓ 4 callers
Function
convertLabelExpression
* Convert a LabelExpression AST node to a StepCondition. * Supports: LabelName, LabelOr, LabelAnd, LabelNot, LabelWildcard
packages/graph/src/astToSteps.ts:1983
↓ 4 callers
Function
convertSetValue
* Convert a SetValue AST node to a SetAssignmentValue.
packages/graph/src/astToSteps.ts:1015
↓ 4 callers
Function
createDetailedMatcher
( query: string, options: MatcherOptions = {}, )
packages/text-search/src/matcher.ts:289
↓ 4 callers
Function
createGraph
()
packages/graph/src/test/stringConcatenation.test.ts:39
↓ 4 callers
Function
createGraph
()
packages/graph/src/test/arithmetic.test.ts:55
↓ 4 callers
Function
createGraph
(doc = new Y.Doc())
packages/y-graph-storage/src/YGraphStorage.test.ts:32
↓ 4 callers
Method
ensureUniqueIndexesBuilt
* 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 callers
Function
generateCompactSchemaGuide
(schema: TSchema)
packages/graph/src/generateSchemaGuide.ts:810
↓ 4 callers
Function
generateDocumentWithKeywords
* Generate a document with specific keywords embedded.
packages/text-search/src/performance.test.ts:334
↓ 4 callers
Method
hasIn
* 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 callers
Method
hasIndexOfType
* 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 callers
Function
hasMeasureGreaterThan1
* Check if the stem has measure > 1
packages/text-search/src/stemmer.ts:44
↓ 4 callers
Method
isTarget
* Check if a vertex matches the target criteria.
packages/graph/src/Steps.ts:5334
↓ 4 callers
Method
lookupLessThan
* 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 callers
Function
makeInternalKey
(key: string)
packages/y-graph-storage/src/YGraphStorage.ts:20
↓ 4 callers
Function
makeType
(_defaultValue: T)
packages/graph/src/test/quantifierExpression.test.ts:12
↓ 4 callers
Function
makeType
(_defaultValue: T)
packages/graph/src/test/dynamicPropertyAccess.test.ts:12
↓ 4 callers
Function
makeType
(_defaultValue: T)
packages/graph/src/test/keywordAsIdentifier.test.ts:11
↓ 4 callers
Function
makeType
* 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 callers
Function
makeType
(_defaultValue: T)
packages/graph/src/test/ShortestPath.test.ts:482
↓ 4 callers
Function
makeType
(_defaultValue: T)
packages/graph/src/test/listComprehension.test.ts:12
↓ 4 callers
Function
makeType
* 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 callers
Function
makeType
(_defaultValue: T)
packages/graph/src/test/listOperations.test.ts:12
↓ 4 callers
Method
matchesProperties
( element: Vertex<any, any> | Edge<any, any>, properties: Record<string, any>, context?: QueryCont
packages/graph/src/Steps.ts:6549
↓ 4 callers
Method
not
* 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 callers
Function
peg$parseALL
()
packages/graph/src/grammar.js:16100
↓ 4 callers
Function
peg$parseAVG
()
packages/graph/src/grammar.js:14102
↓ 4 callers
Function
peg$parseCOLLECT
()
packages/graph/src/grammar.js:14213
↓ 4 callers
Function
peg$parseCREATE
()
packages/graph/src/grammar.js:15545
↓ 4 callers
Function
peg$parseDeleteVariableList
()
packages/graph/src/grammar.js:3229
↓ 4 callers
Function
peg$parseFunctionCallExpression
()
packages/graph/src/grammar.js:11354
↓ 4 callers
Function
peg$parseMAX
()
packages/graph/src/grammar.js:14176
↓ 4 callers
Function
peg$parseMIN
()
packages/graph/src/grammar.js:14139
↓ 4 callers
Function
peg$parseNodeLabels
()
packages/graph/src/grammar.js:6496
↓ 4 callers
Function
peg$parseNodePattern
()
packages/graph/src/grammar.js:6447
↓ 4 callers
Function
peg$parseNodePatternBody
()
packages/graph/src/grammar.js:6218
↓ 4 callers
Function
peg$parseNonEmptyQuery
()
packages/graph/src/grammar.js:2650
↓ 4 callers
Function
peg$parsePrimaryCondition
()
packages/graph/src/grammar.js:8292
↓ 4 callers
Function
peg$parseQuantifier
()
packages/graph/src/grammar.js:7743
↓ 4 callers
Function
peg$parseRETURN
()
packages/graph/src/grammar.js:13954
↓ 4 callers
Function
peg$parseSUM
()
packages/graph/src/grammar.js:14065
↓ 4 callers
Function
peg$parseSetAssignmentList
()
packages/graph/src/grammar.js:5485
↓ 4 callers
Function
peg$parseUnwindClause
()
packages/graph/src/grammar.js:4990
↓ 4 callers
Method
searchContains
* 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 callers
Method
statistics
* Get statistics about the index.
packages/graph/src/indexes/types.ts:53
↓ 4 callers
Method
toJSON
()
packages/graph/src/Graph.ts:925
↓ 4 callers
Method
transact
(callback: (tx: Y.Transaction) => void)
packages/y-graph-storage/src/YGraphStorage.ts:416
↓ 4 callers
Method
update
* 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 callers
Method
#extractLabels
(item: unknown, variable: string)
packages/graph/src/Steps.ts:3114
↓ 3 callers
Method
#safeStringify
* Safely stringify a value, handling circular references and other edge cases.
packages/graph/src/Steps.ts:3105
↓ 3 callers
Function
addMonthsToDate
* 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 callers
Function
appendOrderDirection
( steps: readonly Step<any>[], orderDirection: { key?: string; direction: OrderDirection; }, )
packages/graph/src/Traversals.ts:1470
← previous
next →
201–300 of 1,533, ranked by callers