-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdiagram.json
More file actions
1 lines (1 loc) · 6.88 KB
/
Copy pathdiagram.json
File metadata and controls
1 lines (1 loc) · 6.88 KB
1
{"blocks":[{"x":1030,"y":340,"text":"number == 0?","width":120,"height":40,"type":"Условие","isMenuBlock":false,"fontSize":14,"textHeight":14,"isBold":false,"isItalic":false,"textAlign":"center","labelsPosition":1},{"x":1030,"y":420,"text":"number == 1?","width":120,"height":40,"type":"Условие","isMenuBlock":false,"fontSize":14,"textHeight":14,"isBold":false,"isItalic":false,"textAlign":"center","labelsPosition":1},{"x":1030,"y":500,"text":"number == 2?","width":120,"height":40,"type":"Условие","isMenuBlock":false,"fontSize":14,"textHeight":14,"isBold":false,"isItalic":false,"textAlign":"center","labelsPosition":1},{"x":1030,"y":580,"text":"number == 3?","width":120,"height":40,"type":"Условие","isMenuBlock":false,"fontSize":14,"textHeight":14,"isBold":false,"isItalic":false,"textAlign":"center","labelsPosition":1},{"x":1290,"y":340,"text":"w1 = w1 - 0.3 * (y1 - mass_y[0]) * mass_x[0, 0]\nw2 = w2 - 0.3 * (y1 - mass_y[0]) * mass_x[0, 1]\nS = S + 0.3 * (y1 - mass_y[0])","width":300,"height":60,"type":"Блок","isMenuBlock":false,"fontSize":14,"textHeight":14,"isBold":false,"isItalic":false,"textAlign":"center","labelsPosition":1},{"x":1290,"y":420,"text":"w1 = w1 - 0.3 * (y1 - mass_y[1]) * mass_x[1, 0]\nw2 = w2 - 0.3 * (y1 - mass_y[1]) * mass_x[1, 1]\nS = S + 0.3 * (y1 - mass_y[1])","width":300,"height":60,"type":"Блок","isMenuBlock":false,"fontSize":14,"textHeight":14,"isBold":false,"isItalic":false,"textAlign":"center","labelsPosition":1},{"x":1290,"y":500,"text":"w1 = w1 - 0.3 * (y1 - mass_y[2]) * mass_x[2, 0]\nw2 = w2 - 0.3 * (y1 - mass_y[2]) * mass_x[2, 1]\nS = S + 0.3 * (y1 - mass_y[2])","width":300,"height":60,"type":"Блок","isMenuBlock":false,"fontSize":14,"textHeight":14,"isBold":false,"isItalic":false,"textAlign":"center","labelsPosition":1},{"x":1290,"y":580,"text":"w1 = w1 - 0.3 * (y1 - mass_y[3]) * mass_x[3, 0]\nw2 = w2 - 0.3 * (y1 - mass_y[3]) * mass_x[3, 1]\nS = S + 0.3 * (y1 - mass_y[3])","width":300,"height":60,"type":"Блок","isMenuBlock":false,"fontSize":14,"textHeight":14,"isBold":false,"isItalic":false,"textAlign":"center","labelsPosition":1},{"x":1030,"y":230,"text":"y1 = w1 * mass_x[0, 0] + w2 * mass_x[0, 1] - S\nE1 = 0.5 * (y1 - mass_y[0])^2\n.\n.\n.\nyN\nEN\n\nnumber = max_E [E1-E4] (index of max number)","width":320,"height":140,"type":"Блок","isMenuBlock":false,"fontSize":14,"textHeight":14,"isBold":false,"isItalic":false,"textAlign":"center","labelsPosition":1},{"x":1030,"y":100,"text":"sum <= 0.3","width":120,"height":40,"type":"Условие","isMenuBlock":false,"fontSize":14,"textHeight":14,"isBold":false,"isItalic":false,"textAlign":"center","labelsPosition":1},{"x":1030,"y":0,"text":"mass_x [ ]\nmaxx_y [ ]\nmax_E [ ]\nw1, w2, S = 1\nsum, number = 0","width":120,"height":80,"type":"Блок","isMenuBlock":false,"fontSize":14,"textHeight":14,"isBold":false,"isItalic":false,"textAlign":"center","labelsPosition":1},{"x":1030,"y":-80,"text":"начало","width":100,"height":30,"type":"Начало / конец","isMenuBlock":false,"fontSize":14,"textHeight":14,"isBold":false,"isItalic":false,"textAlign":"center","labelsPosition":1},{"x":1320,"y":60,"text":"sum = E1+..+E4","width":120,"height":40,"type":"Блок","isMenuBlock":false,"fontSize":14,"textHeight":14,"isBold":false,"isItalic":false,"textAlign":"center","labelsPosition":1},{"x":780,"y":100,"text":"print(sum)","width":100,"height":40,"type":"Блок","isMenuBlock":false,"fontSize":14,"textHeight":14,"isBold":false,"isItalic":false,"textAlign":"center","labelsPosition":1},{"x":780,"y":180,"text":"конец","width":100,"height":30,"type":"Начало / конец","isMenuBlock":false,"fontSize":14,"textHeight":14,"isBold":false,"isItalic":false,"textAlign":"center","labelsPosition":1}],"arrows":[{"startIndex":11,"endIndex":10,"startConnectorIndex":2,"endConnectorIndex":0,"nodes":[{"x":1030,"y":-65},{"x":1030,"y":-60},{"x":1030,"y":-40}],"counts":[1,1,1]},{"startIndex":10,"endIndex":9,"startConnectorIndex":2,"endConnectorIndex":0,"nodes":[{"x":1030,"y":40},{"x":1030,"y":60},{"x":1030,"y":80}],"counts":[1,1,1]},{"startIndex":0,"endIndex":4,"startConnectorIndex":1,"endConnectorIndex":3,"nodes":[{"x":1090,"y":340},{"x":1120,"y":340},{"x":1140,"y":340}],"counts":[1,1,1]},{"startIndex":0,"endIndex":1,"startConnectorIndex":3,"endConnectorIndex":0,"nodes":[{"x":970,"y":340},{"x":950,"y":340},{"x":950,"y":380},{"x":1030,"y":380},{"x":1030,"y":400}],"counts":[1,1,1,1,1]},{"startIndex":1,"endIndex":2,"startConnectorIndex":3,"endConnectorIndex":0,"nodes":[{"x":970,"y":420},{"x":950,"y":420},{"x":950,"y":460},{"x":1030,"y":460},{"x":1030,"y":480}],"counts":[1,1,1,1,1]},{"startIndex":2,"endIndex":3,"startConnectorIndex":3,"endConnectorIndex":0,"nodes":[{"x":970,"y":500},{"x":950,"y":500},{"x":950,"y":540},{"x":1030,"y":540},{"x":1030,"y":560}],"counts":[1,1,1,1,1]},{"startIndex":1,"endIndex":5,"startConnectorIndex":1,"endConnectorIndex":3,"nodes":[{"x":1090,"y":420},{"x":1120,"y":420},{"x":1140,"y":420}],"counts":[1,1,1]},{"startIndex":2,"endIndex":6,"startConnectorIndex":1,"endConnectorIndex":3,"nodes":[{"x":1090,"y":500},{"x":1120,"y":500},{"x":1140,"y":500}],"counts":[1,1,1]},{"startIndex":3,"endIndex":7,"startConnectorIndex":1,"endConnectorIndex":3,"nodes":[{"x":1090,"y":580},{"x":1120,"y":580},{"x":1140,"y":580}],"counts":[1,1,1]},{"startIndex":12,"endIndex":9,"startConnectorIndex":3,"endConnectorIndex":0,"nodes":[{"x":1260,"y":60},{"x":1030,"y":60},{"x":1030,"y":80}],"counts":[1,1,1]},{"startIndex":8,"endIndex":0,"startConnectorIndex":2,"endConnectorIndex":0,"nodes":[{"x":1030,"y":300},{"x":1030,"y":300},{"x":1030,"y":320}],"counts":[1,1,1]},{"startIndex":9,"endIndex":8,"startConnectorIndex":1,"endConnectorIndex":0,"nodes":[{"x":1090,"y":100},{"x":1110,"y":100},{"x":1110,"y":140},{"x":1030,"y":140},{"x":1030,"y":160}],"counts":[1,1,1,1,1]},{"startIndex":4,"endIndex":12,"startConnectorIndex":1,"endConnectorIndex":1,"nodes":[{"x":1440,"y":340},{"x":1460,"y":340},{"x":1460,"y":60},{"x":1400,"y":60},{"x":1380,"y":60}],"counts":[1,1,1,1,1]},{"startIndex":5,"endIndex":12,"startConnectorIndex":1,"endConnectorIndex":1,"nodes":[{"x":1440,"y":420},{"x":1460,"y":420},{"x":1460,"y":60},{"x":1400,"y":60},{"x":1380,"y":60}],"counts":[1,1,1,1,1]},{"startIndex":6,"endIndex":12,"startConnectorIndex":1,"endConnectorIndex":1,"nodes":[{"x":1440,"y":500},{"x":1460,"y":500},{"x":1460,"y":60},{"x":1400,"y":60},{"x":1380,"y":60}],"counts":[1,1,1,1,1]},{"startIndex":7,"endIndex":12,"startConnectorIndex":1,"endConnectorIndex":1,"nodes":[{"x":1440,"y":580},{"x":1460,"y":580},{"x":1460,"y":60},{"x":1400,"y":60},{"x":1380,"y":60}],"counts":[1,1,1,1,1]},{"startIndex":9,"endIndex":13,"startConnectorIndex":3,"endConnectorIndex":1,"nodes":[{"x":970,"y":100},{"x":850,"y":100},{"x":830,"y":100}],"counts":[1,1,1]},{"startIndex":13,"endIndex":14,"startConnectorIndex":2,"endConnectorIndex":0,"nodes":[{"x":780,"y":120},{"x":780,"y":150},{"x":780,"y":165}],"counts":[1,1,1]}],"x0":-159.71057937229216,"y0":111.58766270562552}