|
26 | 26 | }, |
27 | 27 | { |
28 | 28 | "cell_type": "code", |
29 | | - "execution_count": 13, |
| 29 | + "execution_count": 1, |
30 | 30 | "id": "40c51747-64bc-49f2-90c0-c0ff79d24048", |
31 | 31 | "metadata": { |
32 | | - "id": "40c51747-64bc-49f2-90c0-c0ff79d24048" |
| 32 | + "id": "40c51747-64bc-49f2-90c0-c0ff79d24048", |
| 33 | + "outputId": "f703abaa-5a5a-4cad-f138-2a11f2595448", |
| 34 | + "colab": { |
| 35 | + "base_uri": "https://localhost:8080/" |
| 36 | + } |
33 | 37 | }, |
34 | | - "outputs": [], |
| 38 | + "outputs": [ |
| 39 | + { |
| 40 | + "output_type": "stream", |
| 41 | + "name": "stdout", |
| 42 | + "text": [ |
| 43 | + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m15.7/15.7 MB\u001b[0m \u001b[31m50.8 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", |
| 44 | + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m1.6/1.6 MB\u001b[0m \u001b[31m22.4 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", |
| 45 | + "\u001b[?25h" |
| 46 | + ] |
| 47 | + } |
| 48 | + ], |
35 | 49 | "source": [ |
36 | 50 | "%pip install yfiles_jupyter_graphs --quiet\n", |
37 | 51 | "from yfiles_jupyter_graphs import GraphWidget" |
|
49 | 63 | }, |
50 | 64 | { |
51 | 65 | "cell_type": "code", |
52 | | - "execution_count": 14, |
| 66 | + "execution_count": 2, |
53 | 67 | "id": "01400028-72b5-47ff-a5bc-5d9f64f0df31", |
54 | 68 | "metadata": { |
55 | 69 | "id": "01400028-72b5-47ff-a5bc-5d9f64f0df31" |
|
93 | 107 | }, |
94 | 108 | { |
95 | 109 | "cell_type": "code", |
96 | | - "execution_count": 15, |
| 110 | + "execution_count": 3, |
97 | 111 | "id": "e09589a6-ce29-4da1-9578-90dc4b4394ba", |
98 | 112 | "metadata": { |
99 | 113 | "id": "e09589a6-ce29-4da1-9578-90dc4b4394ba" |
|
128 | 142 | }, |
129 | 143 | { |
130 | 144 | "cell_type": "code", |
131 | | - "execution_count": 16, |
| 145 | + "execution_count": 4, |
132 | 146 | "id": "055f895e-6934-45e4-8ed5-e1e423c9ce09", |
133 | 147 | "metadata": { |
134 | 148 | "id": "055f895e-6934-45e4-8ed5-e1e423c9ce09", |
135 | | - "outputId": "69c2c53b-b072-4f1c-db6f-4b24288c093f", |
| 149 | + "outputId": "bd173bb6-2d08-4d5e-a362-b1533c745a47", |
136 | 150 | "colab": { |
137 | 151 | "base_uri": "https://localhost:8080/", |
138 | 152 | "height": 517, |
139 | 153 | "referenced_widgets": [ |
140 | | - "fdfdd5c491d3456eb6346141a833e381", |
141 | | - "d3b86df3ae9942ca8de32531bcb6b2b4" |
| 154 | + "f08fffde161649b084677d02fc4d3f7c", |
| 155 | + "bda08776fd454bb3a8673c2fa96543ff" |
142 | 156 | ] |
143 | 157 | } |
144 | 158 | }, |
|
152 | 166 | "application/vnd.jupyter.widget-view+json": { |
153 | 167 | "version_major": 2, |
154 | 168 | "version_minor": 0, |
155 | | - "model_id": "fdfdd5c491d3456eb6346141a833e381" |
| 169 | + "model_id": "f08fffde161649b084677d02fc4d3f7c" |
156 | 170 | } |
157 | 171 | }, |
158 | 172 | "metadata": { |
|
186 | 200 | }, |
187 | 201 | { |
188 | 202 | "cell_type": "code", |
189 | | - "execution_count": 17, |
| 203 | + "execution_count": 5, |
190 | 204 | "id": "6f5c56bf-c4d3-4dc1-a6dd-5e640d913d21", |
191 | 205 | "metadata": { |
192 | 206 | "id": "6f5c56bf-c4d3-4dc1-a6dd-5e640d913d21", |
193 | | - "outputId": "a903d426-cfa2-4f8c-ee1f-4776138bc188", |
| 207 | + "outputId": "39817932-6b75-4849-dbfb-4d14a097c8f0", |
194 | 208 | "colab": { |
195 | 209 | "base_uri": "https://localhost:8080/" |
196 | 210 | } |
|
243 | 257 | ] |
244 | 258 | }, |
245 | 259 | "metadata": {}, |
246 | | - "execution_count": 17 |
| 260 | + "execution_count": 5 |
247 | 261 | } |
248 | 262 | ], |
249 | 263 | "source": [ |
|
264 | 278 | }, |
265 | 279 | { |
266 | 280 | "cell_type": "code", |
267 | | - "execution_count": 18, |
| 281 | + "execution_count": 6, |
268 | 282 | "id": "43a47347-36c1-49af-a6bc-3207329fd54a", |
269 | 283 | "metadata": { |
270 | 284 | "id": "43a47347-36c1-49af-a6bc-3207329fd54a", |
271 | | - "outputId": "a62c84e7-4838-48f1-e4eb-feccdda01ae8", |
| 285 | + "outputId": "8928570c-01d2-4d2b-a27a-fb583ac27684", |
272 | 286 | "colab": { |
273 | 287 | "base_uri": "https://localhost:8080/" |
274 | 288 | } |
|
282 | 296 | " 'start': 0,\n", |
283 | 297 | " 'end': 'one',\n", |
284 | 298 | " 'properties': {'since': '1992', 'label': 'knows'},\n", |
285 | | - " 'label': 'knows',\n", |
286 | 299 | " 'color': '#15AFAC',\n", |
287 | 300 | " 'thickness_factor': 1.0,\n", |
288 | | - " 'directed': True},\n", |
| 301 | + " 'directed': True,\n", |
| 302 | + " 'styles': {},\n", |
| 303 | + " 'label': 'knows'},\n", |
289 | 304 | " {'id': 1,\n", |
290 | 305 | " 'start': 'one',\n", |
291 | 306 | " 'end': True,\n", |
292 | 307 | " 'properties': {'label': 'knows', 'since': '1992'},\n", |
293 | | - " 'label': 'knows',\n", |
294 | 308 | " 'color': '#15AFAC',\n", |
295 | 309 | " 'thickness_factor': 1.0,\n", |
296 | | - " 'directed': True},\n", |
| 310 | + " 'directed': True,\n", |
| 311 | + " 'styles': {},\n", |
| 312 | + " 'label': 'knows'},\n", |
297 | 313 | " {'id': 2.0,\n", |
298 | 314 | " 'start': 2.0,\n", |
299 | 315 | " 'end': True,\n", |
300 | 316 | " 'properties': {'label': 'knows', 'since': '1992'},\n", |
301 | | - " 'label': 'knows',\n", |
302 | 317 | " 'color': '#15AFAC',\n", |
303 | 318 | " 'thickness_factor': 1.0,\n", |
304 | | - " 'directed': True},\n", |
| 319 | + " 'directed': True,\n", |
| 320 | + " 'styles': {},\n", |
| 321 | + " 'label': 'knows'},\n", |
305 | 322 | " {'id': False,\n", |
306 | 323 | " 'start': 0,\n", |
307 | 324 | " 'end': 2.0,\n", |
308 | 325 | " 'properties': {'label': 'knows', 'since': 234},\n", |
309 | | - " 'label': 'knows',\n", |
310 | 326 | " 'color': '#15AFAC',\n", |
311 | 327 | " 'thickness_factor': 1.0,\n", |
312 | | - " 'directed': True}]" |
| 328 | + " 'directed': True,\n", |
| 329 | + " 'styles': {},\n", |
| 330 | + " 'label': 'knows'}]" |
313 | 331 | ] |
314 | 332 | }, |
315 | 333 | "metadata": {}, |
316 | | - "execution_count": 18 |
| 334 | + "execution_count": 6 |
317 | 335 | } |
318 | 336 | ], |
319 | 337 | "source": [ |
|
344 | 362 | }, |
345 | 363 | "widgets": { |
346 | 364 | "application/vnd.jupyter.widget-state+json": { |
347 | | - "fdfdd5c491d3456eb6346141a833e381": { |
| 365 | + "f08fffde161649b084677d02fc4d3f7c": { |
348 | 366 | "model_module": "yfiles-jupyter-graphs", |
349 | 367 | "model_name": "GraphModel", |
350 | | - "model_module_version": "^1.8.1", |
| 368 | + "model_module_version": "^1.10.9", |
351 | 369 | "state": { |
352 | 370 | "_context_pane_mapping": [ |
353 | 371 | { |
|
379 | 397 | "since": "1992", |
380 | 398 | "label": "knows" |
381 | 399 | }, |
382 | | - "label": "knows", |
383 | 400 | "color": "#15AFAC", |
384 | 401 | "thickness_factor": 1, |
385 | | - "directed": true |
| 402 | + "directed": true, |
| 403 | + "styles": {}, |
| 404 | + "label": "knows" |
386 | 405 | }, |
387 | 406 | { |
388 | 407 | "id": 1, |
|
392 | 411 | "label": "knows", |
393 | 412 | "since": "1992" |
394 | 413 | }, |
395 | | - "label": "knows", |
396 | 414 | "color": "#15AFAC", |
397 | 415 | "thickness_factor": 1, |
398 | | - "directed": true |
| 416 | + "directed": true, |
| 417 | + "styles": {}, |
| 418 | + "label": "knows" |
399 | 419 | }, |
400 | 420 | { |
401 | 421 | "id": 2, |
|
405 | 425 | "label": "knows", |
406 | 426 | "since": "1992" |
407 | 427 | }, |
408 | | - "label": "knows", |
409 | 428 | "color": "#15AFAC", |
410 | 429 | "thickness_factor": 1, |
411 | | - "directed": true |
| 430 | + "directed": true, |
| 431 | + "styles": {}, |
| 432 | + "label": "knows" |
412 | 433 | }, |
413 | 434 | { |
414 | 435 | "id": false, |
|
418 | 439 | "label": "knows", |
419 | 440 | "since": 234 |
420 | 441 | }, |
421 | | - "label": "knows", |
422 | 442 | "color": "#15AFAC", |
423 | 443 | "thickness_factor": 1, |
424 | | - "directed": true |
| 444 | + "directed": true, |
| 445 | + "styles": {}, |
| 446 | + "label": "knows" |
425 | 447 | } |
426 | 448 | ], |
427 | 449 | "_graph_layout": {}, |
428 | 450 | "_highlight": [], |
429 | 451 | "_license": {}, |
430 | 452 | "_model_module": "yfiles-jupyter-graphs", |
431 | | - "_model_module_version": "^1.8.1", |
| 453 | + "_model_module_version": "^1.10.9", |
432 | 454 | "_model_name": "GraphModel", |
433 | 455 | "_neighborhood": {}, |
434 | 456 | "_nodes": [ |
|
529 | 551 | }, |
530 | 552 | "_view_count": null, |
531 | 553 | "_view_module": "yfiles-jupyter-graphs", |
532 | | - "_view_module_version": "^1.8.1", |
| 554 | + "_view_module_version": "^1.10.9", |
533 | 555 | "_view_name": "GraphView", |
534 | | - "layout": "IPY_MODEL_d3b86df3ae9942ca8de32531bcb6b2b4", |
535 | | - "tabbable": null, |
536 | | - "tooltip": null |
| 556 | + "layout": "IPY_MODEL_bda08776fd454bb3a8673c2fa96543ff" |
537 | 557 | } |
538 | 558 | }, |
539 | | - "d3b86df3ae9942ca8de32531bcb6b2b4": { |
| 559 | + "bda08776fd454bb3a8673c2fa96543ff": { |
540 | 560 | "model_module": "@jupyter-widgets/base", |
541 | 561 | "model_name": "LayoutModel", |
542 | | - "model_module_version": "2.0.0", |
| 562 | + "model_module_version": "1.2.0", |
543 | 563 | "state": { |
544 | 564 | "_model_module": "@jupyter-widgets/base", |
545 | | - "_model_module_version": "2.0.0", |
| 565 | + "_model_module_version": "1.2.0", |
546 | 566 | "_model_name": "LayoutModel", |
547 | 567 | "_view_count": null, |
548 | 568 | "_view_module": "@jupyter-widgets/base", |
549 | | - "_view_module_version": "2.0.0", |
| 569 | + "_view_module_version": "1.2.0", |
550 | 570 | "_view_name": "LayoutView", |
551 | 571 | "align_content": null, |
552 | 572 | "align_items": null, |
553 | 573 | "align_self": null, |
554 | | - "border_bottom": null, |
555 | | - "border_left": null, |
556 | | - "border_right": null, |
557 | | - "border_top": null, |
| 574 | + "border": null, |
558 | 575 | "bottom": null, |
559 | 576 | "display": null, |
560 | 577 | "flex": null, |
|
582 | 599 | "object_position": null, |
583 | 600 | "order": null, |
584 | 601 | "overflow": null, |
| 602 | + "overflow_x": null, |
| 603 | + "overflow_y": null, |
585 | 604 | "padding": null, |
586 | 605 | "right": null, |
587 | 606 | "top": null, |
588 | 607 | "visibility": null, |
589 | 608 | "width": "100%" |
590 | 609 | } |
591 | | - }, |
592 | | - "state": {} |
| 610 | + } |
593 | 611 | } |
594 | 612 | } |
595 | 613 | }, |
|
0 commit comments