def _EdgeStyle(data):
  """Helper callback to set default edge styles."""
  flow = data.get("flow")
  if flow in {"backward_control", "backward_data", "backward_call"}:
    return "dashed"
  else:
    return "solid"