We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 29aba6b commit 3153a27Copy full SHA for 3153a27
1 file changed
src/DataFrame.jl
@@ -4,9 +4,11 @@ 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
+
8
`gr` is a MetaGraph.
9
`type` is a Symbol valued either :node or :edge such that the DataFrame is populated with node or edge
10
properties stored in `gr`.
11
12
"""
13
function DataFrame(gr::T; type = :node) where T <:AbstractMetaGraph
14
fl, prps, en, nu = if type == :node
0 commit comments