Skip to content

Commit 829dc01

Browse files
committed
revert articulation points
1 parent 6da20b2 commit 829dc01

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

mcp_server/src/mcp_server_neo4j_gds/centrality_algorithm_handlers.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def execute(self, arguments: Dict[str, Any]) -> Any:
5959

6060
class ArticulationPointsHandler(AlgorithmHandler):
6161
def articulation_points(self, **kwargs):
62-
with projected_graph(self.gds) as G:
62+
with projected_graph(self.gds, undirected=True) as G:
6363
articulation_points = self.gds.articulationPoints.stream(G)
6464

6565
# Add node names to the results if nodeIdentifierProperty is provided
@@ -71,7 +71,7 @@ def articulation_points(self, **kwargs):
7171

7272
def execute(self, arguments: Dict[str, Any]) -> Any:
7373
return self.articulation_points(
74-
nodeIdentifierProperty=arguments.get("nodeIdentifierProperty"),
74+
nodeIdentifierProperty=arguments.get("nodeIdentifierProperty")
7575
)
7676

7777

0 commit comments

Comments
 (0)