Node Types
Each node type is represented by an integer. They are as follows:
| Integer | Node Type |
|---|---|
| -1 | main node |
| 0 | rounded segment |
| 1 | segment |
| 2 | circle |
| 3 | triangle |
| 4 | filled circle (automatically converted to circle with an outline) |
| 5 | ellipse |
| 6 | trapezoid |
| 7 | polygon |