INNER CODE UNIT · Python
new_nodes
KATRIN-Experiment/Kassiopeia · Scripts/gen-bindings-docs.py:126
new_nodes = node.makeGraph(level+1, stack, nodes, key=node_key, with_children=with_children, with_attributes=with_attributes)
nodes.union(new_nodes)
if make_subgraph:
print(f'}}')
return nodes
"""
Produces node documentation in XML format (example snippet). Includes up a given number of child elements.
"""
def makeExampleXML(self, level=0, stack=[], key='', max_children=999, max_attributes=999, include_root=True):
spaces = ' '
if not key and self.xml_names:
key = list(self.xml_names)[0]
if not self.xml_names:
if include_root: