@@ -282,7 +282,8 @@ def generate_graph_with_edges():
282282 "contributor_overlap_threshold": 2,
283283 "shared_organization_enabled": false,
284284 "common_stargazers_enabled": true,
285- "stargazer_overlap_threshold": 3
285+ "stargazer_overlap_threshold": 3,
286+ "strict_and_logic": true
286287 }
287288 }
288289 """
@@ -332,7 +333,7 @@ def generate_graph_with_edges():
332333 gexf_content = f .read ()
333334
334335 # Get comprehensive statistics
335- graph_stats = edge_generation_service .get_edge_statistics (G )
336+ graph_stats = edge_generation_service .get_detailed_edge_statistics (G )
336337
337338 return jsonify ({
338339 "success" : True ,
@@ -402,6 +403,12 @@ def get_edge_generation_criteria():
402403 "type" : "boolean" ,
403404 "default" : False ,
404405 "category" : "Logic Control"
406+ },
407+ "strict_and_logic" : {
408+ "description" : "Use strict AND logic to require ALL enabled criteria to be satisfied simultaneously" ,
409+ "type" : "boolean" ,
410+ "default" : False ,
411+ "category" : "Logic Control"
405412 }
406413 }
407414
@@ -517,7 +524,8 @@ def create_edges_on_graph():
517524 "shared_organization_enabled": false,
518525 "common_stargazers_enabled": true,
519526 "stargazer_threshold": 5,
520- "use_and_logic": false
527+ "use_and_logic": false,
528+ "strict_and_logic": true
521529 }
522530 }
523531 """
@@ -600,7 +608,7 @@ def create_edges_on_graph():
600608 updated_gexf_content = f .read ()
601609
602610 # Get statistics
603- graph_stats = edge_service .get_edge_statistics (G )
611+ graph_stats = edge_service .get_detailed_edge_statistics (G )
604612
605613 return jsonify ({
606614 "success" : True ,
0 commit comments