You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,11 +7,9 @@ Includes a KnowledgeGraph Designer through which interactively create/export gra
7
7
8
8
## Requirements
9
9
10
-
Requirements for KnowledgeGraph 1.x:
11
-
12
-
- PHP 7.4 or later
10
+
- PHP 8.1 or later
13
11
- MediaWiki 1.39 or later
14
-
- SemanticMediaWiki 4.x or later
12
+
- SemanticMediaWiki 5.1.0 or later
15
13
16
14
## Usage
17
15
@@ -31,11 +29,13 @@ nodes=Page A, Page B
31
29
}}
32
30
```
33
31
34
-
## Updating `vis-network` Library
32
+
## For Developers
33
+
34
+
### Updating `vis-network` Library
35
35
36
36
This extension uses the [`vis-network`](https://www.npmjs.com/package/vis-network) JavaScript library for rendering network diagrams. The version is managed via `npm` and bundled into the extension using a post-install script.
37
37
38
-
### How It Works
38
+
####How It Works
39
39
40
40
After running `npm install`, the following happens automatically:
41
41
@@ -48,7 +48,7 @@ After running `npm install`, the following happens automatically:
48
48
A custom script (`inject-nomin.js`) prepends the line `/*@nomin*/` to `vis-network.min.js`.
49
49
This comment prevents MediaWiki's ResourceLoader from re-minifying the file.
50
50
51
-
### To Update `vis-network`
51
+
####To Update `vis-network`
52
52
53
53
1. Open `package.json` and change the version under `"vis-network"`
54
54
(e.g., `"vis-network": "latest"` or a specific version like `"9.1.9"`).
0 commit comments