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
파일 보기 프로젝트 열기: 2014-sed-team3/term-project 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
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