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
+10-3Lines changed: 10 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,20 +7,27 @@ Check out the [Intro page on using GoJS with Angular](https://gojs.net/latest/in
7
7
8
8
It makes use of the [gojs-angular](https://github.com/NorthwoodsSoftware/gojs-angular) package to handle some boilerplate for setting up Diagram, Palette and Overview components.
9
9
10
-
When running the sample, try moving around nodes, adding / deleting nodes, editing text in the inspector, relinking, undoing (Ctrl-Z), etc. within the diagram
11
-
and you'll notice the changes are reflected in app-level data. You'll also notice that changes
10
+
When running the sample, try moving around nodes, adding / deleting nodes, editing text in the inspector, relinking, undoing (Ctrl-Z), re-doing (Ctrl-Y), etc. within the diagram and you'll notice the changes are reflected in app-level data. You'll also notice that changes
12
11
made in the inspector are reflected in the diagram.
13
12
14
13
## Installation
15
14
16
-
Start by running npm install to install all necessary dependencies.
15
+
Start by running npm install to install all necessary dependencies.
16
+
17
+
If you do not have Angular already globally installed, you may do so by running:
18
+
19
+
### `npm i -g @angular/cli`
17
20
18
21
## Running the project
19
22
20
23
In the project directory, run:
21
24
22
25
### `ng serve`
23
26
27
+
Alternatively, if you do not have Angular installed globally, you may run:
28
+
29
+
### `npm run start`
30
+
24
31
Runs the app in the development mode.<br>
25
32
Open [http://localhost:4200](http://localhost:4200) to view it in the browser.
This Angular-GoJS sample demonstrates how to use the Diagram, Palette, and Overview Angular-GoJS components, made
50
+
This <code>gojs-angular</code> sample demonstrates how to use the Diagram, Palette, and Overview <ahref="https://www.npmjs.com/package/gojs-angular">gojs-angular</a> components, made
51
51
and
52
52
maintained by <ahref="http://www.nwoods.com/">Northwoods Software</a>.
0 commit comments