After visualization, select specific words by clicking their rectangles (they turn blue), or create graph from all words.
Ctrl+S - Save graph to JSON fileCtrl+Z - Undo last actionCtrl+Shift+Z - Redo actionDelete or Backspace - Delete selected nodes/edgesCtrl+Click - Multi-select nodes or edges
π¨ Enhanced Image + Word Box Visualization
Image and word boxes now zoom/pan with your graph! Click individual word boxes to create nodes.
1. Upload Image: Click "πΈ OCR" β Choose Image File
2. Extract Text: Click "π Run OCR" and wait for completion
3. Visualize Words: Click "ποΈ Visualize Word Rectangles"
β¨ Image appears as background layer
β¨ Word boxes overlay on top (hover turns blue)
β¨ Everything zooms/pans together!
4. Create Nodes: Two options:
β’ Click individual word boxes β Creates node immediately
β’ "Create Graph from All" β Converts all remaining boxes to nodes
5. Keep Background: Image stays visible while you work!
6. Clear Image: Click "ποΈ Clear Image" button when done
7. Connect & Export: Use Connect Mode, Auto-Connect, then Export
1. Click a few nodes to select them (they turn blue)
2. Type "Central Hub" in the text box at bottom
3. Press Enter - a new node will be created connected to all selected nodes!
4. Use "Auto-Connect Similar" to automatically link related words
5. Save your work with Ctrl+S or Export button
The graph uses a molecular-style visualization with:
The auto-connect feature uses two algorithms:
Classic basil.js example: "Connecting All Words With Lines" - Type text in the boxes below and watch as every word from the left connects to every word on the right, creating an intricate network visualization!
Based on: basil.js tutorial "01_connecting_all_words_with_lines" -
Every word from the left block connects to every word on the right, creating M Γ N connections. Try editing the text to see the network update in real-time!