Skip to content

v2.3.9

Compare
Choose a tag to compare
@erdogant erdogant released this 20 Jan 21:13
· 117 commits to master since this release
  • 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)