diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2012-07-01 11:52:52 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2012-07-01 11:52:52 (GMT) |
commit | 5dcd05f19ac62f6ff922176cd0ae6f8839910f2e (patch) | |
tree | 6fbf5798a57ab6874b68b6ea523619481013c814 /src/graph | |
parent | 51dff92af8ca82ac1cce3f74be70c3705ca88683 (diff) |
Built the graph view when defining a target address.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@247 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/graph')
-rw-r--r-- | src/graph/node.c | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/src/graph/node.c b/src/graph/node.c index 3e6cc14..0d278f3 100644 --- a/src/graph/node.c +++ b/src/graph/node.c @@ -203,17 +203,12 @@ char *g_graph_node_register_for_dot(const GGraphNode *node, char *cmds) cmds = stradd(cmds, node->name); cmds = stradd(cmds, " [shape=box, fixedsize "); - - printf(" req=(%d ; %d) -->> (%g ; %g)\n", - requisition.width, - requisition.height, - requisition.width / G_GRAPH_NODE_GET_CLASS(node)->dpi_x, - requisition.height / G_GRAPH_NODE_GET_CLASS(node)->dpi_y); - - snprintf(buffer, 128, ", width=\"%g\"", requisition.width / G_GRAPH_NODE_GET_CLASS(node)->dpi_x); + snprintf(buffer, 128, ", width=\"%g\"", + requisition.width / G_GRAPH_NODE_GET_CLASS(node)->dpi_x); cmds = stradd(cmds, buffer); - snprintf(buffer, 128, ", height=\"%g\"", requisition.height / G_GRAPH_NODE_GET_CLASS(node)->dpi_y); + snprintf(buffer, 128, ", height=\"%g\"", + requisition.height / G_GRAPH_NODE_GET_CLASS(node)->dpi_y); cmds = stradd(cmds, buffer); cmds = stradd(cmds, "];\n"); |