label1=ttk.Label(scoreFrame,text=f"Diagrams parsed! Below is the list of found metrics along with the amount of relationships. Further down you will find the list of metrics with usage and associated components",wraplength=0.5*canvasWidth,font=("Helvetica",20),style="Test.TLabel")
label2=ttk.Label(scoreFrame,text=f"Number of metrics: {len(diagram.metrics)}",font=("Helvetica",20),style="Test.TLabel")
label3=ttk.Label(scoreFrame,text=f"Number of annotated relationships: {len(diagram.dynamics)}",font=("Helvetica",20),style="Test.TLabel")
headerLabel.grid(row=0,column=0,sticky="nw")
label1.grid(row=1,column=0,sticky="nw",pady=10)
label2.grid(row=2,column=0,sticky="nw")
label3.grid(row=3,column=0,sticky="nw")
associatedList={}# Needed to keep track of the number of associated components per metric
associatedList={}# Needed to keep track of the number of associated components per metric
metricFrame=ttk.Frame(frame,style='Test.TFrame',height=200,width=canvasWidth,padding=5)# Frame for each metric, should cover 80% of the window and stack vertically
metricFrame=ttk.Frame(frame,style='Test.TFrame',height=200,width=canvasWidth,padding=5)# Frame for each metric, should cover 80% of the window and stack vertically
metricFrame.grid(padx=10,pady=10,sticky="nsew")
metricFrame.grid(padx=10,pady=10,sticky="nsew")
metricFrame.grid_rowconfigure(0,weight=1)
metricFrame.grid_rowconfigure(0,weight=1)
metricFrame.grid_columnconfigure(0,weight=1)
metricFrame.grid_columnconfigure(0,weight=1)
rowIndex+=1# Increment the row index for the next frame
rowIndex+=1# Increment the row index for the next frame