File size: 9,434 Bytes
06e4298
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
{
  "schemaVersion": "1.0",
  "discourse": {
    "id": "euclid-elements-book-ii",
    "name": "Euclid's Elements, Book II",
    "subject": "geometry",
    "variant": "classical",
    "description": "The 14 propositions of Book II on geometric algebra (rectangles, squares). Props 1-10 are logically independent within Book II; 11-14 depend on 6, 4, 7, 5. All depend on Book I. Source: David E. Joyce, Clark University.",
    "structure": {
      "books": 2,
      "propositions": 14,
      "foundationTypes": [
        "definition"
      ]
    }
  },
  "metadata": {
    "created": "2026-03-15",
    "lastUpdated": "2026-03-15",
    "version": "1.0.0",
    "license": "CC BY 4.0",
    "authors": [
      "Welz, G."
    ],
    "methodology": "Programming Framework",
    "citation": "Welz, G. (2026). Euclid's Elements Book II Dependency Graph. Programming Framework.",
    "keywords": [
      "Euclid",
      "Elements",
      "Book II",
      "geometric algebra",
      "rectangles",
      "squares",
      "golden section",
      "quadrature"
    ]
  },
  "sources": [
    {
      "id": "joyce",
      "type": "digital",
      "authors": "Joyce, David E.",
      "title": "Euclid's Elements, Book II",
      "year": "1996",
      "url": "https://mathcs.clarku.edu/~djoyce/java/elements/bookII/bookII.html",
      "notes": "Clark University; dependency table from Logical structure"
    },
    {
      "id": "euclid-heath",
      "type": "primary",
      "authors": "Heath, T.L.",
      "title": "The Thirteen Books of Euclid's Elements",
      "year": "1908",
      "edition": "2nd",
      "publisher": "Cambridge University Press",
      "url": "https://archive.org/details/euclidheath00heatiala",
      "notes": "Standard English translation"
    }
  ],
  "nodes": [
    {
      "id": "BookI",
      "type": "foundation",
      "label": "Book I — Fundamentals of plane geometry",
      "shortLabel": "Book I",
      "short": "Foundation",
      "book": 1,
      "colorClass": "foundation"
    },
    {
      "id": "Def1",
      "type": "definition",
      "label": "Rectangle contained by two straight lines containing the right angle",
      "shortLabel": "Def. II.1",
      "book": 2,
      "number": 1,
      "colorClass": "definition"
    },
    {
      "id": "Def2",
      "type": "definition",
      "label": "Gnomon: parallelogram about diameter with two complements",
      "shortLabel": "Def. II.2",
      "book": 2,
      "number": 2,
      "colorClass": "definition"
    },
    {
      "id": "Prop1",
      "type": "proposition",
      "label": "If one line is cut into segments, rectangle by whole equals sum of rectangles by each segment",
      "shortLabel": "Prop. II.1",
      "short": "Rectangle = sum of rectangles",
      "book": 2,
      "number": 1,
      "colorClass": "proposition"
    },
    {
      "id": "Prop2",
      "type": "proposition",
      "label": "If a line is cut at random, sum of rectangles by whole and each segment equals square on whole",
      "shortLabel": "Prop. II.2",
      "short": "Sum of rectangles = square on whole",
      "book": 2,
      "number": 2,
      "colorClass": "proposition"
    },
    {
      "id": "Prop3",
      "type": "proposition",
      "label": "If a line is cut at random, rectangle by whole and one segment equals rectangle by segments plus square on that segment",
      "shortLabel": "Prop. II.3",
      "short": "Rectangle = rectangle + square",
      "book": 2,
      "number": 3,
      "colorClass": "proposition"
    },
    {
      "id": "Prop4",
      "type": "proposition",
      "label": "If a line is cut at random, square on whole equals squares on segments plus twice rectangle contained by segments",
      "shortLabel": "Prop. II.4",
      "short": "Square on whole = squares + 2×rectangle",
      "book": 2,
      "number": 4,
      "colorClass": "proposition"
    },
    {
      "id": "Prop5",
      "type": "proposition",
      "label": "If a line cut into equal and unequal segments, rectangle by unequal segments plus square on difference equals square on half",
      "shortLabel": "Prop. II.5",
      "short": "Unequal segments: rectangle + square = square on half",
      "book": 2,
      "number": 5,
      "colorClass": "proposition"
    },
    {
      "id": "Prop6",
      "type": "proposition",
      "label": "If a line bisected and added to, rectangle by whole-with-added and added plus square on half equals square on half-plus-added",
      "shortLabel": "Prop. II.6",
      "short": "Bisected + added: rectangle + square = square",
      "book": 2,
      "number": 6,
      "colorClass": "proposition"
    },
    {
      "id": "Prop7",
      "type": "proposition",
      "label": "If a line cut at random, square on whole plus square on one segment equals twice rectangle by whole and segment plus square on remainder",
      "shortLabel": "Prop. II.7",
      "short": "Square on whole + square on segment",
      "book": 2,
      "number": 7,
      "colorClass": "proposition"
    },
    {
      "id": "Prop8",
      "type": "proposition",
      "label": "If a line cut at random, four times rectangle by whole and one segment plus square on remainder equals square on whole-plus-segment",
      "shortLabel": "Prop. II.8",
      "short": "Four times rectangle + square",
      "book": 2,
      "number": 8,
      "colorClass": "proposition"
    },
    {
      "id": "Prop9",
      "type": "proposition",
      "label": "If a line cut into equal and unequal segments, sum of squares on unequal segments is double sum of square on half and square on difference",
      "shortLabel": "Prop. II.9",
      "short": "Unequal segments: sum of squares",
      "book": 2,
      "number": 9,
      "colorClass": "proposition"
    },
    {
      "id": "Prop10",
      "type": "proposition",
      "label": "If a line bisected and added to, square on whole-with-added plus square on added equals double sum of square on half and square on half-plus-added",
      "shortLabel": "Prop. II.10",
      "short": "Bisected + added: sum of squares",
      "book": 2,
      "number": 10,
      "colorClass": "proposition"
    },
    {
      "id": "Prop11",
      "type": "proposition",
      "label": "To cut a given line so that rectangle by whole and one segment equals square on remaining segment",
      "shortLabel": "Prop. II.11",
      "short": "Cut line: rectangle = square (golden section)",
      "book": 2,
      "number": 11,
      "colorClass": "proposition"
    },
    {
      "id": "Prop12",
      "type": "proposition",
      "label": "In obtuse-angled triangles, square on side opposite obtuse angle greater than sum of squares on sides containing it",
      "shortLabel": "Prop. II.12",
      "short": "Obtuse triangle: law of cosines",
      "book": 2,
      "number": 12,
      "colorClass": "proposition"
    },
    {
      "id": "Prop13",
      "type": "proposition",
      "label": "In acute-angled triangles, square on side opposite acute angle less than sum of squares on sides containing it",
      "shortLabel": "Prop. II.13",
      "short": "Acute triangle: law of cosines",
      "book": 2,
      "number": 13,
      "colorClass": "proposition"
    },
    {
      "id": "Prop14",
      "type": "proposition",
      "label": "To construct a square equal to a given rectilinear figure",
      "shortLabel": "Prop. II.14",
      "short": "Construct square = rectilinear figure",
      "book": 2,
      "number": 14,
      "colorClass": "proposition"
    }
  ],
  "edges": [
    {
      "from": "BookI",
      "to": "Prop1"
    },
    {
      "from": "Def1",
      "to": "Prop1"
    },
    {
      "from": "BookI",
      "to": "Prop2"
    },
    {
      "from": "Def1",
      "to": "Prop2"
    },
    {
      "from": "BookI",
      "to": "Prop3"
    },
    {
      "from": "Def1",
      "to": "Prop3"
    },
    {
      "from": "BookI",
      "to": "Prop4"
    },
    {
      "from": "Def1",
      "to": "Prop4"
    },
    {
      "from": "BookI",
      "to": "Prop5"
    },
    {
      "from": "Def1",
      "to": "Prop5"
    },
    {
      "from": "Def2",
      "to": "Prop5"
    },
    {
      "from": "BookI",
      "to": "Prop6"
    },
    {
      "from": "Def1",
      "to": "Prop6"
    },
    {
      "from": "Def2",
      "to": "Prop6"
    },
    {
      "from": "BookI",
      "to": "Prop7"
    },
    {
      "from": "Def1",
      "to": "Prop7"
    },
    {
      "from": "BookI",
      "to": "Prop8"
    },
    {
      "from": "Def1",
      "to": "Prop8"
    },
    {
      "from": "BookI",
      "to": "Prop9"
    },
    {
      "from": "Def1",
      "to": "Prop9"
    },
    {
      "from": "BookI",
      "to": "Prop10"
    },
    {
      "from": "Def1",
      "to": "Prop10"
    },
    {
      "from": "BookI",
      "to": "Prop11"
    },
    {
      "from": "Prop6",
      "to": "Prop11"
    },
    {
      "from": "BookI",
      "to": "Prop12"
    },
    {
      "from": "Prop4",
      "to": "Prop12"
    },
    {
      "from": "BookI",
      "to": "Prop13"
    },
    {
      "from": "Prop7",
      "to": "Prop13"
    },
    {
      "from": "BookI",
      "to": "Prop14"
    },
    {
      "from": "Prop5",
      "to": "Prop14"
    }
  ],
  "colorScheme": {
    "foundation": {
      "fill": "#95a5a6",
      "stroke": "#7f8c8d"
    },
    "definition": {
      "fill": "#3498db",
      "stroke": "#2980b9"
    },
    "proposition": {
      "fill": "#1abc9c",
      "stroke": "#16a085"
    }
  }
}