Skip to content

Commit 5dc2fd6

Browse files
committed
Documentation
1 parent de5e05a commit 5dc2fd6

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

docs/src/func_ref.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ getAdjacencyMatrix
4949
### Validating Factor Graph Connectivity
5050
```@docs
5151
isFullyConnected
52+
hasOrphans
5253
```
5354

5455
### Copying Subgraphs

src/services/GraphsDFG.jl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,10 @@ function isFullyConnected(dfg::GraphsDFG)::Bool
253253
end
254254

255255
#Alias
256+
"""
257+
$(SIGNATURES)
258+
Checks if the graph is not fully connected, returns true if it is not contiguous.
259+
"""
256260
hasOrphans(dfg::GraphsDFG)::Bool = !isFullyConnected(dfg)
257261

258262
"""

0 commit comments

Comments
 (0)