kiss_graph library
A graph node service library with dependency injection support.
This library provides a complete graph node service implementation that can work with any Repository
Example usage:
import 'package:kiss_graph/kiss_graph.dart';
import 'package:kiss_repository/kiss_repository.dart';
final repository = InMemoryRepository<Node>(
queryBuilder: NodeQueryBuilder(),
path: 'nodes',
);
final nodeService = NodeService(repository);
final nodeApiService = NodeApiService(nodeService);
nodeApiService.setupRoutes(app);
Classes
- GraphApiConfiguration
- Configuration class for the KISS Graph library.
- GraphNodeApi
- GraphNodeApiClient
- GraphNodeApiRouter
- GraphNodeApiUrlResolve
- Node
- NodeApiService
- NodeChildrenQuery
- NodeContent
- NodeCreate
- NodeCreateContent
- NodePathQuery
- NodeQueryBuilder
- NodeRootQuery
- NodeService
- NodesIdChildrenGetResponse
- NodesIdChildrenGetResponse200
- NodesIdDeleteResponse
- NodesIdDeleteResponse204
- NodesIdDeleteResponse409
- NodesIdGetResponse
- NodesIdGetResponse200
- NodesIdGetResponse404
- NodesIdPatchResponse
- NodesIdPatchResponse200
- NodesIdTraceGetResponse
- NodesIdTraceGetResponse200
- NodesPathPrefixGetResponse
- NodesPathPrefixGetResponse200
- NodesPostResponse
- NodesPostResponse201
- NodeUpdate
- NodeUpdateContent
- PathHashGenerator
- Utility class for generating hierarchical path hashes for breadcrumb navigation
- SecuritySchemes
Extensions
- NodeContentExtensions on NodeContent
- Extensions for NodeContent to provide Map-like operations
- NodeCreateContentExtensions on NodeCreateContent
- Extensions for NodeCreateContent
- NodeCreateExtensions on NodeCreate
- Extensions for NodeCreate to add validation and helpers
- NodeExtensions on Node
- Extensions for OpenAPI Node model to add business logic capabilities
- NodeUpdateContentExtensions on NodeUpdateContent
- Extensions for NodeUpdateContent
- NodeUpdateExtensions on NodeUpdate
- Extensions for NodeUpdate to add validation and helpers