summaryrefslogtreecommitdiffstats
path: root/src/graphlayout
diff options
context:
space:
mode:
authorTim Dwyer <tgdwyer@gmail.com>2006-07-17 05:16:14 +0000
committertgdwyer <tgdwyer@users.sourceforge.net>2006-07-17 05:16:14 +0000
commit0e296bc6e190ad9a90f82c016f3a2e5a66405c50 (patch)
tree0f18824fd1f6dc41382c2aed613b0e758e6cf76e /src/graphlayout
parentremove overlaps between connected components (diff)
downloadinkscape-0e296bc6e190ad9a90f82c016f3a2e5a66405c50.tar.gz
inkscape-0e296bc6e190ad9a90f82c016f3a2e5a66405c50.zip
remove debug messages
(bzr r1426)
Diffstat (limited to 'src/graphlayout')
-rw-r--r--src/graphlayout/graphlayout.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/graphlayout/graphlayout.cpp b/src/graphlayout/graphlayout.cpp
index 1b77b5afa..dc9dc3ea9 100644
--- a/src/graphlayout/graphlayout.cpp
+++ b/src/graphlayout/graphlayout.cpp
@@ -136,7 +136,7 @@ void graphlayout(GSList const *const items) {
map<string,unsigned>::iterator v_pair=nodelookup.find(iv->id);
if(v_pair!=nodelookup.end()) {
unsigned v=v_pair->second;
- cout << "Edge: (" << u <<","<<v<<")"<<endl;
+ //cout << "Edge: (" << u <<","<<v<<")"<<endl;
es.push_back(make_pair(u,v));
if(conn->style->marker[SP_MARKER_LOC_END].set) {
if(directed && strcmp(conn->style->marker[SP_MARKER_LOC_END].value,"none")) {
@@ -157,13 +157,7 @@ void graphlayout(GSList const *const items) {
connectedComponents(rs,es,scx,scy,cs);
for(unsigned i=0;i<cs.size();i++) {
Component* c=cs[i];
- printf("Component %d:\n",i);
- for(unsigned j=0;j<c->edges.size();j++) {
- Edge& e=c->edges[j];
- printf("(%d,%d) ",e.first,e.second);
- }
if(c->edges.size()<2) continue;
- cout << endl;
ConstrainedMajorizationLayout alg(c->rects,c->edges,eweights,ideal_connector_length);
alg.setupConstraints(NULL,NULL,avoid_overlaps,
NULL,NULL,&c->scx,&c->scy,NULL,NULL);