Method: pylint.graph.DotBackend.emit_node
Calls: 41, Exceptions: 0, Paths: 1Back
Path 1: 41 calls (1.0)
'b' (4) 'input.func_noerror_cycle.b' (4) 'input.w0401_cycle' (4) 'input.func_w0401_package.thing2' (4) 'hoho' (3) 'yep' (3) 'labas' (3) 'a' (2) 'c' (2...
{} (41)
1def emit_node(self, name: str, **props: Any) -> None:
2 """Emit a node with given properties.
3
4 For node properties: see https://www.graphviz.org/doc/info/attrs.html
5 """
6 attrs = [f'{prop}="{value}"' for prop, value in props.items()]
7 self.emit(f"{normalize_node_id(name)} [{', '.join(sorted(attrs))}];")