| 420 | } |
| 421 | |
| 422 | AMLGraph::~AMLGraph(){ |
| 423 | int i = outVexList.size() - 1; |
| 424 | while(i >= 0){ |
| 425 | DelVex(i--); |
| 426 | } |
| 427 | outVexList.clear(); |
| 428 | if(type == DG) |
| 429 | inVexList.clear(); |
| 430 | } |
| 431 | |
| 432 | void AMLGraph::AddVex(MyGraphicsVexItem *gvex){ |
| 433 | AMLVex newVex(gvex); |