C# Класс Smrf.NodeXL.Visualization.Wpf.CollapsedGroupDrawingManager

Manages the drawing of the vertex that represents a collapsed group and its incident edges.
Call PreDrawVertex before drawing a vertex, and after drawing the vertex. Call after expanding a collapsed group.
Наследование: VisualizationBase
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
FanMotifRadius Double
MaximumCliqueRadius Double
MaximumDConnectorRadius Double
MaximumFanMotifAngleRadians Double
MinimumCliqueRadius Double
MinimumDConnectorRadius Double
MinimumFanMotifAngleRadians Double
m_oCollapsedGroup Smrf.NodeXL.Core.GroupInfo
m_oCollapsedGroupAttributes Smrf.NodeXL.Core.CollapsedGroupAttributes
m_oCollapsedGroupVertex IVertex

Открытые методы

Метод Описание
AssertValid ( ) : void
CollapsedGroupDrawingManager ( ) : System

Initializes a new instance of the class.

GetCollapsedMotifOutlineColor ( Byte alpha ) : Color
MoveVertexBoundsIfNecessary ( GraphDrawingContext graphDrawingContext, Double graphScale, Rect &vertexBounds ) : void
PostDrawVertex ( VertexShape vertexShape, Color vertexColor, GraphDrawingContext graphDrawingContext, System.Windows.Media.DrawingContext drawingContext, System.Boolean drawAsSelected, Double graphScale, VertexLabelDrawer vertexLabelDrawer, FormattedTextManager formattedTextManager, VertexDrawingHistory vertexDrawingHistory ) : void
PreDrawVertex ( IVertex vertex ) : void
RestoreExternalEdge ( IEdge expandedExternalEdge ) : void

Защищенные методы

Метод Описание
DrawFanMotifFan ( Color oHeadColor, System.Windows.Media.DrawingContext oDrawingContext, System.Boolean bDrawAsSelected, Double dGraphScale, VertexDrawingHistory oVertexDrawingHistory ) : void
DrawPlusSign ( VertexShape eVertexShape, Color oVertexColor, GraphDrawingContext oGraphDrawingContext, System.Windows.Media.DrawingContext oDrawingContext, Double dGraphScale, VertexLabelDrawer oVertexLabelDrawer, FormattedTextManager oFormattedTextManager, VertexDrawingHistory oVertexDrawingHistory ) : void
GetAnchorVertexIndexes ( Int32 iAnchorVertices ) : Int32>.Dictionary
GetAnchorVertexNames ( Int32 iAnchorVertices ) : IEnumerable
GetCircleSegment ( Rect oVertexBounds, Double dAngleRadians, Double dGraphScale ) : System.Windows.Media.PathGeometry
GetCollapsedCliqueMotifToolTip ( Int32 iCliqueVertices ) : String
GetCollapsedDConnectorMotifToolTip ( Int32 iAnchorVertices, Int32 iSpanVertices ) : String
GetFanMotifAngleRadians ( ) : Double
SetCollapsedCliqueMotifAttributes ( ) : void
SetCollapsedDConnectorMotifAttributes ( ) : void
SetCollapsedDConnectorMotifEdgeAttributes ( Int32 iAnchorVertices ) : void
SetCollapsedDConnectorMotifEdgeColor ( IEdge oEdge, System oColor ) : void
SetCollapsedDConnectorMotifEdgeWidth ( IEdge oEdge, Double dWidth ) : void
SetCollapsedFanMotifAttributes ( ) : void
SetDefaultAttributesOnCollapsedGroup ( ) : void
SetSpecifiedAttributesOnCollapsedGroup ( ) : void
SetVertexColorFromCollapsedGroupAttributes ( String sKeyToSet ) : void
TryGetColor ( String sKey, System &oColor ) : System.Boolean

Описание методов

AssertValid() публичный Метод

public AssertValid ( ) : void
Результат void

CollapsedGroupDrawingManager() публичный Метод

Initializes a new instance of the class.
public CollapsedGroupDrawingManager ( ) : System
Результат System

DrawFanMotifFan() защищенный Метод

protected DrawFanMotifFan ( Color oHeadColor, System.Windows.Media.DrawingContext oDrawingContext, System.Boolean bDrawAsSelected, Double dGraphScale, VertexDrawingHistory oVertexDrawingHistory ) : void
oHeadColor Color
oDrawingContext System.Windows.Media.DrawingContext
bDrawAsSelected System.Boolean
dGraphScale Double
oVertexDrawingHistory VertexDrawingHistory
Результат void

DrawPlusSign() защищенный Метод

protected DrawPlusSign ( VertexShape eVertexShape, Color oVertexColor, GraphDrawingContext oGraphDrawingContext, System.Windows.Media.DrawingContext oDrawingContext, Double dGraphScale, VertexLabelDrawer oVertexLabelDrawer, FormattedTextManager oFormattedTextManager, VertexDrawingHistory oVertexDrawingHistory ) : void
eVertexShape VertexShape
oVertexColor Color
oGraphDrawingContext GraphDrawingContext
oDrawingContext System.Windows.Media.DrawingContext
dGraphScale Double
oVertexLabelDrawer VertexLabelDrawer
oFormattedTextManager FormattedTextManager
oVertexDrawingHistory VertexDrawingHistory
Результат void

GetAnchorVertexIndexes() защищенный Метод

protected GetAnchorVertexIndexes ( Int32 iAnchorVertices ) : Int32>.Dictionary
iAnchorVertices System.Int32
Результат Int32>.Dictionary

GetAnchorVertexNames() защищенный Метод

protected GetAnchorVertexNames ( Int32 iAnchorVertices ) : IEnumerable
iAnchorVertices System.Int32
Результат IEnumerable

GetCircleSegment() защищенный Метод

protected GetCircleSegment ( Rect oVertexBounds, Double dAngleRadians, Double dGraphScale ) : System.Windows.Media.PathGeometry
oVertexBounds System.Windows.Rect
dAngleRadians Double
dGraphScale Double
Результат System.Windows.Media.PathGeometry

GetCollapsedCliqueMotifToolTip() защищенный Метод

protected GetCollapsedCliqueMotifToolTip ( Int32 iCliqueVertices ) : String
iCliqueVertices System.Int32
Результат String

GetCollapsedDConnectorMotifToolTip() защищенный Метод

protected GetCollapsedDConnectorMotifToolTip ( Int32 iAnchorVertices, Int32 iSpanVertices ) : String
iAnchorVertices System.Int32
iSpanVertices System.Int32
Результат String

GetCollapsedMotifOutlineColor() публичный статический Метод

public static GetCollapsedMotifOutlineColor ( Byte alpha ) : Color
alpha Byte
Результат Color

GetFanMotifAngleRadians() защищенный Метод

protected GetFanMotifAngleRadians ( ) : Double
Результат Double

MoveVertexBoundsIfNecessary() публичный Метод

public MoveVertexBoundsIfNecessary ( GraphDrawingContext graphDrawingContext, Double graphScale, Rect &vertexBounds ) : void
graphDrawingContext GraphDrawingContext
graphScale Double
vertexBounds System.Windows.Rect
Результат void

PostDrawVertex() публичный Метод

public PostDrawVertex ( VertexShape vertexShape, Color vertexColor, GraphDrawingContext graphDrawingContext, System.Windows.Media.DrawingContext drawingContext, System.Boolean drawAsSelected, Double graphScale, VertexLabelDrawer vertexLabelDrawer, FormattedTextManager formattedTextManager, VertexDrawingHistory vertexDrawingHistory ) : void
vertexShape VertexShape
vertexColor Color
graphDrawingContext GraphDrawingContext
drawingContext System.Windows.Media.DrawingContext
drawAsSelected System.Boolean
graphScale Double
vertexLabelDrawer VertexLabelDrawer
formattedTextManager FormattedTextManager
vertexDrawingHistory VertexDrawingHistory
Результат void

PreDrawVertex() публичный Метод

public PreDrawVertex ( IVertex vertex ) : void
vertex IVertex
Результат void

RestoreExternalEdge() публичный статический Метод

public static RestoreExternalEdge ( IEdge expandedExternalEdge ) : void
expandedExternalEdge IEdge
Результат void

SetCollapsedCliqueMotifAttributes() защищенный Метод

protected SetCollapsedCliqueMotifAttributes ( ) : void
Результат void

SetCollapsedDConnectorMotifAttributes() защищенный Метод

protected SetCollapsedDConnectorMotifAttributes ( ) : void
Результат void

SetCollapsedDConnectorMotifEdgeAttributes() защищенный Метод

protected SetCollapsedDConnectorMotifEdgeAttributes ( Int32 iAnchorVertices ) : void
iAnchorVertices System.Int32
Результат void

SetCollapsedDConnectorMotifEdgeColor() защищенный Метод

protected SetCollapsedDConnectorMotifEdgeColor ( IEdge oEdge, System oColor ) : void
oEdge IEdge
oColor System
Результат void

SetCollapsedDConnectorMotifEdgeWidth() защищенный Метод

protected SetCollapsedDConnectorMotifEdgeWidth ( IEdge oEdge, Double dWidth ) : void
oEdge IEdge
dWidth Double
Результат void

SetCollapsedFanMotifAttributes() защищенный Метод

protected SetCollapsedFanMotifAttributes ( ) : void
Результат void

SetDefaultAttributesOnCollapsedGroup() защищенный Метод

protected SetDefaultAttributesOnCollapsedGroup ( ) : void
Результат void

SetSpecifiedAttributesOnCollapsedGroup() защищенный Метод

protected SetSpecifiedAttributesOnCollapsedGroup ( ) : void
Результат void

SetVertexColorFromCollapsedGroupAttributes() защищенный Метод

protected SetVertexColorFromCollapsedGroupAttributes ( String sKeyToSet ) : void
sKeyToSet String
Результат void

TryGetColor() защищенный Метод

protected TryGetColor ( String sKey, System &oColor ) : System.Boolean
sKey String
oColor System
Результат System.Boolean

Описание свойств

FanMotifRadius защищенное свойство

protected Double FanMotifRadius
Результат Double

MaximumCliqueRadius защищенное свойство

protected Double MaximumCliqueRadius
Результат Double

MaximumDConnectorRadius защищенное свойство

protected Double MaximumDConnectorRadius
Результат Double

MaximumFanMotifAngleRadians защищенное свойство

protected Double MaximumFanMotifAngleRadians
Результат Double

MinimumCliqueRadius защищенное свойство

protected Double MinimumCliqueRadius
Результат Double

MinimumDConnectorRadius защищенное свойство

protected Double MinimumDConnectorRadius
Результат Double

MinimumFanMotifAngleRadians защищенное свойство

protected Double MinimumFanMotifAngleRadians
Результат Double

m_oCollapsedGroup защищенное свойство

protected GroupInfo,Smrf.NodeXL.Core m_oCollapsedGroup
Результат Smrf.NodeXL.Core.GroupInfo

m_oCollapsedGroupAttributes защищенное свойство

protected CollapsedGroupAttributes,Smrf.NodeXL.Core m_oCollapsedGroupAttributes
Результат Smrf.NodeXL.Core.CollapsedGroupAttributes

m_oCollapsedGroupVertex защищенное свойство

protected IVertex m_oCollapsedGroupVertex
Результат IVertex