| 78 | } |
| 79 | |
| 80 | py::object Graph_add_node(py::args args, py::kwargs kwargs) { |
| 81 | Graph& self = args[0].cast<Graph&>(); |
| 82 | self.dirty_nodes = true; |
| 83 | self.dirty_adj = true; |
| 84 | self.linkgraph_dirty = true; |
| 85 | py::object one_node_for_adding = args[1]; |
| 86 | py::dict node_attr = kwargs; |
| 87 | _add_one_node(self, one_node_for_adding, node_attr); |
| 88 | return py::none(); |
| 89 | } |
| 90 | |
| 91 | py::object Graph_add_nodes(Graph& self, py::list nodes_for_adding, py::list nodes_attr) { |
| 92 | self.dirty_nodes = true; |
nothing calls this directly
no test coverage detected