File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
libs/langchain-mongodb/langchain_mongodb/graphrag Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -558,7 +558,7 @@ def to_networkx(
558558 ) -> networkx .DiGraph :
559559 """Utility converts Entity Collection to `NetworkX DiGraph <https://networkx.org/documentation/stable/index.html>`_
560560
561- NOTE: Requires optional-dependency "viz", i.e. `uv sync --extra viz`
561+ NOTE: Requires optional-dependency "viz", i.e. `pip install "langchain-mongodb[ viz]"`.
562562
563563 Args:
564564 nx_opts: Keyword arguments for networkx calls.
@@ -643,7 +643,7 @@ def view(
643643 however, another good layout choice is:
644644 `layout=nx.multipartite_layout, nx_opts["subset_key"]= "type"`
645645
646- NOTE: Requires optional-dependency "viz", i.e. `uv sync --extra viz`
646+ NOTE: Requires optional-dependency "viz", i.e. `pip install "langchain-mongodb[ viz]"`.
647647
648648 You can save the view as any HoloViews object with `.save`.
649649 The type will be inferred from the filename's suffix,
You can’t perform that action at this time.
0 commit comments