Graphs#
Force-directed graph widgets.
- class ipyforcegraph.graphs.ForceGraph(**kwargs)[source]#
-
Base force-directed graph widget.
Public constructor
- background_color Union('rgba(0, 0, 0, 0.0)')#
the graph background color
- behaviors TypedTuple()#
the behaviors that provide functionality for
selection, changing the node and linkshapes, changing the on-hovertooltipfor nodes and links, theforcesgraph layout,recordingof the graph state, and theparticleson the links.
- default_link_color Unicode('rgba(66, 66, 66, 0.5)')#
a default
linkcolor, which can be overridden byLinkShapes
- default_link_width Float(1.0)#
a default
linkwidth, which can be overridden byLinkShapes
- default_node_color Unicode('rgba(31, 120, 179, 1.0)')#
a default
nodecolor, which can be overridden byNodeShapes
- default_node_size Float(1)#
a default
nodesize, which can be overridden byNodeShapes
- source Instance()#
the source of
nodeandlinkdata
- class ipyforcegraph.graphs.ForceGraph3D(**kwargs)[source]#
Bases:
ForceGraph3D force-directed graph widget.
Public constructor