diagram_definition(type = "Belief Network",
  hardy_version = 1.2,
  custom_menu_strings = []).

node_definition(type = "Data",
  image_type = "Circle",
  format_string = "%1",
  abbreviation_format_string = "%1",
  colour = "CYAN",
  text_size = 10,
  scrolling_text = 1,
  highlight_if_linked = 1,
  attributes = ["name", "popup_name"],
  default_width = 80,
  default_height = 80,
  outline_width = 1,
  can_resize = 1,
  centre_text = 1,
  resize_to_contents = 0,
  use_attachments = 0).

node_definition(type = "Evidence",
  image_type = "Ellipse",
  format_string = "%1",
  abbreviation_format_string = "%1",
  colour = "RED",
  text_size = 10,
  scrolling_text = 1,
  highlight_if_linked = 1,
  attributes = ["name", "interpretation_function", "level_of_belief"],
  default_width = 100,
  default_height = 50,
  outline_width = 1,
  can_resize = 1,
  centre_text = 1,
  resize_to_contents = 0,
  use_attachments = 0).

node_definition(type = "Cluster",
  image_type = "Rounded Rectangle",
  format_string = "%1",
  abbreviation_format_string = "%1",
  colour = "YELLOW",
  text_size = 10,
  scrolling_text = 1,
  highlight_if_linked = 1,
  attributes = ["name", "combining_function", "level_of_belief"],
  default_width = 100,
  default_height = 50,
  outline_width = 1,
  can_resize = 1,
  centre_text = 1,
  resize_to_contents = 0,
  use_attachments = 0).

node_definition(type = "Model",
  image_type = "Diamond",
  format_string = "%1",
  abbreviation_format_string = "%1",
  colour = "CYAN",
  text_size = 10,
  scrolling_text = 1,
  highlight_if_linked = 1,
  attributes = ["name", "combining_function", "level_of_belief"],
  default_width = 120,
  default_height = 80,
  outline_width = 1,
  can_resize = 1,
  centre_text = 1,
  resize_to_contents = 0,
  use_attachments = 0).

arc_definition(type = "Potentially Confirming",
  image_type = "Spline",
  format_string = "%1",
  abbreviation_format_string = "PC",
  colour = "BLACK",
  text_size = 12,
  scrolling_text = 1,
  highlight_if_linked = 1,
  arrow_type = "End",
  line_style = "Solid",
  width = 1,
  segmentable = 0,
  can_connect_to = ["Evidence", "Cluster", "Model", "Evidence", "Evidence", "Cluster"],
  can_connect_from = ["Data", "Evidence", "Cluster", "Evidence", "Data", "Cluster"]).

arc_definition(type = "Potentially Supporting",
  image_type = "Spline",
  format_string = "%1",
  abbreviation_format_string = "PS",
  colour = "GREEN",
  text_size = 12,
  scrolling_text = 1,
  highlight_if_linked = 1,
  arrow_type = "End",
  line_style = "Solid",
  width = 1,
  segmentable = 0,
  can_connect_to = ["Evidence", "Cluster", "Model", "Evidence", "Evidence", "Cluster"],
  can_connect_from = ["Data", "Evidence", "Cluster", "Evidence", "Data", "Cluster"]).

arc_definition(type = "Potentially Detracting",
  image_type = "Spline",
  format_string = "%1",
  abbreviation_format_string = "PD",
  colour = "RED",
  text_size = 12,
  scrolling_text = 1,
  highlight_if_linked = 1,
  arrow_type = "End",
  line_style = "Solid",
  width = 1,
  segmentable = 0,
  can_connect_to = ["Evidence", "Cluster", "Model", "Evidence", "Evidence", "Cluster"],
  can_connect_from = ["Data", "Evidence", "Cluster", "Evidence", "Data", "Cluster"]).

arc_definition(type = "Potentially Rejecting",
  image_type = "Spline",
  format_string = "%1",
  abbreviation_format_string = "PR",
  colour = "BLUE",
  text_size = 12,
  scrolling_text = 1,
  highlight_if_linked = 1,
  arrow_type = "End",
  line_style = "Solid",
  width = 1,
  segmentable = 0,
  can_connect_to = ["Evidence", "Cluster", "Model", "Evidence", "Evidence", "Cluster"],
  can_connect_from = ["Data", "Evidence", "Cluster", "Evidence", "Data", "Cluster"]).

arc_definition(type = "Trigger",
  image_type = "Spline",
  format_string = "%1",
  abbreviation_format_string = "Trigger",
  colour = "BLACK",
  text_size = 12,
  scrolling_text = 1,
  highlight_if_linked = 1,
  arrow_type = "End",
  line_style = "Dot",
  width = 1,
  segmentable = 8800,
  can_connect_to = ["Model", "Evidence", "Model", "Cluster", "Evidence", "Cluster"],
  can_connect_from = ["Cluster", "Evidence", "Evidence", "Evidence", "Data", "Cluster"]).
