Draw networkx graph with spring layout. Parameters ---------- G : graph A networkx graph kwargs : optional keywords See hvplot.networkx.draw() for a description of optional keywords, with the exception of the pos parameter which is not used by this functi
(G, **kwargs)
| 586 | |
| 587 | |
| 588 | def draw_spring(G, **kwargs): |
| 589 | """Draw networkx graph with spring layout. |
| 590 | |
| 591 | Parameters |
| 592 | ---------- |
| 593 | G : graph |
| 594 | A networkx graph |
| 595 | kwargs : optional keywords |
| 596 | See hvplot.networkx.draw() for a description of optional |
| 597 | keywords, with the exception of the pos parameter which is not |
| 598 | used by this function. |
| 599 | |
| 600 | Returns |
| 601 | ------- |
| 602 | graph : holoviews.Graph or holoviews.Overlay |
| 603 | Graph element or Graph and Labels |
| 604 | """ |
| 605 | return draw(G, nx.spring_layout, **kwargs) |
| 606 | |
| 607 | |
| 608 | def draw_planar(G, **kwargs): |
nothing calls this directly
no test coverage detected
searching dependent graphs…