Skip to content

Latest commit

 

History

History
14 lines (9 loc) · 660 Bytes

README.md

File metadata and controls

14 lines (9 loc) · 660 Bytes

plotly-dirgraph

Tools for drawing directed network graphs using plotly

addEdge Given two points, generates a line segment connecting these points as well as two line segments forming an arrowhead either in the middle or at the end of these points.

Automatically shortens the line segment length to cover only some fraction of these points if you want to represent your graph edges as arrows rather than conventional network graph edges.

directed_example Uses addEdge to draw a random network graph using plotly.

Example output, from dash:

directed_example output