v2.3.9
- added on click functionality. With the
click
input parameter, nodes can be highlighted.
from d3graph import d3graph
d3 = d3graph()
adjmat, df = d3.import_example('karate')
d3.graph(adjmat, color='cluster')
# Specify click event
html = d3.show(click={'fill': 'green', 'stroke': 'black', 'size': 2, 'stroke-width': 2})
# No event
html = d3.show(click=None)