Integrated the graphml visualizer as part of lightrag and made it a component that can be installed using [tools] option

This commit is contained in:
Saifeddine ALOUI
2025-02-03 22:51:46 +01:00
parent 797b5fa463
commit 9a30dc7b04
13 changed files with 174 additions and 92 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