Skip to content

Commit 84bde44

Browse files
committed
Typos/mistakes.
1 parent a57bb73 commit 84bde44

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

README.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ The result is:
112112

113113
Tuning layout algorithm
114114
----------------------------------------------------
115-
Graphs vary by their nature. Some graphs have hunders nodes and few edges (or links), others connect every node with each other. To get the best layout tuning is usually required.
115+
Graphs vary by their nature. Some graphs has hundreds of nodes and few edges (or links), others connect every node with each other. To get the best layout tuning is usually required.
116116
Consider the following example:
117117

118118
```javascript
@@ -122,11 +122,12 @@ var renderer = Viva.Graph.View.renderer(graph);
122122
renderer.run();
123123
```
124124

125-
Graph generators are part of the library, which can produce classic graphs. `grid` generator create a grid with given number of columns and rows. But with default layout algorithm parameters the rendering is pretty ugly:
125+
Graph generators are part of the library, which can produce classic graphs. `grid` generator creates a grid with given number of columns and rows. But with default parameters the rendering is pretty ugly:
126126

127127
![Grid 3x3 bad](https://github.com/anvaka/VivaGraphJS/raw/master/packages/Images/gridBad.png)
128128

129129
Let's tweak original code:
130+
130131
```javascript
131132
var graphGenerator = Viva.Graph.generator();
132133
var graph = graphGenerator.grid(3, 3);
File renamed without changes.

0 commit comments

Comments
 (0)