Reapply "Integrated the GraphML Visualizer as an optional component of LightRAG"

This reverts commit b2bc7770fd.
This commit is contained in:
ArnoChen
2025-02-05 02:33:26 +08:00
parent ad2a82e5e4
commit eb77af8e7d
14 changed files with 177 additions and 1306 deletions

View File

@@ -557,7 +557,14 @@ class DocumentManager:
def __init__(
self,
input_dir: str,
supported_extensions: tuple = (".txt", ".md", ".pdf", ".docx", ".pptx", "xlsx"),
supported_extensions: tuple = (
".txt",
".md",
".pdf",
".docx",
".pptx",
".xlsx",
),
):
self.input_dir = Path(input_dir)
self.supported_extensions = supported_extensions