------------------------------------------------------------------------------
| 188 | |
| 189 | //------------------------------------------------------------------------------ |
| 190 | vtkGraphEdge* vtkMutableDirectedGraph::AddGraphEdge(vtkIdType u, vtkIdType v) |
| 191 | { |
| 192 | vtkEdgeType e = this->AddEdge(u, v); |
| 193 | this->GraphEdge->SetSource(e.Source); |
| 194 | this->GraphEdge->SetTarget(e.Target); |
| 195 | this->GraphEdge->SetId(e.Id); |
| 196 | return this->GraphEdge; |
| 197 | } |
| 198 | |
| 199 | //------------------------------------------------------------------------------ |
| 200 | vtkIdType vtkMutableDirectedGraph::AddChild(vtkIdType parent, vtkVariantArray* propertyArr /* = 0*/) |