Index: src/dgp/dgp1.cc
===================================================================
--- src/dgp/dgp1.cc	(revision 3b02b04ff9c7c3446ca477cd84c2bc7f737c38b4)
+++ src/dgp/dgp1.cc	(revision b97a55609b527df1f92edbe0c70d03a6385c0132)
@@ -173,5 +173,5 @@
   
   if(debug) sgraph.print_node_debug(stderr,"C ",newheadind,h);
-  if(debug) print_sets(newheadind);
+  // if(debug) print_sets(newheadind);
   return newheadind;
 }
@@ -192,5 +192,5 @@
   
   if(debug) sgraph.print_node_debug(stderr,"C ",newind,d);
-  if(debug) print_sets(newind);
+  // if(debug) print_sets(newind);
   
   return newind;
@@ -212,5 +212,5 @@
 
   if(debug) sgraph.print_node_debug(stderr,"C ",newheadind,h);
-  if(debug) print_sets(newheadind);
+  // if(debug) print_sets(newheadind);
   
   return newheadind;
@@ -230,5 +230,5 @@
 
   if(debug) sgraph.print_node_debug(stderr,"C ",newind,d);
-  if(debug) print_sets(newind);
+  // if(debug) print_sets(newind);
   
   return newind;
@@ -304,7 +304,7 @@
   if(debug) sgraph.print_arc(stderr,newheadind,d,l.role,0);
   if(debug) sgraph.print_node_debug(stderr,"U ",newheadind,h);
-  if(debug) print_sets(newheadind);
+  // if(debug) print_sets(newheadind);
   if(debug) sgraph.print_node_debug(stderr,"U ",newdepind,d);
-  if(debug) print_sets(newdepind);
+  // if(debug) print_sets(newdepind);
 }
 
Index: src/dgp/sgraph.cc
===================================================================
--- src/dgp/sgraph.cc	(revision 3b02b04ff9c7c3446ca477cd84c2bc7f737c38b4)
+++ src/dgp/sgraph.cc	(revision b97a55609b527df1f92edbe0c70d03a6385c0132)
@@ -113,6 +113,8 @@
     for(vector<Arc>::iterator h=node.heads.begin(); h!=node.heads.end(); ++h)
     {
-      if(cont) buf+=sprintf(buf,","); else cont=true;
-      buf+=sprintf(buf,"++%s-%d(%d~%d)",h->role.str(),h->dst,h->headanc,h->depanc);
+      // if(cont) buf+=sprintf(buf,","); else cont=true;
+      buf+=sprintf(buf,"(++%s:%d)",h->role.str(),h->dst);
+      // buf+=sprintf(buf,"++%s-%d(%d~%d)",h->role.str(),h->dst,h->headanc,h->depanc);
+      // buf+=sprintf(buf,"(<-%s-%d)",h->role.str(),h->dst);
     }
 
@@ -121,6 +123,8 @@
     {
       //      if(! nodes[d->dst].saturated()) continue; // NIE DRUKUJ NIENASYCONYCH PODRZEDNIKOW
-      if(cont) buf+=sprintf(buf,","); else cont=true;
-      buf+=sprintf(buf,"--%s-%d(%d~%d)",d->role.str(),d->dst,d->headanc,d->depanc);
+      // if(cont) buf+=sprintf(buf,","); else cont=true;
+      buf+=sprintf(buf,"(--%s:%d)",d->role.str(),d->dst);
+      // buf+=sprintf(buf,"--%s-%d(%d~%d)",d->role.str(),d->dst,d->headanc,d->depanc);
+      // buf+=sprintf(buf,"(-%s->%d)",d->role.str(),d->dst);
     }
   
