C# Class Smrf.NodeXL.Visualization.Wpf.NodeXLControl

Inheritance: System.Windows.FrameworkElement
Mostrar archivo Open project: 2014-sed-team3/term-project Class Usage Examples

Protected Properties

Property Type Description
m_bAllowVertexDrag System.Boolean
m_bGraphZoomCentered System.Boolean
m_bMouseAlsoSelectsIncidentEdges System.Boolean
m_bShowVertexToolTips System.Boolean
m_eLayoutState LayoutState
m_eMouseMode MouseMode
m_fEdgeBundlerStraightening System.Single
m_oCollapsedGroups IVertex>.Dictionary
m_oDoubleClickedVertexInfo DoubleClickedVertexInfo
m_oGraph IGraph
m_oGraphDrawer GraphDrawer
m_oLastGraphDrawingContext GraphDrawingContext
m_oLastLayoutContext Smrf.NodeXL.Layouts.LayoutContext
m_oLastMouseMoveLocation Point
m_oLayout ILayout
m_oMarqueeBeingDragged DraggedMarquee
m_oSelectedEdges HashSet
m_oSelectedVertices HashSet
m_oTranslationBeingDragged DraggedTranslation
m_oVertexToolTip System.Windows.UIElement
m_oVerticesBeingDragged DraggedVertices

Private Properties

Property Type Description
AssertValid void
NodeXLControl System
VertexToolTipTracker_HideToolTip void
VertexToolTipTracker_ShowToolTip void

Public Methods

Method Description
ClearGraph ( ) : void
CollapseGroup ( String groupName, System.Boolean redrawGroupImmediately ) : void
CopyGraphToBitmap ( Int32 bitmapWidthPx, Int32 bitmapHeightPx ) : System.Drawing.Bitmap
DeselectAll ( ) : void
DrawGraph ( ) : void
DrawGraph ( System.Boolean layOutGraphFirst ) : void
ExpandGroup ( String groupName, System.Boolean redrawGroupImmediately ) : void
InvertSelection ( ) : void
IsCollapsedGroup ( String groupName ) : System.Boolean
SelectAll ( ) : void
SelectCollapsedGroup ( String groupName ) : void
SetEdgeSelected ( IEdge edge, System.Boolean selected, System.Boolean alsoAdjacentVertices ) : void
SetFont ( System.Windows.Media.Typeface typeface, Double fontSize ) : void
SetSelected ( IEnumerable vertices, IEnumerable edges ) : void
SetVertexSelected ( IVertex vertex, System.Boolean selected, System.Boolean alsoIncidentEdges ) : void
SnapVerticesToGrid ( Int32 gridSize ) : void
TryGetVertexFromPoint ( Point point, IVertex &vertex ) : System.Boolean
VertexOrEdgeIsSelected ( IMetadataProvider vertexOrEdge ) : System.Boolean

Protected Methods

Method Description
AddEdgeDuringGroupCollapseOrExpand ( IEdge oEdge, System.Boolean bDrawEdge ) : void
AddVertexDuringGroupExpand ( IVertex oVertex, System.Boolean bDrawVertex, Random oRandom ) : void
ArrangeOverride ( Size finalSize ) : Size
BundleAllEdgesIfAppropriate ( ) : void
CenterGraphZoom ( ) : void
CheckForMarqueeDragOnMouseMove ( System.Windows.Input.MouseEventArgs oMouseEventArgs ) : void
CheckForMarqueeDragOnMouseUp ( System.Windows.Input.MouseEventArgs oMouseEventArgs ) : void
CheckForToolTipsOnMouseMove ( System.Windows.Input.MouseEventArgs oMouseEventArgs ) : void
CheckForTranslationDragOnMouseMove ( System.Windows.Input.MouseEventArgs oMouseEventArgs ) : void
CheckForTranslationDragOnMouseUp ( System.Windows.Input.MouseEventArgs oMouseEventArgs ) : void
CheckForVertexDragOnMouseMove ( System.Windows.Input.MouseEventArgs oMouseEventArgs ) : void
CheckForVertexDragOnMouseUp ( System.Windows.Input.MouseEventArgs oMouseEventArgs ) : void
CheckIfLayingOutGraph ( String sMethodOrPropertyName ) : void
CollapseGroupInternal ( GroupInfo oGroupToCollapse, System.Boolean bRedrawGroupImmediately ) : void
ControlKeyIsPressed ( ) : System.Boolean
CreateDefaultVertexToolTip ( String sToolTip ) : UIElement
CreateEdgeBundler ( ) : EdgeBundler
CreateGraphDrawer ( ) : void
CreateTransforms ( ) : void
CreateVertexToolTipTracker ( ) : void
DragIsInProgress ( MouseDrag oMouseDrag, System.Windows.Input.MouseEventArgs oMouseEventArgs, MouseButtonState aeMouseButtonStates, Point &oMouseLocation ) : System.Boolean
DragMightBeInProgress ( ) : System.Boolean
DrawGraph ( Rect oGraphRectangle ) : void
EdgeDrawer_CurveStyleChanged ( Object oSender, EventArgs oEventArgs ) : void
EscapeKeyIsPressed ( ) : System.Boolean
FireGraphLaidOut ( AsyncCompletedEventArgs oAsyncCompletedEventArgs ) : void
FireGraphMouseButtonEvent ( GraphMouseButtonEventHandler oGraphMouseButtonEventHandler, System.Windows.Input.MouseButtonEventArgs oMouseButtonEventArgs, IVertex oVertex ) : void
FireGraphMouseDown ( System.Windows.Input.MouseButtonEventArgs oMouseButtonEventArgs, IVertex oVertex ) : void
FireGraphMouseUp ( System.Windows.Input.MouseButtonEventArgs oMouseButtonEventArgs, IVertex oVertex ) : void
FireGraphScaleChanged ( ) : void
FireGraphTranslationChanged ( ) : void
FireGraphZoomChanged ( ) : void
FireLayingOutGraph ( ) : void
FirePreviewVertexToolTipShown ( VertexToolTipShownEventArgs oVertexToolTipShownEventArgs ) : void
FireSelectionChanged ( ) : void
FireVertexClick ( IVertex oVertex ) : void
FireVertexDoubleClick ( IVertex oVertex ) : void
FireVertexEvent ( VertexEventHandler oVertexEventHandler, IVertex oVertex ) : void
FireVertexMouseHover ( IVertex oVertex ) : void
FireVertexMouseLeave ( ) : void
FireVerticesMoved ( ICollection oMovedVertices ) : void
GetBackgroundContrastColor ( ) : Color
GetCursorForMarqueeDrag ( ) : System.Windows.Input.Cursor
GetVisualChild ( Int32 index ) : Visual
LayOutOrDrawGraph ( ) : void
Layout_LayOutGraphCompleted ( Object oSender, AsyncCompletedEventArgs oAsyncCompletedEventArgs ) : void
LimitTranslation ( ) : void
LimitTranslation ( Double &dTranslateX, Double &dTranslateY ) : void
MarkVertexOrEdgeAsSelected ( IMetadataProvider oVertexOrEdge, System.Boolean bSelected ) : void
MeasureOverride ( Size availableSize ) : Size
MoveSelectedVertices ( System.Single fXDistance, System.Single fYDistance ) : void
OnKeyDown ( System e ) : void
OnMouseDown ( System.Windows.Input.MouseButtonEventArgs e ) : void
OnMouseDownLeft ( System.Windows.Input.MouseButtonEventArgs e, Point oMouseLocation, IVertex oClickedVertex ) : void
OnMouseDownLeftVertexNotClicked ( Point oMouseLocation ) : void
OnMouseDownMiddle ( Point oMouseLocation ) : void
OnMouseDownRight ( Point oMouseLocation, IVertex oClickedVertex ) : void
OnMouseLeave ( System.Windows.Input.MouseEventArgs e ) : void
OnMouseMove ( System.Windows.Input.MouseEventArgs e ) : void
OnMouseUp ( System.Windows.Input.MouseButtonEventArgs e ) : void
OnMouseWheel ( System.Windows.Input.MouseWheelEventArgs e ) : void
OnNewLayout ( ILayout oNewLayout ) : void
OnRender ( System.Windows.Media.DrawingContext drawingContext ) : void
OnRenderSizeChanged ( System.Windows.SizeChangedInfo sizeInfo ) : void
OnVertexDoubleClickLeft ( IVertex oDoubleClickedVertex ) : void
RebundleIncidentEdgesIfAppropriate ( IEnumerable oVertices ) : void
RemoveEdgeDuringGroupCollapseOrExpand ( IEdge oEdge, System.Boolean bUndrawEdge ) : void
RemoveVertexDuringGroupCollapseOrExpand ( IVertex oVertex, System.Boolean bUndrawVertex ) : void
RemoveVertexToolTip ( ) : void
RemoveVisualFromTopOfGraph ( MouseDragWithVisual oMouseDragWithVisual ) : void
ResetVertexToolTipTracker ( ) : void
SelectMarqueedVertices ( ) : void
SetAllEdgesSelected ( System.Boolean bSelected ) : void
SetAllSelected ( System.Boolean bSelect ) : void
SetAllVerticesSelected ( System.Boolean bSelected ) : void
SetEdgeSelectedInternal ( IEdge oEdge, System.Boolean bSelected ) : void
SetGraphZoom ( Double dGraphZoom, System.Boolean bLimitTranslation ) : void
SetGroupVertexAttributes ( GroupInfo oCollapsedGroup, IVertex oCollapsedGroupVertex, ICollection oVerticesToCollapse ) : void
SetVertexSelectedInternal ( IVertex oVertex, System.Boolean bSelected ) : void
StartTranslationDrag ( Point oMouseLocation ) : void
TransformLayout ( Rect oNewGraphRectangle ) : LayoutContext
TryGetLayoutRectangleMinusMargin ( System &oLayoutRectangleMinusMargin ) : System.Boolean
UpdateCollapsedGroupLocations ( IEnumerable oVertices ) : void
VertexOrEdgeCanBeSelected ( IMetadataProvider oVertexOrEdge, System.Boolean bSelected ) : System.Boolean
ZoomViaMouse ( System.Windows.Input.MouseEventArgs e, Double dGraphZoomFactor ) : void

Private Methods

Method Description
AssertValid ( ) : void
NodeXLControl ( ) : System

Static constructor for the NodeXLControl class.

VertexToolTipTracker_HideToolTip ( Object oSource, ToolTipTrackerEventArgs oToolTipTrackerEventArgs ) : void
VertexToolTipTracker_ShowToolTip ( Object oSource, ToolTipTrackerEventArgs oToolTipTrackerEventArgs ) : void

Method Details

AddEdgeDuringGroupCollapseOrExpand() protected method

protected AddEdgeDuringGroupCollapseOrExpand ( IEdge oEdge, System.Boolean bDrawEdge ) : void
oEdge IEdge
bDrawEdge System.Boolean
return void

AddVertexDuringGroupExpand() protected method

protected AddVertexDuringGroupExpand ( IVertex oVertex, System.Boolean bDrawVertex, Random oRandom ) : void
oVertex IVertex
bDrawVertex System.Boolean
oRandom System.Random
return void

ArrangeOverride() protected method

protected ArrangeOverride ( Size finalSize ) : Size
finalSize System.Windows.Size
return System.Windows.Size

BundleAllEdgesIfAppropriate() protected method

protected BundleAllEdgesIfAppropriate ( ) : void
return void

CenterGraphZoom() protected method

protected CenterGraphZoom ( ) : void
return void

CheckForMarqueeDragOnMouseMove() protected method

protected CheckForMarqueeDragOnMouseMove ( System.Windows.Input.MouseEventArgs oMouseEventArgs ) : void
oMouseEventArgs System.Windows.Input.MouseEventArgs
return void

CheckForMarqueeDragOnMouseUp() protected method

protected CheckForMarqueeDragOnMouseUp ( System.Windows.Input.MouseEventArgs oMouseEventArgs ) : void
oMouseEventArgs System.Windows.Input.MouseEventArgs
return void

CheckForToolTipsOnMouseMove() protected method

protected CheckForToolTipsOnMouseMove ( System.Windows.Input.MouseEventArgs oMouseEventArgs ) : void
oMouseEventArgs System.Windows.Input.MouseEventArgs
return void

CheckForTranslationDragOnMouseMove() protected method

protected CheckForTranslationDragOnMouseMove ( System.Windows.Input.MouseEventArgs oMouseEventArgs ) : void
oMouseEventArgs System.Windows.Input.MouseEventArgs
return void

CheckForTranslationDragOnMouseUp() protected method

protected CheckForTranslationDragOnMouseUp ( System.Windows.Input.MouseEventArgs oMouseEventArgs ) : void
oMouseEventArgs System.Windows.Input.MouseEventArgs
return void

CheckForVertexDragOnMouseMove() protected method

protected CheckForVertexDragOnMouseMove ( System.Windows.Input.MouseEventArgs oMouseEventArgs ) : void
oMouseEventArgs System.Windows.Input.MouseEventArgs
return void

CheckForVertexDragOnMouseUp() protected method

protected CheckForVertexDragOnMouseUp ( System.Windows.Input.MouseEventArgs oMouseEventArgs ) : void
oMouseEventArgs System.Windows.Input.MouseEventArgs
return void

CheckIfLayingOutGraph() protected method

protected CheckIfLayingOutGraph ( String sMethodOrPropertyName ) : void
sMethodOrPropertyName String
return void

ClearGraph() public method

public ClearGraph ( ) : void
return void

CollapseGroup() public method

public CollapseGroup ( String groupName, System.Boolean redrawGroupImmediately ) : void
groupName String
redrawGroupImmediately System.Boolean
return void

CollapseGroupInternal() protected method

protected CollapseGroupInternal ( GroupInfo oGroupToCollapse, System.Boolean bRedrawGroupImmediately ) : void
oGroupToCollapse Smrf.NodeXL.Core.GroupInfo
bRedrawGroupImmediately System.Boolean
return void

ControlKeyIsPressed() protected method

protected ControlKeyIsPressed ( ) : System.Boolean
return System.Boolean

CopyGraphToBitmap() public method

public CopyGraphToBitmap ( Int32 bitmapWidthPx, Int32 bitmapHeightPx ) : System.Drawing.Bitmap
bitmapWidthPx System.Int32
bitmapHeightPx System.Int32
return System.Drawing.Bitmap

CreateDefaultVertexToolTip() protected method

protected CreateDefaultVertexToolTip ( String sToolTip ) : UIElement
sToolTip String
return System.Windows.UIElement

CreateEdgeBundler() protected method

protected CreateEdgeBundler ( ) : EdgeBundler
return Smrf.NodeXL.Layouts.EdgeBundler

CreateGraphDrawer() protected method

protected CreateGraphDrawer ( ) : void
return void

CreateTransforms() protected method

protected CreateTransforms ( ) : void
return void

CreateVertexToolTipTracker() protected method

protected CreateVertexToolTipTracker ( ) : void
return void

DeselectAll() public method

public DeselectAll ( ) : void
return void

DragIsInProgress() protected method

protected DragIsInProgress ( MouseDrag oMouseDrag, System.Windows.Input.MouseEventArgs oMouseEventArgs, MouseButtonState aeMouseButtonStates, Point &oMouseLocation ) : System.Boolean
oMouseDrag MouseDrag
oMouseEventArgs System.Windows.Input.MouseEventArgs
aeMouseButtonStates MouseButtonState
oMouseLocation Point
return System.Boolean

DragMightBeInProgress() protected method

protected DragMightBeInProgress ( ) : System.Boolean
return System.Boolean

DrawGraph() public method

public DrawGraph ( ) : void
return void

DrawGraph() public method

public DrawGraph ( System.Boolean layOutGraphFirst ) : void
layOutGraphFirst System.Boolean
return void

DrawGraph() protected method

protected DrawGraph ( Rect oGraphRectangle ) : void
oGraphRectangle System.Windows.Rect
return void

EdgeDrawer_CurveStyleChanged() protected method

protected EdgeDrawer_CurveStyleChanged ( Object oSender, EventArgs oEventArgs ) : void
oSender Object
oEventArgs System.EventArgs
return void

EscapeKeyIsPressed() protected method

protected EscapeKeyIsPressed ( ) : System.Boolean
return System.Boolean

ExpandGroup() public method

public ExpandGroup ( String groupName, System.Boolean redrawGroupImmediately ) : void
groupName String
redrawGroupImmediately System.Boolean
return void

FireGraphLaidOut() protected method

protected FireGraphLaidOut ( AsyncCompletedEventArgs oAsyncCompletedEventArgs ) : void
oAsyncCompletedEventArgs System.ComponentModel.AsyncCompletedEventArgs
return void

FireGraphMouseButtonEvent() protected method

protected FireGraphMouseButtonEvent ( GraphMouseButtonEventHandler oGraphMouseButtonEventHandler, System.Windows.Input.MouseButtonEventArgs oMouseButtonEventArgs, IVertex oVertex ) : void
oGraphMouseButtonEventHandler GraphMouseButtonEventHandler
oMouseButtonEventArgs System.Windows.Input.MouseButtonEventArgs
oVertex IVertex
return void

FireGraphMouseDown() protected method

protected FireGraphMouseDown ( System.Windows.Input.MouseButtonEventArgs oMouseButtonEventArgs, IVertex oVertex ) : void
oMouseButtonEventArgs System.Windows.Input.MouseButtonEventArgs
oVertex IVertex
return void

FireGraphMouseUp() protected method

protected FireGraphMouseUp ( System.Windows.Input.MouseButtonEventArgs oMouseButtonEventArgs, IVertex oVertex ) : void
oMouseButtonEventArgs System.Windows.Input.MouseButtonEventArgs
oVertex IVertex
return void

FireGraphScaleChanged() protected method

protected FireGraphScaleChanged ( ) : void
return void

FireGraphTranslationChanged() protected method

protected FireGraphTranslationChanged ( ) : void
return void

FireGraphZoomChanged() protected method

protected FireGraphZoomChanged ( ) : void
return void

FireLayingOutGraph() protected method

protected FireLayingOutGraph ( ) : void
return void

FirePreviewVertexToolTipShown() protected method

protected FirePreviewVertexToolTipShown ( VertexToolTipShownEventArgs oVertexToolTipShownEventArgs ) : void
oVertexToolTipShownEventArgs VertexToolTipShownEventArgs
return void

FireSelectionChanged() protected method

protected FireSelectionChanged ( ) : void
return void

FireVertexClick() protected method

protected FireVertexClick ( IVertex oVertex ) : void
oVertex IVertex
return void

FireVertexDoubleClick() protected method

protected FireVertexDoubleClick ( IVertex oVertex ) : void
oVertex IVertex
return void

FireVertexEvent() protected method

protected FireVertexEvent ( VertexEventHandler oVertexEventHandler, IVertex oVertex ) : void
oVertexEventHandler VertexEventHandler
oVertex IVertex
return void

FireVertexMouseHover() protected method

protected FireVertexMouseHover ( IVertex oVertex ) : void
oVertex IVertex
return void

FireVertexMouseLeave() protected method

protected FireVertexMouseLeave ( ) : void
return void

FireVerticesMoved() protected method

protected FireVerticesMoved ( ICollection oMovedVertices ) : void
oMovedVertices ICollection
return void

GetBackgroundContrastColor() protected method

protected GetBackgroundContrastColor ( ) : Color
return Color

GetCursorForMarqueeDrag() protected method

protected GetCursorForMarqueeDrag ( ) : System.Windows.Input.Cursor
return System.Windows.Input.Cursor

GetVisualChild() protected method

protected GetVisualChild ( Int32 index ) : Visual
index System.Int32
return Visual

InvertSelection() public method

public InvertSelection ( ) : void
return void

IsCollapsedGroup() public method

public IsCollapsedGroup ( String groupName ) : System.Boolean
groupName String
return System.Boolean

LayOutOrDrawGraph() protected method

protected LayOutOrDrawGraph ( ) : void
return void

Layout_LayOutGraphCompleted() protected method

protected Layout_LayOutGraphCompleted ( Object oSender, AsyncCompletedEventArgs oAsyncCompletedEventArgs ) : void
oSender Object
oAsyncCompletedEventArgs System.ComponentModel.AsyncCompletedEventArgs
return void

LimitTranslation() protected method

protected LimitTranslation ( ) : void
return void

LimitTranslation() protected method

protected LimitTranslation ( Double &dTranslateX, Double &dTranslateY ) : void
dTranslateX Double
dTranslateY Double
return void

MarkVertexOrEdgeAsSelected() protected method

protected MarkVertexOrEdgeAsSelected ( IMetadataProvider oVertexOrEdge, System.Boolean bSelected ) : void
oVertexOrEdge IMetadataProvider
bSelected System.Boolean
return void

MeasureOverride() protected method

protected MeasureOverride ( Size availableSize ) : Size
availableSize System.Windows.Size
return System.Windows.Size

MoveSelectedVertices() protected method

protected MoveSelectedVertices ( System.Single fXDistance, System.Single fYDistance ) : void
fXDistance System.Single
fYDistance System.Single
return void

OnKeyDown() protected method

protected OnKeyDown ( System e ) : void
e System
return void

OnMouseDown() protected method

protected OnMouseDown ( System.Windows.Input.MouseButtonEventArgs e ) : void
e System.Windows.Input.MouseButtonEventArgs
return void

OnMouseDownLeft() protected method

protected OnMouseDownLeft ( System.Windows.Input.MouseButtonEventArgs e, Point oMouseLocation, IVertex oClickedVertex ) : void
e System.Windows.Input.MouseButtonEventArgs
oMouseLocation Point
oClickedVertex IVertex
return void

OnMouseDownLeftVertexNotClicked() protected method

protected OnMouseDownLeftVertexNotClicked ( Point oMouseLocation ) : void
oMouseLocation Point
return void

OnMouseDownMiddle() protected method

protected OnMouseDownMiddle ( Point oMouseLocation ) : void
oMouseLocation Point
return void

OnMouseDownRight() protected method

protected OnMouseDownRight ( Point oMouseLocation, IVertex oClickedVertex ) : void
oMouseLocation Point
oClickedVertex IVertex
return void

OnMouseLeave() protected method

protected OnMouseLeave ( System.Windows.Input.MouseEventArgs e ) : void
e System.Windows.Input.MouseEventArgs
return void

OnMouseMove() protected method

protected OnMouseMove ( System.Windows.Input.MouseEventArgs e ) : void
e System.Windows.Input.MouseEventArgs
return void

OnMouseUp() protected method

protected OnMouseUp ( System.Windows.Input.MouseButtonEventArgs e ) : void
e System.Windows.Input.MouseButtonEventArgs
return void

OnMouseWheel() protected method

protected OnMouseWheel ( System.Windows.Input.MouseWheelEventArgs e ) : void
e System.Windows.Input.MouseWheelEventArgs
return void

OnNewLayout() protected method

protected OnNewLayout ( ILayout oNewLayout ) : void
oNewLayout ILayout
return void

OnRender() protected method

protected OnRender ( System.Windows.Media.DrawingContext drawingContext ) : void
drawingContext System.Windows.Media.DrawingContext
return void

OnRenderSizeChanged() protected method

protected OnRenderSizeChanged ( System.Windows.SizeChangedInfo sizeInfo ) : void
sizeInfo System.Windows.SizeChangedInfo
return void

OnVertexDoubleClickLeft() protected method

protected OnVertexDoubleClickLeft ( IVertex oDoubleClickedVertex ) : void
oDoubleClickedVertex IVertex
return void

RebundleIncidentEdgesIfAppropriate() protected method

protected RebundleIncidentEdgesIfAppropriate ( IEnumerable oVertices ) : void
oVertices IEnumerable
return void

RemoveEdgeDuringGroupCollapseOrExpand() protected method

protected RemoveEdgeDuringGroupCollapseOrExpand ( IEdge oEdge, System.Boolean bUndrawEdge ) : void
oEdge IEdge
bUndrawEdge System.Boolean
return void

RemoveVertexDuringGroupCollapseOrExpand() protected method

protected RemoveVertexDuringGroupCollapseOrExpand ( IVertex oVertex, System.Boolean bUndrawVertex ) : void
oVertex IVertex
bUndrawVertex System.Boolean
return void

RemoveVertexToolTip() protected method

protected RemoveVertexToolTip ( ) : void
return void

RemoveVisualFromTopOfGraph() protected method

protected RemoveVisualFromTopOfGraph ( MouseDragWithVisual oMouseDragWithVisual ) : void
oMouseDragWithVisual MouseDragWithVisual
return void

ResetVertexToolTipTracker() protected method

protected ResetVertexToolTipTracker ( ) : void
return void

SelectAll() public method

public SelectAll ( ) : void
return void

SelectCollapsedGroup() public method

public SelectCollapsedGroup ( String groupName ) : void
groupName String
return void

SelectMarqueedVertices() protected method

protected SelectMarqueedVertices ( ) : void
return void

SetAllEdgesSelected() protected method

protected SetAllEdgesSelected ( System.Boolean bSelected ) : void
bSelected System.Boolean
return void

SetAllSelected() protected method

protected SetAllSelected ( System.Boolean bSelect ) : void
bSelect System.Boolean
return void

SetAllVerticesSelected() protected method

protected SetAllVerticesSelected ( System.Boolean bSelected ) : void
bSelected System.Boolean
return void

SetEdgeSelected() public method

public SetEdgeSelected ( IEdge edge, System.Boolean selected, System.Boolean alsoAdjacentVertices ) : void
edge IEdge
selected System.Boolean
alsoAdjacentVertices System.Boolean
return void

SetEdgeSelectedInternal() protected method

protected SetEdgeSelectedInternal ( IEdge oEdge, System.Boolean bSelected ) : void
oEdge IEdge
bSelected System.Boolean
return void

SetFont() public method

public SetFont ( System.Windows.Media.Typeface typeface, Double fontSize ) : void
typeface System.Windows.Media.Typeface
fontSize Double
return void

SetGraphZoom() protected method

protected SetGraphZoom ( Double dGraphZoom, System.Boolean bLimitTranslation ) : void
dGraphZoom Double
bLimitTranslation System.Boolean
return void

SetGroupVertexAttributes() protected method

protected SetGroupVertexAttributes ( GroupInfo oCollapsedGroup, IVertex oCollapsedGroupVertex, ICollection oVerticesToCollapse ) : void
oCollapsedGroup Smrf.NodeXL.Core.GroupInfo
oCollapsedGroupVertex IVertex
oVerticesToCollapse ICollection
return void

SetSelected() public method

public SetSelected ( IEnumerable vertices, IEnumerable edges ) : void
vertices IEnumerable
edges IEnumerable
return void

SetVertexSelected() public method

public SetVertexSelected ( IVertex vertex, System.Boolean selected, System.Boolean alsoIncidentEdges ) : void
vertex IVertex
selected System.Boolean
alsoIncidentEdges System.Boolean
return void

SetVertexSelectedInternal() protected method

protected SetVertexSelectedInternal ( IVertex oVertex, System.Boolean bSelected ) : void
oVertex IVertex
bSelected System.Boolean
return void

SnapVerticesToGrid() public method

public SnapVerticesToGrid ( Int32 gridSize ) : void
gridSize System.Int32
return void

StartTranslationDrag() protected method

protected StartTranslationDrag ( Point oMouseLocation ) : void
oMouseLocation Point
return void

TransformLayout() protected method

protected TransformLayout ( Rect oNewGraphRectangle ) : LayoutContext
oNewGraphRectangle System.Windows.Rect
return Smrf.NodeXL.Layouts.LayoutContext

TryGetLayoutRectangleMinusMargin() protected method

protected TryGetLayoutRectangleMinusMargin ( System &oLayoutRectangleMinusMargin ) : System.Boolean
oLayoutRectangleMinusMargin System
return System.Boolean

TryGetVertexFromPoint() public method

public TryGetVertexFromPoint ( Point point, IVertex &vertex ) : System.Boolean
point Point
vertex IVertex
return System.Boolean

UpdateCollapsedGroupLocations() protected method

protected UpdateCollapsedGroupLocations ( IEnumerable oVertices ) : void
oVertices IEnumerable
return void

VertexOrEdgeCanBeSelected() protected method

protected VertexOrEdgeCanBeSelected ( IMetadataProvider oVertexOrEdge, System.Boolean bSelected ) : System.Boolean
oVertexOrEdge IMetadataProvider
bSelected System.Boolean
return System.Boolean

VertexOrEdgeIsSelected() public method

public VertexOrEdgeIsSelected ( IMetadataProvider vertexOrEdge ) : System.Boolean
vertexOrEdge IMetadataProvider
return System.Boolean

ZoomViaMouse() protected method

protected ZoomViaMouse ( System.Windows.Input.MouseEventArgs e, Double dGraphZoomFactor ) : void
e System.Windows.Input.MouseEventArgs
dGraphZoomFactor Double
return void

Property Details

m_bAllowVertexDrag protected_oe property

protected Boolean,System m_bAllowVertexDrag
return System.Boolean

m_bGraphZoomCentered protected_oe property

protected Boolean,System m_bGraphZoomCentered
return System.Boolean

m_bMouseAlsoSelectsIncidentEdges protected_oe property

protected Boolean,System m_bMouseAlsoSelectsIncidentEdges
return System.Boolean

m_bShowVertexToolTips protected_oe property

protected Boolean,System m_bShowVertexToolTips
return System.Boolean

m_eLayoutState protected_oe property

protected LayoutState m_eLayoutState
return LayoutState

m_eMouseMode protected_oe property

protected MouseMode m_eMouseMode
return MouseMode

m_fEdgeBundlerStraightening protected_oe property

protected Single,System m_fEdgeBundlerStraightening
return System.Single

m_oCollapsedGroups protected_oe property

protected Dictionary m_oCollapsedGroups
return IVertex>.Dictionary

m_oDoubleClickedVertexInfo protected_oe property

protected DoubleClickedVertexInfo,Smrf.NodeXL.Visualization.Wpf m_oDoubleClickedVertexInfo
return DoubleClickedVertexInfo

m_oGraph protected_oe property

protected IGraph m_oGraph
return IGraph

m_oGraphDrawer protected_oe property

protected GraphDrawer,Smrf.NodeXL.Visualization.Wpf m_oGraphDrawer
return GraphDrawer

m_oLastGraphDrawingContext protected_oe property

protected GraphDrawingContext,Smrf.NodeXL.Visualization.Wpf m_oLastGraphDrawingContext
return GraphDrawingContext

m_oLastLayoutContext protected_oe property

protected LayoutContext,Smrf.NodeXL.Layouts m_oLastLayoutContext
return Smrf.NodeXL.Layouts.LayoutContext

m_oLastMouseMoveLocation protected_oe property

protected Point m_oLastMouseMoveLocation
return Point

m_oLayout protected_oe property

protected ILayout m_oLayout
return ILayout

m_oMarqueeBeingDragged protected_oe property

protected DraggedMarquee,Smrf.NodeXL.Visualization.Wpf m_oMarqueeBeingDragged
return DraggedMarquee

m_oSelectedEdges protected_oe property

protected HashSet m_oSelectedEdges
return HashSet

m_oSelectedVertices protected_oe property

protected HashSet m_oSelectedVertices
return HashSet

m_oTranslationBeingDragged protected_oe property

protected DraggedTranslation,Smrf.NodeXL.Visualization.Wpf m_oTranslationBeingDragged
return DraggedTranslation

m_oVertexToolTip protected_oe property

protected UIElement,System.Windows m_oVertexToolTip
return System.Windows.UIElement

m_oVerticesBeingDragged protected_oe property

protected DraggedVertices,Smrf.NodeXL.Visualization.Wpf m_oVerticesBeingDragged
return DraggedVertices