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/index.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -96,11 +96,11 @@ const nodes_list = [Node("node_$i") for i in 1:n_nodes]
96
96
Node("node_7")
97
97
```
98
98
99
-
You may access (but not modify) the `id` of a `Node` via the [`id`](@ref) function. `Node`s are reepresented throughout layers and interlayers via a struct named [`MultilayerVertex`](@ref). It has several convenience constructors, the most complete of them reads:
99
+
You may access (but not modify) the `id` of a `Node` via the [`id`](@ref) function. `Node`s are represented throughout layers and interlayers via a struct named [`MultilayerVertex`](@ref). It has several convenience constructors, the most complete of them reads:
100
100
101
101
```julia
102
102
MultilayerVertex(
103
-
node::Node, # The Node that th evertex will represent
103
+
node::Node, # The Node that the vertex will represent
104
104
layer::Union{Nothing,Symbol}, # The layer which the `Node` will be represented in. Should be set to `nothing` when constructing layers.
105
105
metadata::Union{<:NamedTuple,<:Tuple}# The metadata associated to this vertex
0 commit comments