Small annoyance

Topics: algorithm, graph
Feb 4, 2010 at 12:06 PM

Hi,

The VertextAction and the EdgeAction to not provide the graph they are called on. This annoys a little bit since the graphs they are called upon have to be global within the context.

Is it possible to pass on the reference to the current graph in accordance to the normal <...>Handler( object sender, EventArgs e)?

Thank you for this software ;)

Christoph

Coordinator
Feb 4, 2010 at 1:20 PM
You can use closures to capture the graph.

On Thu, Feb 4, 2010 at 5:06 AM, ChBaeumer <notifications@codeplex.com> wrote:

From: ChBaeumer

Hi,

The VertextAction and the EdgeAction to not provide the graph they are called on. This annoys a little bit since the graphs they are called upon have to be global within the context.

Is it possible to pass on the reference to the current graph in accordance to the normal <...>Handler( object sender, EventArgs e)?

Thank you for this software ;)

Christoph

Read the full discussion online.

To add a post to this discussion, reply to this email (quickgraph@discussions.codeplex.com)

To start a new discussion for this project, email quickgraph@discussions.codeplex.com

You are receiving this email because you subscribed to this discussion on CodePlex. You can unsubscribe or change your settings on codePlex.com.

Please note: Images and attachments will be removed from emails. Any posts to this discussion will also be available online at codeplex.com




--
This posting is provided "AS IS" with no warranties, and confers no rights.