tweak edge-based width

topo-mov
LEdoian 1 year ago
parent 0a40ab55cb
commit e962ec9cdb

@ -231,7 +231,7 @@ class PlaceUnplacedVertices(StyleAnnotator):
def _default_width_for_cost(cost):
# Maybe use exponential decay?
if cost > 0: return 100/cost
if cost > 0: return 20/cost
# As thin as possible for no-weight edges (e.g. network → router)
return 0
class EdgeWidthByCost(StyleAnnotator):

Loading…
Cancel
Save