Skip to content

Commit

Permalink
create tooltip text only if not present
Browse files Browse the repository at this point in the history
  • Loading branch information
pwrose authored and marimeireles committed Apr 21, 2021
1 parent 7bac12c commit a93bfa5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ipycytoscape/cytoscape.py
Original file line number Diff line number Diff line change
Expand Up @@ -678,7 +678,7 @@ def add_graph_from_neo4j(self, g):
node_attributes = self.convert_neo4j_types(node_attributes)

# create tooltip text string
if tooltip:
if not 'tooltip' in node_attributes:
tooltip_text = self.create_tooltip(node_attributes)

# assign unique id to node
Expand Down

0 comments on commit a93bfa5

Please sign in to comment.