Property | Type | Description | |
---|---|---|---|
m_oAllVertexDrawingVisuals | System.Windows.Media.DrawingVisual | ||
m_oBackColor | Color | ||
m_oBackgroundImage | ImageSource | ||
m_oEdgeDrawer | EdgeDrawer | ||
m_oGroupDrawer | GroupDrawer | ||
m_oSelectedEdgeDrawingVisuals | DrawingVisual | ||
m_oUnselectedEdgeDrawingVisuals | DrawingVisual | ||
m_oVertexDrawer | VertexDrawer | ||
m_oVisualCollection | VisualCollection |
Method | Description | |
---|---|---|
AddVisualOnTopOfGraph ( Visual visual ) : void | ||
AssertValid ( ) : void | ||
DrawGraph ( IGraph graph, |
||
DrawNewEdge ( IEdge newEdge, |
||
DrawNewVertex ( IVertex newVertex, |
||
GetVerticesFromRectangle ( |
||
GraphDrawer ( Visual parentVisual ) : System |
Initializes a new instance of the GraphDrawer class.
|
|
RedrawEdge ( IEdge edge, |
||
RedrawVertex ( IVertex vertex, |
||
RemoveVisualFromTopOfGraph ( Visual visual ) : void | ||
TryGetVertexFromPoint ( Point point, IVertex &vertex ) : System.Boolean | ||
UndrawEdge ( IEdge edge, |
||
UndrawVertex ( IVertex vertex, |
Method | Description | |
---|---|---|
DrawBackground ( IGraph oGraph, |
||
DrawEdge ( IEdge oEdge, |
||
DrawVertex ( IVertex oVertex, |
||
GetEdgeDrawingVisuals ( |
||
GetVerticesToDraw ( IGraph oGraph ) : ICollection |
||
RetrieveVertexFromDrawingVisual ( System.Windows.Media.DrawingVisual oDrawingVisual ) : IVertex | ||
SaveVertexOnDrawingVisual ( IVertex oVertex, System.Windows.Media.DrawingVisual oDrawingVisual ) : void |
public AddVisualOnTopOfGraph ( Visual visual ) : void | ||
visual | Visual | |
return | void |
protected DrawBackground ( IGraph oGraph, |
||
oGraph | IGraph | |
oGraphDrawingContext | ||
return | void |
protected DrawEdge ( IEdge oEdge, |
||
oEdge | IEdge | |
oGraphDrawingContext | ||
return | void |
public DrawGraph ( IGraph graph, |
||
graph | IGraph | |
graphDrawingContext | ||
return | void |
public DrawNewEdge ( IEdge newEdge, |
||
newEdge | IEdge | |
graphDrawingContext | ||
return | void |
public DrawNewVertex ( IVertex newVertex, |
||
newVertex | IVertex | |
graphDrawingContext | ||
return | void |
protected DrawVertex ( IVertex oVertex, |
||
oVertex | IVertex | |
oGraphDrawingContext | ||
return | void |
protected GetEdgeDrawingVisuals ( |
||
oEdgeDrawingHistory | ||
return | System.Windows.Media.DrawingVisual |
public GetVerticesFromRectangle ( |
||
rectangle | ||
return | ICollection |
protected GetVerticesToDraw ( IGraph oGraph ) : ICollection |
||
oGraph | IGraph | |
return | ICollection |
public GraphDrawer ( Visual parentVisual ) : System | ||
parentVisual | Visual |
/// The parent of the contained |
return | System |
public RedrawEdge ( IEdge edge, |
||
edge | IEdge | |
graphDrawingContext | ||
return | void |
public RedrawVertex ( IVertex vertex, |
||
vertex | IVertex | |
graphDrawingContext | ||
return | void |
public RemoveVisualFromTopOfGraph ( Visual visual ) : void | ||
visual | Visual | |
return | void |
protected RetrieveVertexFromDrawingVisual ( System.Windows.Media.DrawingVisual oDrawingVisual ) : IVertex | ||
oDrawingVisual | System.Windows.Media.DrawingVisual | |
return | IVertex |
protected SaveVertexOnDrawingVisual ( IVertex oVertex, System.Windows.Media.DrawingVisual oDrawingVisual ) : void | ||
oVertex | IVertex | |
oDrawingVisual | System.Windows.Media.DrawingVisual | |
return | void |
public TryGetVertexFromPoint ( Point point, IVertex &vertex ) : System.Boolean | ||
point | Point | |
vertex | IVertex | |
return | System.Boolean |
public UndrawEdge ( IEdge edge, |
||
edge | IEdge | |
graphDrawingContext | ||
return | void |
public UndrawVertex ( IVertex vertex, |
||
vertex | IVertex | |
graphDrawingContext | ||
return | void |
protected DrawingVisual,System.Windows.Media m_oAllVertexDrawingVisuals | ||
return | System.Windows.Media.DrawingVisual |
protected ImageSource m_oBackgroundImage | ||
return | ImageSource |
protected DrawingVisual m_oSelectedEdgeDrawingVisuals | ||
return | DrawingVisual |
protected DrawingVisual m_oUnselectedEdgeDrawingVisuals | ||
return | DrawingVisual |