Table of Contents

Class: AnimatedSubGraph ./AnimatedDataStructures.py

Visualizes status of vertices and edges in relation to the SubGraph by coloring them - color (default is blue) if they are added to the SubGraph

Base Classes   
SubGraph
Methods   
AddEdge
AddEdgeByVertices
AddVertex
Clear
DeleteEdge
__init__
  AddEdge 
AddEdge (
        self,
        edge,
        head=None,
        )

  AddEdgeByVertices 
AddEdgeByVertices (
        self,
        tail,
        head,
        )

  AddVertex 
AddVertex ( self,  v )

  Clear 
Clear ( self,  color="grey" )

Delete all vertices and edges from the animated subgraph. and color them with color (grey is default)

  DeleteEdge 
DeleteEdge (
        self,
        edge,
        head=None,
        )

  __init__ 
__init__ (
        self,
        G,
        theAnimator,
        color="blue",
        )

color is used to color vertices and edges in the subgraph. theAnimator will usually be the GraphDisplay(Frame/Toplevel)


Table of Contents

This document was automatically generated on Fri Mar 15 11:15:02 2002 by HappyDoc version 2.0