private void Nesting_CreateMitosisGraph(DGraph graph) { DNode inNode = graph.AddNode("Mi_in"); inNode.DrawingNode.Attr.Shape = MsaglShape.Circle; inNode.DrawingNode.Attr.FillColor = MsaglColor.Red; DNode g0Node = Nesting_Cell_AddNode(graph, "Mi_g0", "G0"); DNode cycleNode = Nesting_Cell_AddNode(graph, "Mi_cycle", null); DGraph cycleGraph = new DGraph() { Name = "Mitosis Cycle" }; cycleGraph.ConfigureIncrementalLayout(); DNode c_G1_Node = Nesting_Cell_AddNode(cycleGraph, "Mi_cycle_G1", "G1"); DNode c_S_Node = Nesting_Cell_AddNode(cycleGraph, "Mi_cycle_S", "S"); DNode c_G2_Node = Nesting_Cell_AddNode(cycleGraph, "Mi_cycle_G2", "G2"); DNode c_M_Node = Nesting_Cell_AddNode(cycleGraph, "Mi_cycle_M", "M"); Nesting_Cell_AddEdge(cycleGraph, c_G1_Node, c_S_Node, null); Nesting_Cell_AddEdge(cycleGraph, c_S_Node, c_G2_Node, null); Nesting_Cell_AddEdge(cycleGraph, c_G2_Node, c_M_Node, null); cycleNode.Label = new DNestedGraphLabel(cycleNode, cycleGraph); Nesting_Cell_AddEdge(graph, cycleNode, g0Node, "exit cell\ncycle"); Nesting_Cell_AddEdge(graph, inNode, g0Node, null); DEdge g0_g1_edge = graph.AddEdgeBetweenNodes(g0Node, c_G1_Node); g0_g1_edge.DrawingEdge.Attr.Color = MsaglColor.Red;//*/ }