sorenwacker.net
Graph Core

Graph Core

A local-first data architecture demonstration. Embedded SQLite persistence, hierarchical state management, and D3.js visualization across multiple rendering modes.

Local-First Architecture Embedded Database Offline-First GitHub Local Storage

This application is still evolving. macOS is the main development and testing environment. Windows and Linux support is secondary and may be less polished. The software comes without guarantees. If you encounter issues or have ideas, feedback is welcome.

Architecture Patterns

Embedded Database

SQLite persistence with ACID guarantees. Zero external dependencies for data storage. Full relational queries without database server overhead.

Hierarchical Data Model

Tree structure with cross-linking beyond parent-child relationships. Typed nodes (tasks, projects, notes, milestones, events, organizations) with polymorphic rendering.

Multi-View Rendering

Single data model rendered across tree, card, graph, timeline, table, and calendar views. D3.js force-directed layouts for relationship visualization.

Workspace Isolation

Logical partitioning of data into separate workspaces. Each workspace maintains independent node hierarchies with shared type system.

Command Pattern

Full undo/redo history via command stack. Every mutation captured as reversible operation for complete audit trail.

Data Portability

Export to Markdown, JSON, and CSV formats. Database snapshots for backup. No vendor lock-in or proprietary formats.

Multi-Window Architecture

Electron IPC enables detachable node editors. Each window maintains independent state with synchronized persistence.

Full-Text Search

Cmd+K spotlight with type filtering and fuzzy matching. Indexed search across all node content and metadata.

Optional AI Integration

Pluggable LLM support via Ollama or OpenAI-compatible APIs. Architecture supports local inference for air-gapped deployments.

Screenshots

Download

macOS Installation

The app is not code signed. macOS will block it or show "damaged" / "missing license" errors. Run this in Terminal:

xattr -cr /Applications/Graph\ Core.app

Then open the app normally. If macOS still blocks it, go to System Settings → Privacy & Security and click "Open Anyway".

Windows Installation

Windows Defender SmartScreen may show "Windows protected your PC" or "Unknown publisher" warning. To proceed:

  1. Click More info
  2. Click Run anyway

Alternatively, right-click the installer → Properties → check UnblockApply, then run.

Technology Architecture

Native Shell & IPC

Electron SQLite

Frontend & Visualization

Vue 3 Composition API D3.js

Build & Testing

Vite Vitest