#N canvas 141 112 570 510 10; #X msg 38 79 outlets; #X msg 71 188 outlet \$1; #X floatatom 71 166 5 0 0 0 - - -; #X floatatom 62 121 5 0 0 0 - - -; #X msg 28 57 inlets; #X msg 62 143 inlet \$1; #X msg 108 280 inconnect \$1; #X msg 97 240 outconnect \$1; #X obj 28 429 print canvasconnnection; #X floatatom 97 220 5 0 0 0 - - -; #X floatatom 108 260 5 0 0 0 - - -; #N canvas 720 574 450 300 subpatch 0; #X obj 13 26 inlet; #X obj 64 28 inlet; #X obj 108 27 inlet; #X obj 159 29 inlet; #X obj 13 242 outlet; #X obj 72 243 outlet; #X obj 128 243 outlet; #X obj 13 110 canvasconnections; #N canvas 0 23 450 300 subsubpatch 0; #X obj 156 118 canvasconnections 1; #X obj 165 153 print canvasconnections_1; #X obj 162 80 inlet; #X connect 0 0 1 0; #X connect 2 0 0 0; #X restore 168 132 pd subsubpatch; #X connect 0 0 7 0; #X connect 1 0 8 0; #X connect 7 0 4 0; #X restore 28 348 pd subpatch; #X obj 59 397 pack f f f f f; #X text 103 347 <- there is a [canvasconnections] inside; #X obj 29 7 canvasconnections; #X text 144 7 query the connections of the containing canvas; #X text 95 66 get the number of inlets and outlets of the canvas; #X text 123 126 get objectID and and outletID of the object that is connected to the given inlet of the canvas; #X text 138 171 get objectID and and inletID of the object that is connected to the given outlet of the canvas; #X text 177 219; #X text 196 246 Those work similar \, but give the all info about the given connection.; #X text 153 395 <- dummy object; #X obj 98 314 unpack f f f f; #X text 194 311 <- dummy object; #X connect 0 0 11 0; #X connect 1 0 11 0; #X connect 2 0 1 0; #X connect 3 0 5 0; #X connect 4 0 11 0; #X connect 5 0 11 0; #X connect 6 0 11 0; #X connect 7 0 11 0; #X connect 9 0 7 0; #X connect 10 0 6 0; #X connect 11 0 8 0; #X connect 11 1 12 1; #X connect 11 2 12 3; #X connect 22 2 11 2;