tzurshubi commited on
Commit
071ee57
·
verified ·
1 Parent(s): a593493

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -381,7 +381,7 @@ def make_figure(d: int,
381
  x=[x1, x2],
382
  y=[y1, y2],
383
  mode="lines",
384
- line=dict(width=max(1, edge_w * 3), color=dim_color(b)),
385
  opacity=1.0,
386
  hoverinfo="skip",
387
  name=f"path bit {b}",
@@ -398,7 +398,7 @@ def make_figure(d: int,
398
  x=[x1, x2],
399
  y=[y1, y2],
400
  mode="lines",
401
- line=dict(width=max(1, edge_w * 3), color="red"),
402
  opacity=1.0,
403
  hoverinfo="skip",
404
  name="negated path",
@@ -430,7 +430,7 @@ def make_figure(d: int,
430
  if mark_distances and v in neighbor_set:
431
  sizes.append(base_size * 1.5)
432
  else:
433
- sizes.append(base_size * (3 if v in in_path else 1))
434
 
435
  if path and (v == path[0] or v == path[-1]):
436
  colors.append("#111") # endpoints
 
381
  x=[x1, x2],
382
  y=[y1, y2],
383
  mode="lines",
384
+ line=dict(width=max(1, edge_w * 2), color=dim_color(b)),
385
  opacity=1.0,
386
  hoverinfo="skip",
387
  name=f"path bit {b}",
 
398
  x=[x1, x2],
399
  y=[y1, y2],
400
  mode="lines",
401
+ line=dict(width=max(1, edge_w * 2), color="red"),
402
  opacity=1.0,
403
  hoverinfo="skip",
404
  name="negated path",
 
430
  if mark_distances and v in neighbor_set:
431
  sizes.append(base_size * 1.5)
432
  else:
433
+ sizes.append(base_size * (2 if v in in_path else 1))
434
 
435
  if path and (v == path[0] or v == path[-1]):
436
  colors.append("#111") # endpoints