This is an automated email from the ASF dual-hosted git repository. skrawcz pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/hamilton.git
commit 57a01ccf5557919d3899a122d0914defc88b8e54 Author: Pablo Eduardo Diaz <[email protected]> AuthorDate: Mon Jan 19 20:32:08 2026 -0400 Update visualization documentation to clarify usage of display_name decorator --- docs/concepts/visualization.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/concepts/visualization.rst b/docs/concepts/visualization.rst index f1858b10..e7bb6968 100644 --- a/docs/concepts/visualization.rst +++ b/docs/concepts/visualization.rst @@ -167,7 +167,7 @@ Configure your visualization All of the above visualization functions share parameters to customize the visualization (e.g., hide legend, hide inputs). Learn more by reviewing the API reference for `Driver.display_all_functions() <https://hamilton.apache.org/reference/drivers/Driver/#hamilton.driver.Driver.display_all_functions>`_; parameters should apply to all other visualizations. Custom node labels with display_name ----------------------------- +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Use the ``@tag`` decorator with ``display_name`` to show human-readable labels in visualizations while keeping valid Python identifiers as function names. This is useful for creating presentation-ready diagrams or adding business-friendly names:
