@Esmith08734 wrote:
I am wondering how I would select a link, delete that link and delete everything that comes underneath that link. So if I have A--->B-----C----->D and I deleted the link from B--C, then the nodes C and D and the link between them would get deleted.
Right now I am using the SelectionDeleting Event handler
Something like
private void myGraph_SelectionDeleting(object sender, EventArgs e)
{
foreach (GoObject in this.myGraph.Selection)
{
if (element is GoLink)
{
// I want to delete everything underneath.
}
Thanks for the help.
Posts: 5
Participants: 2