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: docs/src/get_started.md
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,8 @@
4
4
5
5
This page let's you take a peek at what the package is capable of. If you want a better, more in-depth introduction to the package, take a look at the tutorials, starting from [Read and Write MTGs](@ref). If you don't know what an MTG is, you can read more about starting from [The MTG concept](@ref).
6
6
7
+
If your main goal is to query trees (children, descendants, ancestors, filters), go directly to [Traversal, descendants, ancestors and filters](@ref).
8
+
7
9
## Installation
8
10
9
11
You must have a working Julia installation on your computer. The version of Julia should be greater than 1.3.
@@ -80,3 +82,11 @@ You can also convert your MTG to a [MetaGraph](https://juliagraphs.org/MetaGraph
80
82
```@example usepkg
81
83
MetaGraph(mtg)
82
84
```
85
+
86
+
## Next step: traversal tutorial
87
+
88
+
If you are new to MTGs or graph vocabulary, this is usually the best next page:
89
+
90
+
-[Traversal, descendants, ancestors and filters](@ref)
91
+
92
+
It explains these words in plain language and gives practical query recipes.
Copy file name to clipboardExpand all lines: docs/src/index.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,6 +25,8 @@ The MTG format helps describe the plant at different scales at the same time. Fo
25
25
26
26
You can find out how to use the package on the [Getting started](@ref) section, or more about the MTG format in the [The MTG concept](@ref).
27
27
28
+
If your immediate goal is querying MTGs (descendants, ancestors, filters), go to [Traversal, descendants, ancestors and filters](@ref).
29
+
28
30
## References
29
31
30
32
Godin, C., et Y. Caraglio. 1998. « A Multiscale Model of Plant Topological Structures ». Journal of Theoretical Biology 191 (1): 1‑46. https://doi.org/10.1006/jtbi.1997.0561.
If you call the same traversal many times in a simulation loop, look at [Performance Considerations](@ref), especially in-place methods (`descendants!`, `ancestors!`).
60
+
20
61
You can get all the attributes of a node using the [`node_attributes`](@ref) function:
0 commit comments