Skip to content

Commit e14760d

Browse files
committed
docs: add double click feature for graph plugin
1 parent bf505f5 commit e14760d

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

docs/user-guide.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1408,6 +1408,7 @@ Visualizes RDF data as an interactive node-edge graph with advanced customizatio
14081408
**Features:**
14091409

14101410
- **🔷 Interactive Force-Directed Layout**: Automatic physics-based positioning with smooth animations
1411+
- **� Node Expansion**: Double-click any URI node to fetch and merge related triples via DESCRIBE queries
14111412
- **🎨 Smart Color Coding**:
14121413
- 🔵 Light Blue (#97C2FC) = URIs
14131414
- 🟢 Light Green (#a6c8a6ff) = Literals
@@ -1499,6 +1500,19 @@ In compact mode, `ex:alice` will inherit the `👤` emoji from the `ex:Person` c
14991500
| ⚪ Light Grey | Blank nodes | `_:b1`, `_:addr1` |
15001501
| 🟠 Orange | rdf:type objects (classes) | `ex:Person` in `ex:Alice rdf:type ex:Person` |
15011502

1503+
**Double click expansion:**
1504+
1505+
The graph plugin supports **interactive node expansion** via double-clicking. This allows you to progressively explore RDF graphs by fetching additional triples for any URI node without redrawing the entire graph.
1506+
1507+
How It Works:
1508+
1509+
1. **Double-click a blue URI node** in the graph
1510+
2. The node's border turns **orange and thickens** (loading state)
1511+
3. A `DESCRIBE <uri>` query is sent to the SPARQL endpoint
1512+
4. **New triples are merged** into the existing graph
1513+
5. Node's border returns to normal width with **thicker border (3px) to indicate expansion**
1514+
6. Graph layout and zoom level are **preserved**
1515+
15021516
**Performance:**
15031517

15041518
- Good performance: 500-1,000 nodes

0 commit comments

Comments
 (0)