pub fn node_with_props(id: &str, type_name: &str, props: Value) -> TreeNode
Create a TreeNode with the given props and no children.
TreeNode