int clicked2D3D(RMMenuItem item) { if (item.GetTitle().Equals(" ->2D 3D", System.StringComparison.Ordinal)) { // Change to 3D item.SetTitle(" 2D ->3D"); graphGenerator.changeNodeDimensionality(GenerateGraph.GRAPH_3D); } else { // To 2D item.SetTitle(" ->2D 3D"); graphGenerator.changeNodeDimensionality(GenerateGraph.GRAPH_2D); } //graphGenerator.NodeDegree = 5; //graphGenerator.showLegalNodesBasedOnFilterSettings(); return 1; }
int setNodeDegree(RMMenuItem item) { print("Clicked: " + item.index); graphGenerator.NodeDegree = 7; graphGenerator.showLegalNodesBasedOnFilterSettings(); item.SetTitle("Node Degree > 7"); return(1); }
int clicked2D3D(RMMenuItem item) { if (item.GetTitle().Equals(" ->2D 3D", System.StringComparison.Ordinal)) { // Change to 3D item.SetTitle(" 2D ->3D"); graphGenerator.changeNodeDimensionality(GenerateGraph.GRAPH_3D); } else { // To 2D item.SetTitle(" ->2D 3D"); graphGenerator.changeNodeDimensionality(GenerateGraph.GRAPH_2D); } //graphGenerator.NodeDegree = 5; //graphGenerator.showLegalNodesBasedOnFilterSettings(); return(1); }
int setNodeDegree(RMMenuItem item) { print("Clicked: " + item.index); graphGenerator.NodeDegree = 7; graphGenerator.showLegalNodesBasedOnFilterSettings(); item.SetTitle("Node Degree > 7"); return 1; }
int onClick(RMMenuItem item) { print("Clicked: " + item.index); item.SetTitle("Hi"); return 1; }
int onClick(RMMenuItem item) { print("Clicked: " + item.index); item.SetTitle("Hi"); return(1); }