in terranova/commands/binds.py [0:0]
def graph(path: str) -> None:
"""Generate a Graphviz graph of the steps in an operation."""
# Construct resources path
full_path = SharedContext.resources_dir().joinpath(path)
# Mount terraform context
terraform = mount_context(full_path)
# Execute destroy command
try:
terraform.graph()
except ErrorReturnCode as err:
raise Exit(code=err.exit_code) from err