Property | Type | Description | |
---|---|---|---|
MaximumRelativeArrowSize | Double | ||
MaximumWidth | Double | ||
MinimumRelativeArrowSize | Double | ||
MinimumWidth | Double |
Property | Type | Description | |
---|---|---|---|
m_bDrawArrowOnDirectedEdge | System.Boolean | ||
m_dBezierDisplacementFactor | Double | ||
m_dRelativeArrowSize | Double | ||
m_dWidth | Double | ||
m_eCurveStyle | EdgeCurveStyle | ||
m_oLabelTextColor | Color |
Method | Description | |
---|---|---|
AssertValid ( ) : void | ||
EdgeDrawer ( ) : System |
Initializes a new instance of the EdgeDrawer class.
|
|
TryDrawEdge ( IEdge edge, |
Method | Description | |
---|---|---|
DrawArrow ( System.Windows.Media.DrawingContext oDrawingContext, Point oArrowTipLocation, Double dArrowAngle, Color oColor, Double dEdgeWidth ) : Point | ||
DrawBezierCurve ( IEdge oEdge, |
||
DrawBezierLabel ( System.Windows.Media.DrawingContext oDrawingContext, |
||
DrawCurveThroughIntermediatePoints ( IEdge oEdge, |
||
DrawLabel ( IEdge oEdge, System.Windows.Media.DrawingContext oDrawingContext, |
||
DrawSelfLoopAt ( System.Windows.Media.DrawingContext oDrawingContext, |
||
DrawStraightEdge ( IEdge oEdge, |
||
DrawStraightLabel ( System.Windows.Media.DrawingContext oDrawingContext, |
||
DrawTranslucentRectangle ( System.Windows.Media.DrawingContext oDrawingContext, |
||
FilterIntermediatePoints ( IEdge oEdge, |
||
GetDashStyle ( IEdge oEdge, Double dWidth, System.Boolean bDrawAsSelected ) : System.Windows.Media.DashStyle | ||
GetLabelFontSize ( IEdge oEdge ) : Double | ||
GetLabelTextColor ( IEdge oEdge, System.Boolean bDrawAsSelected, Color oEdgeColor, VisibilityKeyValue eVisibility ) : Color | ||
GetWidth ( IEdge oEdge ) : Double | ||
TryDrawSelfLoop ( IVertex oVertex, System.Windows.Media.DrawingContext oDrawingContext, |
||
TryGetVertexInformation ( IVertex oVertex1, IVertex oVertex2, |
protected DrawArrow ( System.Windows.Media.DrawingContext oDrawingContext, Point oArrowTipLocation, Double dArrowAngle, Color oColor, Double dEdgeWidth ) : Point | ||
oDrawingContext | System.Windows.Media.DrawingContext | |
oArrowTipLocation | Point | |
dArrowAngle | Double | |
oColor | Color | |
dEdgeWidth | Double | |
return | Point |
protected DrawBezierCurve ( IEdge oEdge, |
||
oEdge | IEdge | |
oGraphDrawingContext | ||
oDrawingContext | System.Windows.Media.DrawingContext | |
oEdgeEndpoint1 | Point | |
oEdgeEndpoint2 | Point | |
bDrawAsSelected | System.Boolean | |
bDrawArrow | System.Boolean | |
oPen | System.Windows.Media.Pen | |
oColor | Color | |
dWidth | Double | |
eVisibility | VisibilityKeyValue | |
sLabel | String | |
return | void |
protected DrawBezierLabel ( System.Windows.Media.DrawingContext oDrawingContext, |
||
oDrawingContext | System.Windows.Media.DrawingContext | |
oGraphDrawingContext | ||
oFormattedText | System.Windows.Media.FormattedText | |
oEdgeEndpoint1 | Point | |
oEdgeEndpoint2 | Point | |
oBezierCurve | System.Windows.Media.PathGeometry | |
dLabelOriginAsFractionOfEdgeLength | Double | |
dEdgeLength | Double | |
dBufferWidth | Double | |
oLabelTextColor | Color | |
oTranslucentRectangleColor | Color | |
dFontSize | Double | |
return | void |
protected DrawCurveThroughIntermediatePoints ( IEdge oEdge, |
||
oEdge | IEdge | |
oGraphDrawingContext | ||
oDrawingContext | System.Windows.Media.DrawingContext | |
oVertex1DrawingHistory | ||
oVertex2DrawingHistory | ||
oEdgeEndpoint1 | Point | |
oEdgeEndpoint2 | Point | |
oPen | System.Windows.Media.Pen | |
return | void |
protected DrawLabel ( IEdge oEdge, System.Windows.Media.DrawingContext oDrawingContext, |
||
oEdge | IEdge | |
oDrawingContext | System.Windows.Media.DrawingContext | |
oGraphDrawingContext | ||
bDrawAsSelected | System.Boolean | |
oEdgeColor | Color | |
eVisibility | VisibilityKeyValue | |
oEdgeEndpoint1 | Point | |
oEdgeEndpoint2 | Point | |
oBezierCurve | System.Windows.Media.PathGeometry | |
oBezierControlPoint | Point | |
sLabel | String | |
return | void |
protected DrawSelfLoopAt ( System.Windows.Media.DrawingContext oDrawingContext, |
||
oDrawingContext | System.Windows.Media.DrawingContext | |
oGraphDrawingContext | ||
oColor | Color | |
dWidth | Double | |
oSelfLoopEndpoint | Point | |
eFarthestGraphRectangleEdge | RectangleEdge | |
bDrawArrow | System.Boolean | |
return | void |
protected DrawStraightEdge ( IEdge oEdge, |
||
oEdge | IEdge | |
oGraphDrawingContext | ||
oDrawingContext | System.Windows.Media.DrawingContext | |
oEdgeEndpoint1 | Point | |
oEdgeEndpoint2 | Point | |
bDrawAsSelected | System.Boolean | |
bDrawArrow | System.Boolean | |
oPen | System.Windows.Media.Pen | |
oColor | Color | |
dWidth | Double | |
eVisibility | VisibilityKeyValue | |
sLabel | String | |
return | void |
protected DrawStraightLabel ( System.Windows.Media.DrawingContext oDrawingContext, |
||
oDrawingContext | System.Windows.Media.DrawingContext | |
oGraphDrawingContext | ||
oFormattedText | System.Windows.Media.FormattedText | |
oEdgeEndpoint1 | Point | |
oEdgeEndpoint2 | Point | |
dLabelOriginAsFractionOfEdgeLength | Double | |
dEdgeLength | Double | |
dBufferWidth | Double | |
oTranslucentRectangleColor | Color | |
return | void |
protected DrawTranslucentRectangle ( System.Windows.Media.DrawingContext oDrawingContext, |
||
oDrawingContext | System.Windows.Media.DrawingContext | |
oRectangle | ||
oColor | Color | |
return | void |
protected FilterIntermediatePoints ( IEdge oEdge, |
||
oEdge | IEdge | |
oVertex1DrawingHistory | ||
oVertex2DrawingHistory | ||
return | List |
protected GetDashStyle ( IEdge oEdge, Double dWidth, System.Boolean bDrawAsSelected ) : System.Windows.Media.DashStyle | ||
oEdge | IEdge | |
dWidth | Double | |
bDrawAsSelected | System.Boolean | |
return | System.Windows.Media.DashStyle |
protected GetLabelFontSize ( IEdge oEdge ) : Double | ||
oEdge | IEdge | |
return | Double |
protected GetLabelTextColor ( IEdge oEdge, System.Boolean bDrawAsSelected, Color oEdgeColor, VisibilityKeyValue eVisibility ) : Color | ||
oEdge | IEdge | |
bDrawAsSelected | System.Boolean | |
oEdgeColor | Color | |
eVisibility | VisibilityKeyValue | |
return | Color |
public TryDrawEdge ( IEdge edge, |
||
edge | IEdge | |
graphDrawingContext | ||
edgeDrawingHistory | ||
return | System.Boolean |
protected TryDrawSelfLoop ( IVertex oVertex, System.Windows.Media.DrawingContext oDrawingContext, |
||
oVertex | IVertex | |
oDrawingContext | System.Windows.Media.DrawingContext | |
oGraphDrawingContext | ||
oColor | Color | |
dWidth | Double | |
bDrawArrow | System.Boolean | |
return | System.Boolean |
protected TryGetVertexInformation ( IVertex oVertex1, IVertex oVertex2, |
||
oVertex1 | IVertex | |
oVertex2 | IVertex | |
oVertex1DrawingHistory | ||
oVertex2DrawingHistory | ||
oEdgeEndpoint1 | Point | |
oEdgeEndpoint2 | Point | |
return | System.Boolean |
public static Double MaximumRelativeArrowSize | ||
return | Double |
public static Double MinimumRelativeArrowSize | ||
return | Double |
protected Boolean,System m_bDrawArrowOnDirectedEdge | ||
return | System.Boolean |
protected Double m_dBezierDisplacementFactor | ||
return | Double |