Ver Fonte

actually make those tables tables

Eren Yilmaz há 6 anos atrás
pai
commit
61be71b683
2 ficheiros alterados com 2 adições e 0 exclusões
  1. 1 0
      src/bk/Combine.java
  2. 1 0
      src/bk/ExtremalLayoutCalc.java

+ 1 - 0
src/bk/Combine.java

@@ -245,6 +245,7 @@ public class Combine implements AlgorithmStage {
     public String getDebugString()
     {
         String info = "| Node |  x  | x LU | x RU | x LL | x RL |\n";
+        info +=       "|------|-----|------|------|------|------|\n";
         for( LayeredGraphNode n : graph.getContainedNodes() )
         {
             info += "|" + TextLayoutHelper.strToLen( n.getName(), 6 ) + 

+ 1 - 0
src/bk/ExtremalLayoutCalc.java

@@ -136,6 +136,7 @@ public class ExtremalLayoutCalc implements AlgorithmStage {
     public String getDebugString()
     {
         String info = "| Node | Shift | Sink | Root | Align |  x  |  xDef  |\n";
+        info +=       "|------|-------|------|------|-------|-----|--------|\n";
         for( LayeredGraphNode n : graph.getContainedNodes() )
         {
             info += "|" + TextLayoutHelper.strToLen( n.getName(), 6 ) +