去掉MCP框架,重构
This commit is contained in:
@@ -8,12 +8,11 @@ Reference:
|
|||||||
import logging
|
import logging
|
||||||
import html
|
import html
|
||||||
from typing import Any, cast
|
from typing import Any, cast
|
||||||
# from graspologic.partition import hierarchical_leiden
|
from graspologic.partition import hierarchical_leiden
|
||||||
# from graspologic.utils import largest_connected_component
|
from graspologic.utils import largest_connected_component
|
||||||
import networkx as nx
|
import networkx as nx
|
||||||
from networkx import is_empty
|
from networkx import is_empty
|
||||||
hierarchical_leiden=''
|
|
||||||
largest_connected_component=''
|
|
||||||
|
|
||||||
def _stabilize_graph(graph: nx.Graph) -> nx.Graph:
|
def _stabilize_graph(graph: nx.Graph) -> nx.Graph:
|
||||||
"""Ensure an undirected graph with the same relationships will always be read the same way."""
|
"""Ensure an undirected graph with the same relationships will always be read the same way."""
|
||||||
|
|||||||
Reference in New Issue
Block a user