SwiftDocCNavigatorTreeNavigatorTree.NodeClassNavigatorTree.NodeA representation of a node in the tree wrapping a NavigatorItem. The node holds the reference to children and parent for fast navigation.class NodeTopicsOperatorsstatic func == (NavigatorTree.Node, NavigatorTree.Node) -> BoolInitializersinit(item: NavigatorItem, bundleIdentifier: String)Initialize a node with the given NavigatorItem.Instance Propertiesvar attributes: [String : Any]Storage for additional information in the nodes.var bundleIdentifier: StringBundle identifier.var children: [NavigatorTree.Node]The children of the node.var id: UInt32?An id assigned by a process, for example to dump data into disk.var item: NavigatorItemThe wrapped NavigatorItem.var parent: NavigatorTree.Node?A weak link to the parent. Useful to fast navigate back up to the root.var presentationIdentifier: String?A value that can be used for identification purposes in presentation contexts.Instance Methodsfunc add(child: NavigatorTree.Node)Add a child to the current node.func copy() -> NavigatorTree.NodeCopy the current node and children to new instances preserving the node item.func countItems() -> IntCounts the number of all the items from a given node, including the current node plus all the descendants.func dumpTree() -> StringDumps the tree data into a String in a human readable way.func filter((NavigatorItem) -> Bool) -> NavigatorTree.Node?Returns a node containing, in order, the elements of the tree that satisfy the given predicate.func hash(into: inout Hasher)func treeLines(String, String) -> [String]Creates an array with the tree data formatted in a readable way.