Skip to content

Commit 8080aab

Browse files
committed
clarification for #3
1 parent 1d0e9e2 commit 8080aab

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/metagraph.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,8 @@ end
6666
6767
Construct a new meta graph based on `g`, where `Label` is the type of the vertex labels, `VertexMeta` is the type
6868
of the metadata at a vertex, and `EdgeMeta` is the type of the metadata at an
69-
edge. You can also attach arbitrary graph level metadata as `gprops`.
69+
edge. You can also attach arbitrary graph level metadata as `gprops`. It is recommended not
70+
to set `Label` to `Int` to avoid confusion between vertex labels and codes.
7071
7172
```jldoctest example
7273
julia> using LightGraphs

0 commit comments

Comments
 (0)