2022-11-25 15:01:05 +00:00
|
|
|
---
|
|
|
|
type: plug
|
|
|
|
uri: github:bbroeksema/silverbullet-graphview/graphview.plug.json
|
|
|
|
repo: https://github.com/bbroeksema/silverbullet-graphview
|
|
|
|
author: Bertjan Broeksema
|
|
|
|
---
|
|
|
|
|
|
|
|
<!-- #include [[https://raw.githubusercontent.com/bbroeksema/silverbullet-graphview/main/README.md]] -->
|
|
|
|
# SilverBullet plug for showing a graph view of the documents
|
|
|
|
|
2023-05-23 18:53:53 +00:00
|
|
|
This plug aims to bring functionality similar to the Obsidian Graph view to SilverBullet.
|
2022-11-25 15:01:05 +00:00
|
|
|
|
|
|
|
## Installation
|
|
|
|
|
|
|
|
Open (`cmd+k`) your `PLUGS` note in SilverBullet and add this plug to the list:
|
|
|
|
|
|
|
|
```yaml
|
|
|
|
- github:bbroeksema/silverbullet-graphview/graphview.plug.json
|
|
|
|
```
|
|
|
|
|
|
|
|
Then run the `Plugs: Update` command and off you go!
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
2023-05-23 18:53:53 +00:00
|
|
|
Run the `Show Graph` command to open up the graph view. Zoom and pan are supported by scroll and pinch gestures with the mouse(pad).
|
2022-11-25 15:01:05 +00:00
|
|
|
|
|
|
|
## For offline development
|
|
|
|
|
2023-05-23 18:53:53 +00:00
|
|
|
To ease the development of the visual part, the offline folder contains a copy of the HTML and custom JavaScript, as well as a simple graph model.
|
2022-11-25 15:01:05 +00:00
|
|
|
|
|
|
|
```bash
|
|
|
|
$ cd offline
|
|
|
|
$ python -m http.server
|
|
|
|
```
|
|
|
|
<!-- /include -->
|