added important fragments of the code

This commit is contained in:
Arsen Mirzaev Tatyano-Muradovich 2025-01-11 16:20:32 +07:00
parent 186c54733d
commit 3cc96d7715

View File

@ -146,4 +146,10 @@ svg.edge > line {
### Result
![graph 2.0.0 preview](preview/graph_demonstration_2_0_0.gif)<br><br>
[Try it on CodePen](https://codepen.io/mirzaev-sexy/pen/Rwyxprz)
[Try it on CodePen](https://codepen.io/mirzaev-sexy/pen/Rwyxprz)
## Important fragments of the code
Iterating over nodes<br>
![iterating over nodes](preview/code/1.png)<br><br>
Pushing and pulling<br>
![pushing and pulling](preview/code/2.png)