We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 76a8158 commit 71d74fdCopy full SHA for 71d74fd
1 file changed
src/DataFrame.jl
@@ -4,6 +4,9 @@ import DataFrames.DataFrame
4
DataFrame(gr::T; type = :node) where T <:AbstractMetaGraph
5
6
Construct a DataFrame from a MetaGraph from either its node or edge properties.
7
+`gr` is a MetaGraph.
8
+`type` is a Symbol valued either :node or :edge such that the DataFrame is populated with node or edge
9
+properties stored in `gr`.
10
"""
11
function DataFrame(gr::T; type = :node) where T <:AbstractMetaGraph
12
fl, prps, en, nu = if type == :node
0 commit comments