diff --git a/graphspace_python/graphs/classes/gsgraph.py b/graphspace_python/graphs/classes/gsgraph.py index 867096a..ddb09f0 100644 --- a/graphspace_python/graphs/classes/gsgraph.py +++ b/graphspace_python/graphs/classes/gsgraph.py @@ -792,7 +792,9 @@ def set_node_width_property(node_properties, width): @staticmethod def set_node_bubble_effect_property(node_properties, color, whitetext=False): - """Add a "bubble effect" to the node by making the border color the same as the text outline color. + """ + Add a "bubble effect" to the node by adding a border or outline + around the text ('text-outline-width': 4) with the given color ('text-outline-color': color) Args: node_properties (dict): Dictionary of node attributes. Key-value pairs will be used to set data associated with the node. @@ -803,7 +805,7 @@ def set_node_bubble_effect_property(node_properties, color, whitetext=False): dict: Dictionary of node attributes. """ node_properties.update({'text-outline-color': color}) - node_properties = GSGraph.set_node_border_color_property(node_properties, color) + #node_properties = GSGraph.set_node_border_color_property(node_properties, color) # also make outline thicker and text larger node_properties.update({'text-outline-width': 4}) if whitetext: