Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions src/Combinatorics/Graphs/functions.jl
Original file line number Diff line number Diff line change
Expand Up @@ -511,8 +511,9 @@ end
@doc raw"""
degree(g::Graph{T} [, v::Int64]) where {T <: Union{Directed, Undirected}}

Return the degree of the vertex `v` in the graph `g`.
If `v` is missing, return the list of degrees of all vertices.
Return the degree of the vertex `v` in the graph `g`. If `v` is
missing, return the list of degrees of all vertices. If the graph is
directed, only neighbors reachable via outgoing edges are counted.

# Examples
```jldoctest
Expand Down
Loading