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
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)
|
|