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
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,16 +6,16 @@ Create node based visual graphs in the browser. Supports undirected / directed g
6
6
7
7
## Getting Started
8
8
9
-
To build the graph library, run the following in the root directory.
9
+
First install PCUI Graph into your npm project:
10
10
11
11
```
12
-
npm install
13
-
npm run build
12
+
npm install @playcanvas/pcui-graph
14
13
```
15
14
16
-
You can then use the library in your own project by including the `dist/index.mjs`file. The graph can then be instantiated as follows:
15
+
You can then use the library in your own project by importing the PCUI Graph build and its styling file into your project. The graph can then be instantiated as follows:
Copy file name to clipboardExpand all lines: docs/events.md
+12-12Lines changed: 12 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@
5
5
After creating a graph, you can register a callback for various events. This is achieved using the graphs [on function](./Graph.md#on). The following events are supported:
0 commit comments