Hey,
I have few questions
.
Im creating nodes via function:
private void Create_Click(object sender, EventArgs e)
{
ShapeNode NewNode = Diagram.Factory.CreateShapeNode(22, 5, 6, 6);
NewNode.Shape = Shapes.Rectangle;
NewNode.Text = NameInput.Text;
}
1. now what i need to do is after all needed nodes are created and linked by user, select one of created nodes in
function and count incoming and outgoing links in that node. node selection should be random or if one node doesnt meet the condition how to transfer to another one. Becuz from my point of view all nodes are named the same created this way and cant be distinct one form another or im wrong
2. when i find the node that meets my conditions (number of links) i would like to delete it from diagram and save that node and its neighbours on stack of some kind (is that posible?) for later reconstruction of graph...
3. is it possible to check the color of node neighbours. this is wher the distinction beatwean nodes would come in handy
In Graph managment Basic operation section i found this but when tried to used it i was asked for a type of data waht should i enter here if i want to put nodes in queue
Queue remaining = new Queue();
I searched forum, onlne help and checked the exampels in FlowChart.NET but havent seen any example of things that im asking. If i overlooked somthing im reall sorry.
Thnx.