private IDictionary<YodiiGraphVertex, Point> RaisePositionRequest() { var v = VertexPositionRequest; VertexPositionEventArgs args = new VertexPositionEventArgs(); if( v != null ) { v( this, args ); } return args.VertexPositions; }
void _vm_VertexPositionRequest( object sender, VertexPositionEventArgs e ) { e.VertexPositions = GraphArea.GetVertexPositions(); }