A web interface for visualizing and managing network graphs, built with Next.js and React.
Tenant Dashboard
This can be accessed by logging in to localhost:3000/login
- Home: Main graph visualization interface
- Graphs: Manage and edit graph definitions
- Nodes: View and edit graph nodes
- Edges: Manage connections between nodes
- Labels: Manage and edit labels
- Tags: Manage and edit tags
- Vectors: Manage and edit vectors
Admin Dashboard
This can be accessed by logging in to localhost:3000/login/admin
- Tenants: Manage and edit tenants
- Users: Manage and edit users
- Credentials: Manage and edit credentials
- Node.js v18.20.4
- npm
npm install
Update the liteGraphInstanceURL
in constants/config.ts
to point to your litegraph instance:
export const liteGraphInstanceURL = 'http://localhost:3000';
npm run build
npm run start
OR
npm run dev
The application will be available at http://localhost:3000
.
Run the test suite:
# Run all tests
npm test
# Run tests with coverage
npm run test:coverage
# Watch mode for development
npm run test:watch
Prepare the app for production:
npm run build
Start the built application:
npm run start
The app will be available at http://localhost:3000.
The project uses several tools to maintain code quality:
- ESLint for code linting
- Prettier for code formatting
- Jest for testing
- Husky for pre-commit hooks
-
Code Style
- Follow the Prettier configuration
- Use TypeScript for type safety
- Follow component-based architecture
-
Testing
- Write unit tests for components