graphqexl v0.1.0-alpha-rc.23 Treex.Tree
Link to this section Summary
Functions
Convert the given map into a Treex.Tree.t/0
. If the given map has more than one top-level key,
the optional root
parameter specifies what value to give a virtual root node that will be
inserted at the top of the key and contain the given map
's top-level keys as children.
Link to this section Types
Link to this section Functions
Link to this function
from_map(map, root \\ :root)
(since 0.1.0)from_map(Map.t(), term()) :: Treex.Tree.t()
Convert the given map into a Treex.Tree.t/0
. If the given map has more than one top-level key,
the optional root
parameter specifies what value to give a virtual root node that will be
inserted at the top of the key and contain the given map
's top-level keys as children.
Returns: Treex.Tree.t/0