#Rationale Version 130.55 can_be_loaded_by 120.53 uses_features_from 120.53 #-- Start of Prelude -- Node = None Views = [] Loading = True canSetScratchpadText = True if not CurrentFileFormat.IsLaterThan(130, 54): morphTarget = None if not CurrentFileFormat.IsLaterThan(130, 55): canSetScratchpadText = False def Create(type): global Node if morphTarget == None: Node = app.Create(type) else: Morph(morphTarget, type) Node = morphTarget return Node def CreateChild(parent, type): global Node Node = app.CreateChild(parent, type) return Node def CreateAnnotation(parent, type): global Node Node = app.CreateAnnotation(parent, type) return Node def SetText(text): app.SetText(Node, text) def SetEvaluation(evaluation): app.SetEvaluation(Node, evaluation) def SetTint(tint): app.SetTint(Node, tint) def StringToImage(guid, imageAsString): return app.StringToImage(guid, imageAsString) def Morph(node, flavor): global Node app.Morph(node, flavor) Node = node def GetFernViews(): global Views global View global Loading Views = [v for v in app.Views if v.TypeName == "FernView"] Loading = len(Views) == 0 if Loading: View = app.Gui.CreateView("FernView") Views = [ View ] def SetLocation(node, x, y): # if Loading: # View.SetLocation(node, x, y) # else: for v in Views: v.SetLocation(node, x, y) def SetOffset(offsetFrom, node, x, y): if Loading: View.SetOffset(offsetFrom, node, x, y) else: for v in Views: v.SetOffset(offsetFrom, node, x, y) def SetSize(node, width, height): if Loading: View.SetSize(node, width, height) else: for v in Views: v.SetSize(node, width, height) def ShowPrintPagePreview(show): if Loading: View.ShowPrintPagePreview(show, False) def SetBackgroundImage(image): if Loading: View.SetBackgroundImage(image, False) def SetOpacity(opacity): if Loading: View.SetOpacity(opacity) def SetSelection(node): if Loading: View.SetSelection(node) def SetScratchpadText(text): if canSetScratchpadText: app.Gui.SetScratchpadText(text) #-- End of Prelude -- map0_0 = Create("Claim") SetText("Dumbledore is Ron Weasley") map0_1 = CreateChild(map0_0, "CompoundReason") map0_2 = CreateChild(map0_1, "Claim") SetText("They share similar physical features") map0_3 = CreateChild(map0_2, "CompoundReason") map0_4 = CreateChild(map0_3, "Claim") SetText("Both Ron and Dumbledore are auburn-haired, tall, thin and long-nosed") map0_5 = CreateChild(map0_4, "Basis") SetText("J. K. Rowling's \"Harry Potter\" books") map0_6 = CreateChild(map0_3, "Claim") SetText("Dumbledore has a scar above his left knee while Ron sustained a serious injury to his left leg") map0_7 = CreateChild(map0_6, "Basis") SetText("J. K. Rowling's \"Harry Potter\" books") map0_8 = CreateChild(map0_3, "Inference") map0_9 = CreateChild(map0_1, "Claim") SetText("Sharing similar physical features is proof of identity") map0_10 = CreateChild(map0_9, "CompoundObjection") map0_11 = CreateChild(map0_10, "Claim") SetText("Family members or even strangers share physical features while remaining distinct individuals") map0_12 = CreateChild(map0_10, "Inference") map0_13 = CreateChild(map0_1, "Inference") map0_14 = CreateChild(map0_0, "CompoundReason") map0_15 = CreateChild(map0_14, "Claim") SetText("Both have a great love for sweets") map0_16 = CreateChild(map0_15, "CompoundReason") map0_17 = CreateChild(map0_16, "Claim") SetText("Ron is always eating sweets while Dumbledore uses the names of sweets as passwords") map0_18 = CreateChild(map0_17, "Basis") SetText("J. K. Rowling's \"Harry Potter\" books") map0_19 = CreateChild(map0_16, "Inference") map0_20 = CreateChild(map0_14, "Claim") SetText("Sharing an affinity for sweets is proof of identity") map0_21 = CreateChild(map0_20, "CompoundObjection") map0_22 = CreateChild(map0_21, "Claim") SetText("Very many people have an affinity for sweets") map0_23 = CreateChild(map0_21, "Inference") map0_24 = CreateChild(map0_14, "Inference") map0_25 = CreateChild(map0_0, "CompoundObjection") map0_26 = CreateChild(map0_25, "Claim") SetText("The two have very different temperaments") map0_27 = CreateChild(map0_26, "CompoundReason") map0_28 = CreateChild(map0_27, "Claim") SetText("Ron is hot-headed while Dumbledore is level headed") map0_29 = CreateChild(map0_28, "Basis") SetText("J. K. Rowling's \"Harry Potter\" books") map0_30 = CreateChild(map0_27, "Inference") map0_31 = CreateChild(map0_25, "Inference") GetFernViews() SetLocation(map0_0, 34, -1417) SetSize(map0_0, 234, 62) SetSize(map0_1, 338, 82) SetSize(map0_2, 123, 72) SetSize(map0_3, 315, 174) SetSize(map0_4, 125, 108) SetSize(map0_5, 88, 124) SetSize(map0_6, 117, 164) SetSize(map0_7, 88, 124) SetSize(map0_8, 43, 33) SetSize(map0_9, 142, 72) SetSize(map0_10, 191, 174) SetSize(map0_11, 123, 164) SetSize(map0_12, 48, 33) SetSize(map0_13, 43, 33) SetSize(map0_14, 295, 100) SetSize(map0_15, 100, 72) SetSize(map0_16, 211, 137) SetSize(map0_17, 143, 127) SetSize(map0_18, 88, 124) SetSize(map0_19, 48, 33) SetSize(map0_20, 122, 90) SetSize(map0_21, 177, 100) SetSize(map0_22, 109, 90) SetSize(map0_23, 48, 33) SetSize(map0_24, 43, 33) SetSize(map0_25, 191, 82) SetSize(map0_26, 123, 72) SetSize(map0_27, 188, 100) SetSize(map0_28, 120, 90) SetSize(map0_29, 88, 124) SetSize(map0_30, 48, 33) SetSize(map0_31, 48, 33) ShowPrintPagePreview(False)