------------------------------------------------------------------------------
| 44 | |
| 45 | //------------------------------------------------------------------------------ |
| 46 | vtkIdType vtkMutableDirectedGraph::AddVertex() |
| 47 | { |
| 48 | if (this->Internals->UsingPedigreeIds && this->GetDistributedGraphHelper() != nullptr) |
| 49 | { |
| 50 | vtkErrorMacro("Adding vertex without a pedigree ID into a distributed graph that uses pedigree " |
| 51 | "IDs to name vertices"); |
| 52 | } |
| 53 | |
| 54 | return this->AddVertex(nullptr); |
| 55 | } |
| 56 | //------------------------------------------------------------------------------ |
| 57 | vtkIdType vtkMutableDirectedGraph::AddVertex(vtkVariantArray* propertyArr) |
| 58 | { |