]> granicus.if.org Git - graphviz/commitdiff
circogen getRotation: remove commented out code
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Tue, 12 Jul 2022 03:45:28 +0000 (20:45 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 17 Jul 2022 04:50:09 +0000 (21:50 -0700)
lib/circogen/circpos.c

index 5bfe5a1859265c1337fdb053cc4817d421e81018..ce9f702d080db75dd5a5c4dab5e230dcb034c2b3 100644 (file)
@@ -48,7 +48,6 @@ getRotation(block_t * sn, Agraph_t * g, double x, double y, double theta)
 {
     double mindist2;
     Agraph_t *subg;
-    /* Agedge_t* e; */
     Agnode_t *n, *closest_node, *neighbor;
     nodelist_t *list;
     double len2, newX, newY;
@@ -92,7 +91,6 @@ getRotation(block_t * sn, Agraph_t * g, double x, double y, double theta)
        }
     }
 
-    /* if((neighbor != closest_node) && !ISPARENT(neighbor)) { */
     if (neighbor != closest_node) {
        double rho = sn->rad0;
        double r = sn->radius - rho;