class documentation
class LightToDarkEdgeDrawer(AlphaVaryingEdgeDrawer):
Edge drawer implementation that draws undirected edges as straight lines and directed edges by using an alpha value of zero (total transparency) at the source and an alpha value of one (full opacity) at the destination. The alpha value is interpolated in-between.
Method | __init__ |
Constructs the edge drawer. |
Inherited from AlphaVaryingEdgeDrawer
:
Method | draw |
Draws a directed edge. |
Instance Variable | alpha |
Undocumented |
Instance Variable | alpha |
Undocumented |
Inherited from AbstractEdgeDrawer
(via AlphaVaryingEdgeDrawer
):
Method | draw |
Draws a loop edge. |
Method | draw |
Draws an undirected edge. |
Method | get |
Returns the position where the label of an edge should be drawn. The default implementation returns the midpoint of the edge and an alignment that tries to avoid overlapping the label with the edge. |
Instance Variable | context |
Undocumented |
Instance Variable | palette |
Undocumented |
Instance Variable |
|
Undocumented |
Static Method | _curvature |
Converts values given to the 'curved' edge style argument in plotting calls to floating point values. |
Method | _construct |
Construct the visual edge builder that will collect the visual attributes of an edge when it is being drawn. |