We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8080aab commit e65a1bfCopy full SHA for e65a1bf
src/metagraph.jl
@@ -139,7 +139,8 @@ julia> diameter(weighted)
139
```
140
141
MetaGraphs inherit many methods from LightGraphs. In general, inherited methods refer to
142
-vertices by codes, not labels.
+vertices by codes, not labels, for compatibility with AbstractGraph. Vertex codes get
143
+reassigned after `rem_vertex!`, so I recommend using label indexing if possible.
144
145
```jldoctest example
146
julia> is_directed(colors)
0 commit comments