add Mermaid graph format to terraform graph command (#38719)