Class: GraphAPI

GraphAPI()

GraphAPI class providing REST endpoints for ragno graph operations

Constructor

new GraphAPI()

Source:

Classes

GraphAPI

Methods

(async) _computeBasicStats()

Compute basic graph statistics

.

Compute basic graph statistics

Source:

(async) _computeDetailedStats()

Compute detailed statistics with graph algorithms

.

Compute detailed statistics with graph algorithms

Source:

(async) _getCurrentDataset()

Get current RDF dataset from SPARQL endpoint

.

Get current RDF dataset from SPARQL endpoint

Source:

(async) _handleDecomposeText()

Decompose text into knowledge graph components

.

Decompose text into knowledge graph components

Source:

(async) _handleDualSearch()

Perform dual search (exact + vector + PPR)

.

Perform dual search (exact + vector + PPR)

Source:

(async) _handleExportGraph()

Export graph in specified format

.

Export graph in specified format

Source:

(async) _handleFullPipeline()

Run full ragno pipeline

.

Run full ragno pipeline

Source:

(async) _handleGetDetailedStats()

Get detailed graph statistics with algorithms

.

Get detailed graph statistics with algorithms

Source:

(async) _handleGetEntities()

Get entities with pagination and filtering

.

Get entities with pagination and filtering

Source:

(async) _handleGetEntity()

Get specific entity with relationships and attributes

.

Get specific entity with relationships and attributes

Source:

(async) _handleGetStats()

Get basic graph statistics

.

Get basic graph statistics

Source:

(async) _handleHealthCheck()

Health check endpoint

.

Health check endpoint

Source:

_setupMiddleware()

Setup middleware

.

Setup middleware

Source:

_setupRoutes()

Setup API routes

.

Setup API routes

Source:

getRouter()

Get the Express router

.

Get the Express router

Source:

(async) initialize()

Initialize the API with required dependencies

.

Initialize the API with required dependencies

Source:

(async) shutdown()

Cleanup resources

.

Cleanup resources

Source: