cours/Excalidraw/représentation d'un programme comme graphe.excalidraw.md
Oscar Plaisant bb9f9102c9 update
2024-03-13 11:36:31 +01:00

18 KiB

excalidraw-plugin, tags
excalidraw-plugin tags
parsed
excalidraw

==⚠ Switch to EXCALIDRAW VIEW in the MORE OPTIONS menu of this document. ⚠==

Text Elements

a ^b7o7cgYW

b ^ReJZJLWp

c ^WfI4nfVv

d ^bZBj7qvG

a[i] > 0 ^YRLVNDCN

i < a+length ^N58kuxso

e ^EnXhanWu

%%

Drawing

{
	"type": "excalidraw",
	"version": 2,
	"source": "https://github.com/zsviczian/obsidian-excalidraw-plugin/releases/tag/2.0.16",
	"elements": [
		{
			"type": "ellipse",
			"version": 63,
			"versionNonce": 205951206,
			"isDeleted": false,
			"id": "eKbjeXabsaClYS-pcVTfy",
			"fillStyle": "hachure",
			"strokeWidth": 1,
			"strokeStyle": "solid",
			"roughness": 1,
			"opacity": 100,
			"angle": 0,
			"x": -42.21598434448242,
			"y": -276.79640197753906,
			"strokeColor": "#000000",
			"backgroundColor": "transparent",
			"width": 53,
			"height": 53,
			"seed": 88927206,
			"groupIds": [],
			"frameId": null,
			"roundness": null,
			"boundElements": [
				{
					"type": "text",
					"id": "b7o7cgYW"
				},
				{
					"id": "hz7SK19Nce6L2jekqGKKP",
					"type": "arrow"
				}
			],
			"updated": 1666335014263,
			"link": null,
			"locked": false,
			"customData": {
				"legacyTextWrap": true
			}
		},
		{
			"type": "text",
			"version": 40,
			"versionNonce": 731610751,
			"isDeleted": false,
			"id": "b7o7cgYW",
			"fillStyle": "hachure",
			"strokeWidth": 1,
			"strokeStyle": "solid",
			"roughness": 1,
			"opacity": 100,
			"angle": 0,
			"x": -23.919109344482422,
			"y": -267.0964019775391,
			"strokeColor": "#000000",
			"backgroundColor": "transparent",
			"width": 16.40625,
			"height": 33.6,
			"seed": 1807090022,
			"groupIds": [],
			"frameId": null,
			"roundness": null,
			"boundElements": [],
			"updated": 1708994770733,
			"link": null,
			"locked": false,
			"fontSize": 28,
			"fontFamily": 3,
			"text": "a",
			"rawText": "a",
			"textAlign": "center",
			"verticalAlign": "middle",
			"containerId": "eKbjeXabsaClYS-pcVTfy",
			"originalText": "a",
			"lineHeight": 1.2,
			"baseline": 26
		},
		{
			"type": "ellipse",
			"version": 132,
			"versionNonce": 2059927034,
			"isDeleted": false,
			"id": "tQtPXvgzrG3aLhwg3WZkx",
			"fillStyle": "hachure",
			"strokeWidth": 1,
			"strokeStyle": "solid",
			"roughness": 1,
			"opacity": 100,
			"angle": 0,
			"x": -42.21598434448242,
			"y": -134.5205841064453,
			"strokeColor": "#000000",
			"backgroundColor": "transparent",
			"width": 53,
			"height": 53,
			"seed": 306071526,
			"groupIds": [],
			"frameId": null,
			"roundness": null,
			"boundElements": [
				{
					"id": "ReJZJLWp",
					"type": "text"
				},
				{
					"id": "WdRxFms9j10zu_EYfQcRY",
					"type": "arrow"
				},
				{
					"id": "CdwHwrRla9IUuhd3sKH1g",
					"type": "arrow"
				},
				{
					"id": "hz7SK19Nce6L2jekqGKKP",
					"type": "arrow"
				},
				{
					"id": "8pK_U8z8J9gOBFNa-XBh1",
					"type": "arrow"
				},
				{
					"id": "c7mPpk7zW39Iwy_STZpe2",
					"type": "arrow"
				}
			],
			"updated": 1666335530172,
			"link": null,
			"locked": false,
			"customData": {
				"legacyTextWrap": true
			}
		},
		{
			"type": "text",
			"version": 101,
			"versionNonce": 1248410559,
			"isDeleted": false,
			"id": "ReJZJLWp",
			"fillStyle": "hachure",
			"strokeWidth": 1,
			"strokeStyle": "solid",
			"roughness": 1,
			"opacity": 100,
			"angle": 0,
			"x": -23.919109344482422,
			"y": -124.82058410644531,
			"strokeColor": "#000000",
			"backgroundColor": "transparent",
			"width": 16.40625,
			"height": 33.6,
			"seed": 1838616954,
			"groupIds": [],
			"frameId": null,
			"roundness": null,
			"boundElements": [],
			"updated": 1708994770733,
			"link": null,
			"locked": false,
			"fontSize": 28,
			"fontFamily": 3,
			"text": "b",
			"rawText": "b",
			"textAlign": "center",
			"verticalAlign": "middle",
			"containerId": "tQtPXvgzrG3aLhwg3WZkx",
			"originalText": "b",
			"lineHeight": 1.2,
			"baseline": 26
		},
		{
			"type": "ellipse",
			"version": 303,
			"versionNonce": 241146790,
			"isDeleted": false,
			"id": "jNgaM3FXKOlC1QWwGs8hp",
			"fillStyle": "hachure",
			"strokeWidth": 1,
			"strokeStyle": "solid",
			"roughness": 1,
			"opacity": 100,
			"angle": 0,
			"x": -220.48466110229492,
			"y": 33.21333312988281,
			"strokeColor": "#000000",
			"backgroundColor": "transparent",
			"width": 53,
			"height": 53,
			"seed": 545815290,
			"groupIds": [],
			"frameId": null,
			"roundness": null,
			"boundElements": [
				{
					"id": "WfI4nfVv",
					"type": "text"
				},
				{
					"id": "WdRxFms9j10zu_EYfQcRY",
					"type": "arrow"
				},
				{
					"id": "-QiYT7sJj_oxJinE5KIBZ",
					"type": "arrow"
				}
			],
			"updated": 1666334869357,
			"link": null,
			"locked": false,
			"customData": {
				"legacyTextWrap": true
			}
		},
		{
			"type": "text",
			"version": 279,
			"versionNonce": 420421759,
			"isDeleted": false,
			"id": "WfI4nfVv",
			"fillStyle": "hachure",
			"strokeWidth": 1,
			"strokeStyle": "solid",
			"roughness": 1,
			"opacity": 100,
			"angle": 0,
			"x": -202.18778610229492,
			"y": 42.913333129882815,
			"strokeColor": "#000000",
			"backgroundColor": "transparent",
			"width": 16.40625,
			"height": 33.6,
			"seed": 1720469926,
			"groupIds": [],
			"frameId": null,
			"roundness": null,
			"boundElements": [],
			"updated": 1708994770734,
			"link": null,
			"locked": false,
			"fontSize": 28,
			"fontFamily": 3,
			"text": "c",
			"rawText": "c",
			"textAlign": "center",
			"verticalAlign": "middle",
			"containerId": "jNgaM3FXKOlC1QWwGs8hp",
			"originalText": "c",
			"lineHeight": 1.2,
			"baseline": 26
		},
		{
			"type": "ellipse",
			"version": 436,
			"versionNonce": 2084448506,
			"isDeleted": false,
			"id": "0YD2GfcikFlAlP5u1eu5w",
			"fillStyle": "hachure",
			"strokeWidth": 1,
			"strokeStyle": "solid",
			"roughness": 1,
			"opacity": 100,
			"angle": 0,
			"x": -42.21598434448242,
			"y": 166.97862243652344,
			"strokeColor": "#000000",
			"backgroundColor": "transparent",
			"width": 53,
			"height": 53,
			"seed": 244750374,
			"groupIds": [],
			"frameId": null,
			"roundness": null,
			"boundElements": [
				{
					"id": "bZBj7qvG",
					"type": "text"
				},
				{
					"id": "CdwHwrRla9IUuhd3sKH1g",
					"type": "arrow"
				},
				{
					"id": "-QiYT7sJj_oxJinE5KIBZ",
					"type": "arrow"
				},
				{
					"id": "c7mPpk7zW39Iwy_STZpe2",
					"type": "arrow"
				}
			],
			"updated": 1666335571896,
			"link": null,
			"locked": false,
			"customData": {
				"legacyTextWrap": true
			}
		},
		{
			"type": "text",
			"version": 407,
			"versionNonce": 1280275807,
			"isDeleted": false,
			"id": "bZBj7qvG",
			"fillStyle": "hachure",
			"strokeWidth": 1,
			"strokeStyle": "solid",
			"roughness": 1,
			"opacity": 100,
			"angle": 0,
			"x": -23.919109344482422,
			"y": 176.67862243652343,
			"strokeColor": "#000000",
			"backgroundColor": "transparent",
			"width": 16.40625,
			"height": 33.6,
			"seed": 1037755706,
			"groupIds": [],
			"frameId": null,
			"roundness": null,
			"boundElements": [],
			"updated": 1708994770734,
			"link": null,
			"locked": false,
			"fontSize": 28,
			"fontFamily": 3,
			"text": "d",
			"rawText": "d",
			"textAlign": "center",
			"verticalAlign": "middle",
			"containerId": "0YD2GfcikFlAlP5u1eu5w",
			"originalText": "d",
			"lineHeight": 1.2,
			"baseline": 26
		},
		{
			"type": "arrow",
			"version": 363,
			"versionNonce": 1060018175,
			"isDeleted": false,
			"id": "WdRxFms9j10zu_EYfQcRY",
			"fillStyle": "hachure",
			"strokeWidth": 1,
			"strokeStyle": "solid",
			"roughness": 1,
			"opacity": 100,
			"angle": 0,
			"x": -41.425273609938984,
			"y": -97.59579562601024,
			"strokeColor": "#000000",
			"backgroundColor": "transparent",
			"width": 133.16799425052602,
			"height": 137.1852659005614,
			"seed": 565296934,
			"groupIds": [],
			"frameId": null,
			"roundness": {
				"type": 2
			},
			"boundElements": [],
			"updated": 1708994770733,
			"link": null,
			"locked": false,
			"startBinding": {
				"elementId": "tQtPXvgzrG3aLhwg3WZkx",
				"gap": 1.2424542785372843,
				"focus": 0.42212094866578365
			},
			"endBinding": {
				"elementId": "jNgaM3FXKOlC1QWwGs8hp",
				"gap": 1.4463054459705695,
				"focus": -0.003876622377253745
			},
			"lastCommittedPoint": null,
			"startArrowhead": null,
			"endArrowhead": "triangle",
			"points": [
				[
					0,
					0
				],
				[
					-133.16799425052602,
					137.1852659005614
				]
			]
		},
		{
			"type": "text",
			"version": 169,
			"versionNonce": 51725201,
			"isDeleted": false,
			"id": "YRLVNDCN",
			"fillStyle": "hachure",
			"strokeWidth": 1,
			"strokeStyle": "solid",
			"roughness": 1,
			"opacity": 100,
			"angle": 5.497787143782138,
			"x": -183.36814498901367,
			"y": -69.58934020996094,
			"strokeColor": "#000000",
			"backgroundColor": "transparent",
			"width": 131.25,
			"height": 33.6,
			"seed": 2004766182,
			"groupIds": [],
			"frameId": null,
			"roundness": null,
			"boundElements": [],
			"updated": 1709036801626,
			"link": null,
			"locked": false,
			"fontSize": 28,
			"fontFamily": 3,
			"text": "a[i] > 0",
			"rawText": "a[i] > 0",
			"textAlign": "left",
			"verticalAlign": "top",
			"containerId": null,
			"originalText": "a[i] > 0",
			"lineHeight": 1.2,
			"baseline": 27
		},
		{
			"type": "arrow",
			"version": 638,
			"versionNonce": 330452159,
			"isDeleted": false,
			"id": "CdwHwrRla9IUuhd3sKH1g",
			"fillStyle": "hachure",
			"strokeWidth": 1,
			"strokeStyle": "solid",
			"roughness": 1,
			"opacity": 100,
			"angle": 0,
			"x": -13.898037919999435,
			"y": -74.04528382023122,
			"strokeColor": "#000000",
			"backgroundColor": "transparent",
			"width": 4.161891267875131,
			"height": 235.05599712855653,
			"seed": 1977770790,
			"groupIds": [],
			"frameId": null,
			"roundness": {
				"type": 2
			},
			"boundElements": [],
			"updated": 1708994770734,
			"link": null,
			"locked": false,
			"startBinding": {
				"elementId": "tQtPXvgzrG3aLhwg3WZkx",
				"gap": 7.523902755867244,
				"focus": -0.09109795033232303
			},
			"endBinding": {
				"elementId": "0YD2GfcikFlAlP5u1eu5w",
				"gap": 6.052406986055534,
				"focus": -0.11012689857687595
			},
			"lastCommittedPoint": null,
			"startArrowhead": null,
			"endArrowhead": "triangle",
			"points": [
				[
					0,
					0
				],
				[
					-4.161891267875131,
					235.05599712855653
				]
			]
		},
		{
			"type": "arrow",
			"version": 731,
			"versionNonce": 1680304383,
			"isDeleted": false,
			"id": "-QiYT7sJj_oxJinE5KIBZ",
			"fillStyle": "hachure",
			"strokeWidth": 1,
			"strokeStyle": "solid",
			"roughness": 1,
			"opacity": 100,
			"angle": 0,
			"x": -172.1018034492469,
			"y": 79.72408761714598,
			"strokeColor": "#000000",
			"backgroundColor": "transparent",
			"width": 127.94475212323721,
			"height": 102.56045852808984,
			"seed": 1737881190,
			"groupIds": [],
			"frameId": null,
			"roundness": {
				"type": 2
			},
			"boundElements": [],
			"updated": 1708994770734,
			"link": null,
			"locked": false,
			"startBinding": {
				"elementId": "jNgaM3FXKOlC1QWwGs8hp",
				"gap": 3.152820341631685,
				"focus": 0.07271033751137523
			},
			"endBinding": {
				"elementId": "0YD2GfcikFlAlP5u1eu5w",
				"gap": 4.064712252250761,
				"focus": -0.3416733557086538
			},
			"lastCommittedPoint": null,
			"startArrowhead": null,
			"endArrowhead": "triangle",
			"points": [
				[
					0,
					0
				],
				[
					127.94475212323721,
					102.56045852808984
				]
			]
		},
		{
			"type": "text",
			"version": 281,
			"versionNonce": 1451178495,
			"isDeleted": false,
			"id": "N58kuxso",
			"fillStyle": "hachure",
			"strokeWidth": 1,
			"strokeStyle": "solid",
			"roughness": 1,
			"opacity": 100,
			"angle": 1.5707963267948957,
			"x": -94.96012496948244,
			"y": 12.941116333007812,
			"strokeColor": "#000000",
			"backgroundColor": "transparent",
			"width": 196.875,
			"height": 33.6,
			"seed": 1241543418,
			"groupIds": [],
			"frameId": null,
			"roundness": null,
			"boundElements": [],
			"updated": 1709036801628,
			"link": null,
			"locked": false,
			"fontSize": 28,
			"fontFamily": 3,
			"text": "i < a+length",
			"rawText": "i < a+length",
			"textAlign": "left",
			"verticalAlign": "top",
			"containerId": null,
			"originalText": "i < a+length",
			"lineHeight": 1.2,
			"baseline": 27
		},
		{
			"type": "ellipse",
			"version": 464,
			"versionNonce": 214989734,
			"isDeleted": false,
			"id": "qDTNXhct6bCH4pebUc8lR",
			"fillStyle": "hachure",
			"strokeWidth": 1,
			"strokeStyle": "solid",
			"roughness": 1,
			"opacity": 100,
			"angle": 0,
			"x": -42.21598434448242,
			"y": 354.0460662841797,
			"strokeColor": "#000000",
			"backgroundColor": "transparent",
			"width": 53,
			"height": 53,
			"seed": 549649254,
			"groupIds": [],
			"frameId": null,
			"roundness": null,
			"boundElements": [
				{
					"id": "EnXhanWu",
					"type": "text"
				},
				{
					"id": "CdwHwrRla9IUuhd3sKH1g",
					"type": "arrow"
				},
				{
					"id": "-QiYT7sJj_oxJinE5KIBZ",
					"type": "arrow"
				},
				{
					"id": "8pK_U8z8J9gOBFNa-XBh1",
					"type": "arrow"
				}
			],
			"updated": 1666335571896,
			"link": null,
			"locked": false,
			"customData": {
				"legacyTextWrap": true
			}
		},
		{
			"type": "text",
			"version": 437,
			"versionNonce": 639262143,
			"isDeleted": false,
			"id": "EnXhanWu",
			"fillStyle": "hachure",
			"strokeWidth": 1,
			"strokeStyle": "solid",
			"roughness": 1,
			"opacity": 100,
			"angle": 0,
			"x": -23.919109344482422,
			"y": 363.7460662841797,
			"strokeColor": "#000000",
			"backgroundColor": "transparent",
			"width": 16.40625,
			"height": 33.6,
			"seed": 2106152442,
			"groupIds": [],
			"frameId": null,
			"roundness": null,
			"boundElements": [],
			"updated": 1708994770734,
			"link": null,
			"locked": false,
			"fontSize": 28,
			"fontFamily": 3,
			"text": "e",
			"rawText": "e",
			"textAlign": "center",
			"verticalAlign": "middle",
			"containerId": "qDTNXhct6bCH4pebUc8lR",
			"originalText": "e",
			"lineHeight": 1.2,
			"baseline": 26
		},
		{
			"type": "arrow",
			"version": 37,
			"versionNonce": 333468479,
			"isDeleted": false,
			"id": "hz7SK19Nce6L2jekqGKKP",
			"fillStyle": "hachure",
			"strokeWidth": 1,
			"strokeStyle": "solid",
			"roughness": 1,
			"opacity": 100,
			"angle": 0,
			"x": -16.85846100500257,
			"y": -221.6050118381747,
			"strokeColor": "#000000",
			"backgroundColor": "transparent",
			"width": 3.1495117899662173,
			"height": 82.91115402328467,
			"seed": 1956489702,
			"groupIds": [],
			"frameId": null,
			"roundness": {
				"type": 2
			},
			"boundElements": [],
			"updated": 1708994770733,
			"link": null,
			"locked": false,
			"startBinding": {
				"elementId": "eKbjeXabsaClYS-pcVTfy",
				"gap": 2.21412755159119,
				"focus": 0.08239170290389151
			},
			"endBinding": {
				"elementId": "tQtPXvgzrG3aLhwg3WZkx",
				"gap": 4.238866439802191,
				"focus": 0.11961969339622641
			},
			"lastCommittedPoint": null,
			"startArrowhead": null,
			"endArrowhead": "triangle",
			"points": [
				[
					0,
					0
				],
				[
					3.1495117899662173,
					82.91115402328467
				]
			]
		},
		{
			"type": "arrow",
			"version": 799,
			"versionNonce": 1721201023,
			"isDeleted": false,
			"id": "8pK_U8z8J9gOBFNa-XBh1",
			"fillStyle": "hachure",
			"strokeWidth": 1,
			"strokeStyle": "solid",
			"roughness": 1,
			"opacity": 100,
			"angle": 0,
			"x": 14.004657745361328,
			"y": -121.17829895019534,
			"strokeColor": "#000000",
			"backgroundColor": "transparent",
			"width": 141.24395751953125,
			"height": 505.47943115234375,
			"seed": 598010342,
			"groupIds": [],
			"frameId": null,
			"roundness": {
				"type": 2
			},
			"boundElements": [],
			"updated": 1708994770734,
			"link": null,
			"locked": false,
			"startBinding": {
				"elementId": "tQtPXvgzrG3aLhwg3WZkx",
				"gap": 6.00295411408063,
				"focus": -0.8460552286299754
			},
			"endBinding": {
				"elementId": "qDTNXhct6bCH4pebUc8lR",
				"gap": 3.771099411906313,
				"focus": 0.5421196865258499
			},
			"lastCommittedPoint": null,
			"startArrowhead": null,
			"endArrowhead": "triangle",
			"points": [
				[
					0,
					0
				],
				[
					141.24395751953125,
					50.66864013671878
				],
				[
					134.65411376953125,
					453.35589599609375
				],
				[
					0.316650390625,
					505.47943115234375
				]
			]
		},
		{
			"type": "arrow",
			"version": 405,
			"versionNonce": 309326111,
			"isDeleted": false,
			"id": "c7mPpk7zW39Iwy_STZpe2",
			"fillStyle": "hachure",
			"strokeWidth": 1,
			"strokeStyle": "solid",
			"roughness": 1,
			"opacity": 100,
			"angle": 0,
			"x": 18.844318389892578,
			"y": 193.7322235107422,
			"strokeColor": "#000000",
			"backgroundColor": "transparent",
			"width": 89.00054931640625,
			"height": 296.1724548339844,
			"seed": 1945277242,
			"groupIds": [],
			"frameId": null,
			"roundness": {
				"type": 2
			},
			"boundElements": [],
			"updated": 1708994770734,
			"link": null,
			"locked": false,
			"startBinding": {
				"elementId": "0YD2GfcikFlAlP5u1eu5w",
				"gap": 8.061233175286048,
				"focus": 0.4094338637529142
			},
			"endBinding": {
				"elementId": "tQtPXvgzrG3aLhwg3WZkx",
				"gap": 7.262336785780683,
				"focus": -0.15037945201909775
			},
			"lastCommittedPoint": null,
			"startArrowhead": null,
			"endArrowhead": "triangle",
			"points": [
				[
					0,
					0
				],
				[
					81.8717041015625,
					-26.40618896484375
				],
				[
					87.73822021484375,
					-270.159912109375
				],
				[
					-1.2623291015625,
					-296.1724548339844
				]
			]
		}
	],
	"appState": {
		"theme": "dark",
		"viewBackgroundColor": "#ffffff",
		"currentItemStrokeColor": "#000000",
		"currentItemBackgroundColor": "transparent",
		"currentItemFillStyle": "hachure",
		"currentItemStrokeWidth": 1,
		"currentItemStrokeStyle": "solid",
		"currentItemRoughness": 1,
		"currentItemOpacity": 100,
		"currentItemFontFamily": 3,
		"currentItemFontSize": 28,
		"currentItemTextAlign": "left",
		"currentItemStartArrowhead": null,
		"currentItemEndArrowhead": "triangle",
		"scrollX": 464.4045907996058,
		"scrollY": 300.85896414297594,
		"zoom": {
			"value": 1.35
		},
		"currentItemRoundness": "round",
		"gridSize": null,
		"gridColor": {
			"Bold": "#C9C9C9FF",
			"Regular": "#EDEDEDFF"
		},
		"colorPalette": {},
		"currentStrokeOptions": null,
		"previousGridSize": null,
		"frameRendering": {
			"enabled": true,
			"clip": true,
			"name": true,
			"outline": true
		}
	},
	"files": {}
}

%%