from html import escape def get_graph_visualization_html(document_id: str) -> str: safe_document_id = escape(document_id) return f""" Graph View - {safe_document_id}

🕸️ Document Graph View

Document ID: {safe_document_id}

"""