Skip to content

Commit 12f27e6

Browse files
lroffiaclaude
andcommitted
docs: add Protégé graph plugin build and install instructions to README
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 31da373 commit 12f27e6

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

README.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,35 @@ Expose that WebVOWL service at a public URL, for example `https://ontologies.exa
6060

6161
The ontology files must also be reachable by the WebVOWL service. Local-only URLs such as `localhost` cannot be fetched by a remote WebVOWL service.
6262

63+
## Protégé Graph Plugin
64+
65+
A Protégé Desktop tab plugin that renders a force-directed graph of the active OWL ontology. Classes are shown as rounded boxes containing datatype properties, connected by curved edges for `rdfs:subClassOf` and object property relations with labels at the arc midpoint.
66+
67+
### Build
68+
69+
Requires Maven and JDK 8+.
70+
71+
```sh
72+
cd protege-graph-plugin
73+
mvn clean package
74+
```
75+
76+
The plugin JAR is generated under `protege-graph-plugin/target/`.
77+
78+
### Install
79+
80+
Copy the generated JAR into the `plugins/` directory of your Protégé Desktop installation, then restart Protégé. Enable the tab from **Window > Tabs > VAIMEE Graph**.
81+
82+
### Features
83+
84+
- Force-directed layout with D3-style simulation (charge, link distance, gravity).
85+
- Interactive drag: grab a class node and connected nodes follow via spring forces.
86+
- Pan (drag background), zoom (mouse wheel), and fit-to-view on reset.
87+
- Namespace legend with color-coded checkboxes to show/hide classes.
88+
- Layout settings panel with sliders for charge, link distance, link strength, and gravity.
89+
- `rdfs:comment` annotations displayed inside class nodes with word wrapping.
90+
- Curved edge routing around intermediate nodes.
91+
6392
## Build Locally
6493

6594
Build the nginx image:

0 commit comments

Comments
 (0)