hvplot.networkx.draw_spring#

hvplot.networkx.draw_spring(G, **kwargs)[source]#

Draw networkx graph with spring layout.

Parameters:
Ggraph

A networkx graph

kwargsoptional keywords

See hvplot.networkx.draw() for a description of optional keywords, with the exception of the pos parameter which is not used by this function.

Returns:
graphholoviews.Graph or holoviews.Overlay

Graph element or Graph and Labels