Summary of App Behavior
SynapseMind is a single-file knowledge graph explorer with a dark, terminal-inspired aesthetic featuring cyan and magenta accent colors. The header shows the app name, version (v1.0.0), and a user label “AI_Collaborator” with a cyan avatar dot. The interface is a three-panel layout:
- Focus Areas (left sidebar): Three colored buttons—Quantum Computing, Culinary Arts, and Urban Planning—rendered as teal/cyan pills.
- Knowledge Graph (center canvas): An interactive node-edge graph displaying three nodes (ND-8821 in cyan, ND-4402 and ND-1109 in magenta) connected by labeled edges (“analogous” and “prerequisite”). A tooltip reads: “Drag nodes to explore. Click to inspect.” Nodes are draggable and the edge lines follow the movement.
- Node Inspector (right sidebar): Displays metadata for the currently selected node. Clicking ND-8821 shows rich data: title “The Geometry of Flavor,” tags (Molecular Gastronomy, Chemistry, Design), a description (“Exploring how molecular structures influence taste perception”), Verified: Yes, Sentiment: 0.72, and a Source Link pointing to
synapsemind.io/insights/geometry-of-flavor.
Clicking a secondary node like ND-4402 shows a stripped-down inspector: title “Linked Concept [ND-4402],” a single “analogous” tag, and a generic description: “A node connected via a analogous relationship. Data restricted in this view.” No sentiment score, verification status, or source link is provided.
Prompt to Improve the App
Below is a prompt to generate a more functional version of SynapseMind:
You are improving a single-file HTML knowledge graph explorer called
"SynapseMind" (HTML + CSS + JS, one file). Keep the dark theme with
cyan and magenta accents. The app has a three-panel layout: Focus Areas
sidebar (left), interactive node-edge graph canvas (center), and a Node
Inspector sidebar (right). Nodes are draggable.
Fix and add the following:
1. WORKING FOCUS AREAS: Each Focus Area (Quantum Computing, Culinary
Arts, Urban Planning) should load a DIFFERENT knowledge graph with
its own set of nodes and edges. For example:
- Quantum Computing: nodes like "Qubit Entanglement," "Shor's
Algorithm," "Error Correction," "Topological Qubits" connected
by prerequisite/extends/contrasts edges.
- Culinary Arts: nodes like "Maillard Reaction," "Emulsification,"
"Fermentation," "Sous Vide" with analogous/prerequisite edges.
- Urban Planning: nodes like "Zoning Policy," "Transit-Oriented
Development," "Green Infrastructure," "Mixed-Use Design."
Each graph should have 6-10 nodes to make exploration meaningful.
Animate the transition between graphs with a brief fade.
2. FULL NODE DATA: Every node should have complete inspector data:
title, description, 2-3 tags, a sentiment score (0-1), verified
status, and a source link. No generic "Data restricted" placeholders.
3. ADD NODE + EDGE: Add a "+ Node" button below the Focus Areas that
opens a small form: title, description, tags. The new node appears
on the canvas. Then let users drag from one node to another to
create an edge, choosing a relationship type from a dropdown
(prerequisite, analogous, extends, contrasts). Persist all data
in localStorage.
4. EDGE LEGEND: Add a small legend at the bottom of the graph canvas
showing each relationship type with its line style (e.g., dashed
for analogous, solid for prerequisite, dotted for contrasts) and
a one-line definition.
5. SEARCH + FILTER: Add a search bar above the graph that filters
nodes by title or tag as the user types, dimming non-matching
nodes. Add a tag filter dropdown that highlights all nodes sharing
a selected tag.
6. FIX GRAMMAR: Change "a analogous" to "an analogous" in all
generated descriptions. Use proper articles throughout.
7. VALID SOURCE LINKS: Either remove the Source Link field or point
it to real, relevant URLs (e.g., Wikipedia articles for the
corresponding concept).
Keep everything in a single HTML file. Use canvas or SVG for the
graph rendering — not just absolutely-positioned divs.