MCPcopy Create free account
hub / github.com/easy-graph/Easy-Graph / Graph_generate_linkgraph

Function Graph_generate_linkgraph

cpp_easygraph/classes/graph.cpp:539–546  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

537}
538
539py::object Graph_generate_linkgraph(py::object self, py::object weight){
540 Graph& G_ = self.cast<Graph&>();
541 std::string w = weight_to_string(weight);
542 Graph_L g_l = graph_to_linkgraph(G_, false, w, true, false);
543 G_.linkgraph_dirty = false;
544 G_.linkgraph_structure = g_l;
545 return py::none();
546}
547
548py::object Graph_nodes_subgraph(py::object self, py::list from_nodes) {
549 py::object G = self.attr("__class__")();

Callers

nothing calls this directly

Calls 2

weight_to_stringFunction · 0.85
graph_to_linkgraphFunction · 0.85

Tested by

no test coverage detected