MCPcopy Create free account
hub / github.com/dask/dask / _add_graphviz_node

Function _add_graphviz_node

dask/dataframe/dask_expr/diagnostics/_explain.py:55–68  ·  view source on GitHub ↗
(explain_info, graph)

Source from the content-addressed store, hash-verified

53
54
55def _add_graphviz_node(explain_info, graph):
56 label = "".join(
57 [
58 "<{<b>",
59 explain_info["label"],
60 "</b> | ",
61 "<br />".join(
62 [f"{key}: {value}" for key, value in explain_info["details"].items()]
63 ),
64 "}>",
65 ]
66 )
67
68 graph.node(explain_info["name"], label)
69
70
71def _add_graphviz_edges(explain_info, graph):

Callers 1

explainFunction · 0.70

Calls 2

joinMethod · 0.45
itemsMethod · 0.45

Tested by

no test coverage detected