Exemple #1
0
        /// <summary>
        /// Clean way to minimize a graph.
        /// </summary>
        private designGraph Minimize(designGraph graph)
        {
            var mol    = OBFunctions.designgraphtomol(graph);
            var newMol = OBFunctions.InterStepMinimize(mol);

            OBFunctions.updatepositions(graph, newMol);
            return(graph);
        }