| 152 | } |
| 153 | |
| 154 | py::object DiGraph_add_node(py::args args, py::kwargs kwargs) { |
| 155 | DiGraph& self = args[0].cast<DiGraph&>(); |
| 156 | self.dirty_nodes = true; |
| 157 | self.dirty_adj = true; |
| 158 | py::object one_node_for_adding = args[1]; |
| 159 | py::dict node_attr = kwargs; |
| 160 | DiGraph_add_one_node(self, one_node_for_adding, node_attr); |
| 161 | return py::none(); |
| 162 | } |
| 163 | |
| 164 | py::object DiGraph_add_nodes(DiGraph& self, py::list nodes_for_adding, py::list nodes_attr) { |
| 165 | self.dirty_nodes = true; |
nothing calls this directly
no test coverage detected