Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove edge simplification from node-only graph. #21

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

vpradeep07
Copy link

@vpradeep07 vpradeep07 commented Nov 15, 2018

Previously, when there were multiple topics between two nodes, only one of the topics was being displayed. This was caused by graph simplification flag not being passed into the edge-adding code.
Graph simplification was also defaulting to True, when in fact it should be false for the node-to-node graph.

Addresses issue:
#20 - In "Nodes only" mode, multiple topics not shown

Previously, when there were multiple topics between two nodes, only one
of the topics was being displayed.  This was caused by graph
simplification flag not being passed into the edge-adding code.
Graph simplification was also defaulting to True, when in fact it should
be false for the node-to-node graph.
@@ -304,6 +304,7 @@ def _generate_dotcode(self):
hide_tf_nodes = self._widget.hide_tf_nodes_check_box.isChecked()
group_image_nodes = self._widget.group_image_check_box.isChecked()
hide_dynamic_reconfigure = self._widget.hide_dynamic_reconfigure_check_box.isChecked()
simplify = (graph_mode != NODE_NODE_GRAPH)
Copy link
Author

@vpradeep07 vpradeep07 Nov 15, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am confident that NODE_NODE_GRAPH should have simplification disabled. However, it could also make sense to disable simplification for all graph types. If so, we can simply hardcode this as simplify = False

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants