File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -394,18 +394,18 @@ void GraphViewer::compute_layout(const char * alg) {
394394 }
395395 // We don't need to process the edges to render them
396396 // Uncomment this is the layout propagation is desired
397- /* qDebug() << __FILE__ <<":"<<__FUNCTION__<< " node id in graphnode: " << id ;
397+ // qDebug() << __FILE__ <<":"<<__FUNCTION__<< " node id in graphnode: " << id ;
398398 std::optional<Node> g_node = G->get_node (id);
399399 if (g_node.has_value ()) {
400400 G->add_or_modify_attrib_local <pos_x_att>(*g_node, (float ) x);
401401 G->add_or_modify_attrib_local <pos_y_att>(*g_node, (float ) y);
402402 G->update_node (*g_node);
403- }*/
403+ }
404404 }
405405
406406 centerOn (root_x, root_y);
407407 this ->scene .setSceneRect (scene.itemsBoundingRect ());
408408 this ->fitInView (scene.itemsBoundingRect (), Qt::KeepAspectRatio );
409409
410410 gvFreeLayout (graphviz_context, graphviz_graph);
411- }
411+ }
You can’t perform that action at this time.
0 commit comments