diagram_definition(type = "Test diagram",
  category = "HTML",
  hardy_version = 1.85,
  custom_menu_strings = [],
  show_toolbar = 1,
  show_palette = 1,
  show_layout_menu = 1,
  show_hyperlinks_menu = 1,
  show_help_menu = 1,
  show_edit_menu = 1,
  show_file_menu = 1).

node_definition(type = "Node1",
  format_string = "%1",
  abbreviation_format_string = "%1",
  colour = "YELLOW",
  text_size = 10,
  highlight_if_linked = 1,
  attributes = ["name", "description"],
  region1 = ["0", "%1", 3, 12, 75, 90, 90, "BLACK"],
  default_width = 60,
  default_height = 30,
  outline_width = 1,
  can_resize = 1,
  centre_text = 1,
  use_attachments = 1,
  outline_colour = "BLACK",
  outline_style = 100,
  fill_style = 100,
  library_name = "Standard",
  symbol_name = "Diamond",
  shadow = 0,
  space_attachments = 1,
  display_on_palette = 1,
  containable = ["*"]).

node_definition(type = "Node2",
  format_string = "%1",
  abbreviation_format_string = "%1",
  colour = "CYAN",
  text_size = 10,
  highlight_if_linked = 1,
  attributes = ["name", "description"],
  region1 = ["0", "%1", 3, 12, 75, 90, 90, "BLACK"],
  default_width = 60,
  default_height = 30,
  outline_width = 1,
  can_resize = 1,
  centre_text = 1,
  use_attachments = 1,
  outline_colour = "BLACK",
  outline_style = 100,
  fill_style = 100,
  library_name = "Standard",
  symbol_name = "Rounded Rectangle",
  shadow = 0,
  space_attachments = 1,
  display_on_palette = 1,
  containable = ["*"]).

arc_definition(type = "Arc1",
  format_string = "%1",
  abbreviation_format_string = "%1",
  colour = "BLACK",
  text_size = 10,
  highlight_if_linked = 1,
  attributes = ["name", "description"],
  region1 = ["Start", "", 7, 12, 75, 90, 90, "BLACK"],
  region2 = ["Middle", "%1", 7, 12, 75, 90, 90, "BLACK"],
  region3 = ["End", "", 7, 12, 75, 90, 90, "BLACK"],
  segmentable = 1,
  can_connect_to = ["*"],
  can_connect_from = ["*"],
  junction_use_two_way = 0,
  junction_attachment_input = 0,
  junction_attachment_one = 0,
  junction_attachment_two1 = 0,
  junction_attachment_two2 = 0,
  junction_attachment_three = 0,
  junction_auto_dogleg = 1,
  junction_width = 20,
  junction_height = 20,
  arc_image1 = ["Default", "", "", "BLACK", "Standard", "Normal arrowhead", "BLACK", "", "", "BLACK", "BLACK", "Solid", 1, 0, 0, 0, 1],
  annotation_properties1 = [["Normal arrowhead", "Normal arrowhead", 1, 0]]).

