forked from miromarchi/rbv_view_graph
-
Notifications
You must be signed in to change notification settings - Fork 0
/
rbv_view_graph.views_default.inc
598 lines (588 loc) · 41 KB
/
rbv_view_graph.views_default.inc
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
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
<?php
/**
* @file
* rbv_view_graph.views_default.inc
*/
/**
* Implements hook_views_default_views().
*/
function rbv_view_graph_views_default_views() {
$export = array();
$view = new view();
$view->name = 'rbv_view_graph';
$view->description = '';
$view->tag = 'default';
$view->base_table = 'node';
$view->human_name = 'RBV graph';
$view->core = 7;
$view->api_version = '3.0';
$view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
/* Display: Master */
$handler = $view->new_display('default', 'Master', 'default');
$handler->display->display_options['title'] = 'Insieme siamo una rete';
$handler->display->display_options['use_more_always'] = FALSE;
$handler->display->display_options['access']['type'] = 'perm';
$handler->display->display_options['cache']['type'] = 'none';
$handler->display->display_options['query']['type'] = 'views_query';
$handler->display->display_options['exposed_form']['type'] = 'basic';
$handler->display->display_options['exposed_form']['options']['submit_button'] = 'Applica filtro';
$handler->display->display_options['exposed_form']['options']['reset_button'] = TRUE;
$handler->display->display_options['exposed_form']['options']['reset_button_label'] = 'Ripristina filtro';
$handler->display->display_options['pager']['type'] = 'none';
$handler->display->display_options['style_plugin'] = 'graphapi_style';
$handler->display->display_options['style_options']['engine'] = 'd3';
$handler->display->display_options['style_options']['d3'] = array(
'library' => 'network',
'fields' => array(
'nid' => 'from:id',
'title' => 'from:label',
'path' => 'from:URI',
'field_com_date_1' => 'from:content',
'nid_1' => 'to:id',
'title_1' => 'to:label',
'path_1' => 'to:URI',
'field_com_date_2' => 'to:content',
'field_com_date' => 'link:color',
),
);
$handler->display->display_options['style_options']['graphapi']['width'] = '300';
$handler->display->display_options['style_options']['graphapi']['height'] = '300';
$handler->display->display_options['style_options']['graphapi']['background-color'] = 'ffffff';
/* Piè di pagina: Global: Text area */
$handler->display->display_options['footer']['area']['id'] = 'area';
$handler->display->display_options['footer']['area']['table'] = 'views';
$handler->display->display_options['footer']['area']['field'] = 'area';
$handler->display->display_options['footer']['area']['label'] = 'footer';
$handler->display->display_options['footer']['area']['empty'] = TRUE;
$handler->display->display_options['footer']['area']['content'] = '<div class="callout callout-info">
<h4>Una rete</h4>
<p>Per prendersi cura dei beni comuni, le organizzazioni della società civile e dell\'economia solidale collaborano spesso sulla base di progetti e attività specifiche. Questa pagina mostra la rete risultante dalle relazioni di collaborazione.</p>
</div>
<div class="callout callout-warning">
<h4>I dati</h4>
<p>La rete è disegnata in base ai dati inseriti in retebuonvivere, per questo <strong>è davvero importante la partecipazione di tutti nell\'inserimento dei dati</strong>.</p>
</div>
<p>Vengono visualizzate soltanto le organizzazioni connesse tramite almeno una collaborazione. Per questo tutte le organizzazioni di retebuonvivere che non hanno ancora inserito un progetto/attività o una collaborazione, non vengono visualizzate.</p>
<p>Chi è interessato all\'aspetto tecnologico della visualizzazione delle reti può <a href="discussioni/unirsi-al-gruppo-di-sviluppo">unirsi al gruppo di sviluppo</a>!</p>
<p>È possibile utilizzare i filtri per vedere la rete di particolari organizzazioni o dei progetti. I filtri agiscono sul nome dei gruppi. È possibile inserire più nomi contemporaneamente ed utilizzare le " " per cercare un nome completo (es: il filtro <em>Rosso Verde</em> restituirà qualsiasi nome che contenga almeno una delle parole <em>Rosso</em> o <em>Verde</em>. Mentre il filtro <em>"Rosso Verde"</em> restituirà solo i nomi che contengono entrambe le parole).</p>
<p>Questa visualizzazione non permette ancora di tenere conto della temporalità delle collaborazioni. Inoltre, disegnando le organizzazioni e i progetti come cerchi e le collaborazioni come linee, porta l\'attenzione sull\'identità delle organizzazioni. Per introdurre la dimensione del tempo e spostare l\'attenzione sulle collaborazioni è stato proposto un metodo. Chi è interessato può partecipare o seguire la discussione <a href="discussioni/inserire-la-dimensione-del-tempo">"inserire la dimensione del tempo"</a>.</p>
<svg width="120" height="49">
<g class="data">
<g class="node" transform="translate(10,12)">
<circle class="node" r="9" style="fill: #ABDC0A; stroke: #fff; stroke-width: 4px;"></circle>
<text class="nodetext" dx="10" dy="1" font-size="13">Organizzazione</text>
</g>
<g class="node" transform="translate(10,36)">
<circle class="node" r="8" style="fill: #378722; stroke: #fff; stroke-width: 0px;"></circle>
<text class="nodetext" dx="10" dy="1" font-size="13">Progetto/attività</text>
</g>
</g>
</svg>';
$handler->display->display_options['footer']['area']['format'] = 'rbv_full_html';
/* Relationship: referencing from field_rel_source */
$handler->display->display_options['relationships']['reverse_field_rel_source_node']['id'] = 'reverse_field_rel_source_node';
$handler->display->display_options['relationships']['reverse_field_rel_source_node']['table'] = 'node';
$handler->display->display_options['relationships']['reverse_field_rel_source_node']['field'] = 'reverse_field_rel_source_node';
$handler->display->display_options['relationships']['reverse_field_rel_source_node']['ui_name'] = 'referencing from field_rel_source';
$handler->display->display_options['relationships']['reverse_field_rel_source_node']['label'] = 'referencing from field_rel_source';
/* Relationship: progetto */
$handler->display->display_options['relationships']['field_relpro_project_target_id']['id'] = 'field_relpro_project_target_id';
$handler->display->display_options['relationships']['field_relpro_project_target_id']['table'] = 'field_data_field_relpro_project';
$handler->display->display_options['relationships']['field_relpro_project_target_id']['field'] = 'field_relpro_project_target_id';
$handler->display->display_options['relationships']['field_relpro_project_target_id']['relationship'] = 'reverse_field_rel_source_node';
$handler->display->display_options['relationships']['field_relpro_project_target_id']['ui_name'] = 'progetto';
$handler->display->display_options['relationships']['field_relpro_project_target_id']['label'] = 'entity referenced from field_relpro_project';
/* Campo: Contenuto: Nid */
$handler->display->display_options['fields']['nid']['id'] = 'nid';
$handler->display->display_options['fields']['nid']['table'] = 'node';
$handler->display->display_options['fields']['nid']['field'] = 'nid';
$handler->display->display_options['fields']['nid']['label'] = '';
$handler->display->display_options['fields']['nid']['element_label_colon'] = FALSE;
/* Campo: Contenuto: Titolo */
$handler->display->display_options['fields']['title']['id'] = 'title';
$handler->display->display_options['fields']['title']['table'] = 'node';
$handler->display->display_options['fields']['title']['field'] = 'title';
$handler->display->display_options['fields']['title']['label'] = '';
$handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
$handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
$handler->display->display_options['fields']['title']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['title']['link_to_node'] = FALSE;
/* Campo: Contenuto: Percorso */
$handler->display->display_options['fields']['path']['id'] = 'path';
$handler->display->display_options['fields']['path']['table'] = 'node';
$handler->display->display_options['fields']['path']['field'] = 'path';
$handler->display->display_options['fields']['path']['label'] = '';
$handler->display->display_options['fields']['path']['element_label_colon'] = FALSE;
/* Campo: Campo: Date */
$handler->display->display_options['fields']['field_com_date_1']['id'] = 'field_com_date_1';
$handler->display->display_options['fields']['field_com_date_1']['table'] = 'field_data_field_com_date';
$handler->display->display_options['fields']['field_com_date_1']['field'] = 'field_com_date';
$handler->display->display_options['fields']['field_com_date_1']['label'] = '';
$handler->display->display_options['fields']['field_com_date_1']['alter']['alter_text'] = TRUE;
$handler->display->display_options['fields']['field_com_date_1']['alter']['text'] = '[field_com_date_1-value],[field_com_date_1-value2]';
$handler->display->display_options['fields']['field_com_date_1']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['field_com_date_1']['settings'] = array(
'format_type' => 'long',
'fromto' => 'both',
'multiple_number' => '',
'multiple_from' => '',
'multiple_to' => '',
);
/* Campo: Contenuto: Nid */
$handler->display->display_options['fields']['nid_1']['id'] = 'nid_1';
$handler->display->display_options['fields']['nid_1']['table'] = 'node';
$handler->display->display_options['fields']['nid_1']['field'] = 'nid';
$handler->display->display_options['fields']['nid_1']['relationship'] = 'field_relpro_project_target_id';
$handler->display->display_options['fields']['nid_1']['label'] = '';
$handler->display->display_options['fields']['nid_1']['element_label_colon'] = FALSE;
/* Campo: Contenuto: Titolo */
$handler->display->display_options['fields']['title_1']['id'] = 'title_1';
$handler->display->display_options['fields']['title_1']['table'] = 'node';
$handler->display->display_options['fields']['title_1']['field'] = 'title';
$handler->display->display_options['fields']['title_1']['relationship'] = 'field_relpro_project_target_id';
$handler->display->display_options['fields']['title_1']['label'] = '';
$handler->display->display_options['fields']['title_1']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['title_1']['link_to_node'] = FALSE;
/* Campo: Contenuto: Percorso */
$handler->display->display_options['fields']['path_1']['id'] = 'path_1';
$handler->display->display_options['fields']['path_1']['table'] = 'node';
$handler->display->display_options['fields']['path_1']['field'] = 'path';
$handler->display->display_options['fields']['path_1']['relationship'] = 'field_relpro_project_target_id';
$handler->display->display_options['fields']['path_1']['label'] = '';
$handler->display->display_options['fields']['path_1']['element_label_colon'] = FALSE;
/* Campo: Campo: Date */
$handler->display->display_options['fields']['field_com_date_2']['id'] = 'field_com_date_2';
$handler->display->display_options['fields']['field_com_date_2']['table'] = 'field_data_field_com_date';
$handler->display->display_options['fields']['field_com_date_2']['field'] = 'field_com_date';
$handler->display->display_options['fields']['field_com_date_2']['relationship'] = 'field_relpro_project_target_id';
$handler->display->display_options['fields']['field_com_date_2']['label'] = '';
$handler->display->display_options['fields']['field_com_date_2']['alter']['alter_text'] = TRUE;
$handler->display->display_options['fields']['field_com_date_2']['alter']['text'] = '[field_com_date_2-value],[field_com_date_2-value2]';
$handler->display->display_options['fields']['field_com_date_2']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['field_com_date_2']['settings'] = array(
'format_type' => 'long',
'fromto' => 'both',
'multiple_number' => '',
'multiple_from' => '',
'multiple_to' => '',
);
/* Campo: Campo: Date */
$handler->display->display_options['fields']['field_com_date']['id'] = 'field_com_date';
$handler->display->display_options['fields']['field_com_date']['table'] = 'field_data_field_com_date';
$handler->display->display_options['fields']['field_com_date']['field'] = 'field_com_date';
$handler->display->display_options['fields']['field_com_date']['relationship'] = 'reverse_field_rel_source_node';
$handler->display->display_options['fields']['field_com_date']['label'] = '';
$handler->display->display_options['fields']['field_com_date']['alter']['alter_text'] = TRUE;
$handler->display->display_options['fields']['field_com_date']['alter']['text'] = '[field_com_date-value],[field_com_date-value2]';
$handler->display->display_options['fields']['field_com_date']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['field_com_date']['settings'] = array(
'format_type' => 'long',
'fromto' => 'both',
'multiple_number' => '',
'multiple_from' => '',
'multiple_to' => '',
);
/* Filter criterion: Contenuto: Pubblicato */
$handler->display->display_options['filters']['status']['id'] = 'status';
$handler->display->display_options['filters']['status']['table'] = 'node';
$handler->display->display_options['filters']['status']['field'] = 'status';
$handler->display->display_options['filters']['status']['value'] = 1;
$handler->display->display_options['filters']['status']['group'] = 1;
$handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
/* Display: pane: ER graph */
$handler = $view->new_display('panel_pane', 'pane: ER graph', 'panel_pane_1');
$handler->display->display_options['defaults']['use_ajax'] = FALSE;
$handler->display->display_options['defaults']['query'] = FALSE;
$handler->display->display_options['query']['type'] = 'views_query';
$handler->display->display_options['query']['options']['disable_sql_rewrite'] = TRUE;
$handler->display->display_options['defaults']['header'] = FALSE;
$handler->display->display_options['defaults']['footer'] = FALSE;
$handler->display->display_options['defaults']['filter_groups'] = FALSE;
$handler->display->display_options['defaults']['filters'] = FALSE;
/* Filter criterion: Contenuto: Pubblicato */
$handler->display->display_options['filters']['status']['id'] = 'status';
$handler->display->display_options['filters']['status']['table'] = 'node';
$handler->display->display_options['filters']['status']['field'] = 'status';
$handler->display->display_options['filters']['status']['value'] = 1;
$handler->display->display_options['filters']['status']['group'] = 1;
$handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
/* Filter criterion: Contenuto: Tipo */
$handler->display->display_options['filters']['type']['id'] = 'type';
$handler->display->display_options['filters']['type']['table'] = 'node';
$handler->display->display_options['filters']['type']['field'] = 'type';
$handler->display->display_options['filters']['type']['value'] = array(
'org' => 'org',
);
$handler->display->display_options['filters']['type']['expose']['operator_id'] = 'type_op';
$handler->display->display_options['filters']['type']['expose']['label'] = 'Tipo';
$handler->display->display_options['filters']['type']['expose']['operator'] = 'type_op';
$handler->display->display_options['filters']['type']['expose']['identifier'] = 'type';
$handler->display->display_options['inherit_panels_path'] = '0';
/* Display: pane: relation graph */
$handler = $view->new_display('panel_pane', 'pane: relation graph', 'panel_pane_2');
$handler->display->display_options['defaults']['style_plugin'] = FALSE;
$handler->display->display_options['style_plugin'] = 'graphapi_style';
$handler->display->display_options['style_options']['engine'] = 'd3';
$handler->display->display_options['style_options']['d3'] = array(
'library' => 'network2',
'fields' => array(
'nid' => 'from:id',
'title' => 'from:label',
'path' => 'from:URI',
'field_com_date' => 'from:content',
'nid_1' => 'to:id',
'title_1' => 'to:label',
'path_1' => 'to:URI',
'field_com_date_1' => 'to:content',
'field_rel_collaborations' => 'link:color',
),
);
$handler->display->display_options['style_options']['graphapi']['width'] = '800';
$handler->display->display_options['style_options']['graphapi']['height'] = '600';
$handler->display->display_options['defaults']['style_options'] = FALSE;
$handler->display->display_options['defaults']['row_plugin'] = FALSE;
$handler->display->display_options['defaults']['row_options'] = FALSE;
$handler->display->display_options['defaults']['footer'] = FALSE;
$handler->display->display_options['defaults']['relationships'] = FALSE;
/* Relationship: Contenuto: Relation: coopera con (node ↔ node) */
$handler->display->display_options['relationships']['relation_cooperates_with_node']['id'] = 'relation_cooperates_with_node';
$handler->display->display_options['relationships']['relation_cooperates_with_node']['table'] = 'node';
$handler->display->display_options['relationships']['relation_cooperates_with_node']['field'] = 'relation_cooperates_with_node';
$handler->display->display_options['relationships']['relation_cooperates_with_node']['required'] = TRUE;
$handler->display->display_options['relationships']['relation_cooperates_with_node']['entity_deduplication_left'] = 0;
$handler->display->display_options['relationships']['relation_cooperates_with_node']['entity_deduplication_right'] = 0;
/* Relationship: Contenuto: Relation: coopera con (node → relation) */
$handler->display->display_options['relationships']['relation_base_left_cooperates_with']['id'] = 'relation_base_left_cooperates_with';
$handler->display->display_options['relationships']['relation_base_left_cooperates_with']['table'] = 'node';
$handler->display->display_options['relationships']['relation_base_left_cooperates_with']['field'] = 'relation_base_left_cooperates_with';
$handler->display->display_options['relationships']['relation_base_left_cooperates_with']['entity_deduplication_left'] = 1;
$handler->display->display_options['defaults']['fields'] = FALSE;
/* Campo: Contenuto: Nid */
$handler->display->display_options['fields']['nid']['id'] = 'nid';
$handler->display->display_options['fields']['nid']['table'] = 'node';
$handler->display->display_options['fields']['nid']['field'] = 'nid';
$handler->display->display_options['fields']['nid']['relationship'] = 'field_rel_source_target_id';
$handler->display->display_options['fields']['nid']['label'] = '';
$handler->display->display_options['fields']['nid']['element_label_colon'] = FALSE;
/* Campo: Contenuto: Titolo */
$handler->display->display_options['fields']['title']['id'] = 'title';
$handler->display->display_options['fields']['title']['table'] = 'node';
$handler->display->display_options['fields']['title']['field'] = 'title';
$handler->display->display_options['fields']['title']['relationship'] = 'field_rel_source_target_id';
$handler->display->display_options['fields']['title']['label'] = '';
$handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
$handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
$handler->display->display_options['fields']['title']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['title']['link_to_node'] = FALSE;
/* Campo: Contenuto: Percorso */
$handler->display->display_options['fields']['path']['id'] = 'path';
$handler->display->display_options['fields']['path']['table'] = 'node';
$handler->display->display_options['fields']['path']['field'] = 'path';
$handler->display->display_options['fields']['path']['label'] = '';
$handler->display->display_options['fields']['path']['element_label_colon'] = FALSE;
/* Campo: Campo: Date */
$handler->display->display_options['fields']['field_com_date']['id'] = 'field_com_date';
$handler->display->display_options['fields']['field_com_date']['table'] = 'field_data_field_com_date';
$handler->display->display_options['fields']['field_com_date']['field'] = 'field_com_date';
$handler->display->display_options['fields']['field_com_date']['label'] = '';
$handler->display->display_options['fields']['field_com_date']['alter']['alter_text'] = TRUE;
$handler->display->display_options['fields']['field_com_date']['alter']['text'] = '[field_com_date-value],[field_com_date-value2]';
$handler->display->display_options['fields']['field_com_date']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['field_com_date']['settings'] = array(
'format_type' => 'long',
'fromto' => 'both',
'multiple_number' => '',
'multiple_from' => '',
'multiple_to' => '',
);
/* Campo: Contenuto: Nid */
$handler->display->display_options['fields']['nid_1']['id'] = 'nid_1';
$handler->display->display_options['fields']['nid_1']['table'] = 'node';
$handler->display->display_options['fields']['nid_1']['field'] = 'nid';
$handler->display->display_options['fields']['nid_1']['relationship'] = 'relation_cooperates_with_node';
$handler->display->display_options['fields']['nid_1']['label'] = '';
$handler->display->display_options['fields']['nid_1']['element_label_colon'] = FALSE;
/* Campo: Contenuto: Titolo */
$handler->display->display_options['fields']['title_1']['id'] = 'title_1';
$handler->display->display_options['fields']['title_1']['table'] = 'node';
$handler->display->display_options['fields']['title_1']['field'] = 'title';
$handler->display->display_options['fields']['title_1']['relationship'] = 'relation_cooperates_with_node';
$handler->display->display_options['fields']['title_1']['label'] = '';
$handler->display->display_options['fields']['title_1']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['title_1']['link_to_node'] = FALSE;
/* Campo: Contenuto: Percorso */
$handler->display->display_options['fields']['path_1']['id'] = 'path_1';
$handler->display->display_options['fields']['path_1']['table'] = 'node';
$handler->display->display_options['fields']['path_1']['field'] = 'path';
$handler->display->display_options['fields']['path_1']['relationship'] = 'relation_cooperates_with_node';
$handler->display->display_options['fields']['path_1']['label'] = '';
$handler->display->display_options['fields']['path_1']['element_label_colon'] = FALSE;
/* Campo: Campo: Date */
$handler->display->display_options['fields']['field_com_date_1']['id'] = 'field_com_date_1';
$handler->display->display_options['fields']['field_com_date_1']['table'] = 'field_data_field_com_date';
$handler->display->display_options['fields']['field_com_date_1']['field'] = 'field_com_date';
$handler->display->display_options['fields']['field_com_date_1']['relationship'] = 'relation_cooperates_with_node';
$handler->display->display_options['fields']['field_com_date_1']['label'] = '';
$handler->display->display_options['fields']['field_com_date_1']['alter']['alter_text'] = TRUE;
$handler->display->display_options['fields']['field_com_date_1']['alter']['text'] = '[field_com_date_1-value],[field_com_date_1-value2]';
$handler->display->display_options['fields']['field_com_date_1']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['field_com_date_1']['settings'] = array(
'format_type' => 'long',
'fromto' => 'both',
'multiple_number' => '',
'multiple_from' => '',
'multiple_to' => '',
);
/* Campo: Relation: Collaborano ai progetti */
$handler->display->display_options['fields']['field_rel_collaborations']['id'] = 'field_rel_collaborations';
$handler->display->display_options['fields']['field_rel_collaborations']['table'] = 'field_data_field_rel_collaborations';
$handler->display->display_options['fields']['field_rel_collaborations']['field'] = 'field_rel_collaborations';
$handler->display->display_options['fields']['field_rel_collaborations']['relationship'] = 'relation_base_left_cooperates_with';
$handler->display->display_options['fields']['field_rel_collaborations']['label'] = '';
$handler->display->display_options['fields']['field_rel_collaborations']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['field_rel_collaborations']['settings'] = array(
'link' => 0,
);
$handler->display->display_options['fields']['field_rel_collaborations']['delta_offset'] = '0';
/* Display: pane: ER project graph */
$handler = $view->new_display('panel_pane', 'pane: ER project graph', 'panel_pane_3');
$handler->display->display_options['defaults']['title'] = FALSE;
$handler->display->display_options['title'] = 'Rete';
$handler->display->display_options['defaults']['use_ajax'] = FALSE;
$handler->display->display_options['defaults']['header'] = FALSE;
$handler->display->display_options['defaults']['footer'] = FALSE;
$handler->display->display_options['defaults']['arguments'] = FALSE;
/* Contextual filter: Contenuto: Nid */
$handler->display->display_options['arguments']['nid']['id'] = 'nid';
$handler->display->display_options['arguments']['nid']['table'] = 'node';
$handler->display->display_options['arguments']['nid']['field'] = 'nid';
$handler->display->display_options['arguments']['nid']['relationship'] = 'field_relpro_project_target_id';
$handler->display->display_options['arguments']['nid']['default_action'] = 'default';
$handler->display->display_options['arguments']['nid']['exception']['title'] = 'Tutti';
$handler->display->display_options['arguments']['nid']['default_argument_type'] = 'node';
$handler->display->display_options['arguments']['nid']['summary']['number_of_records'] = '0';
$handler->display->display_options['arguments']['nid']['summary']['format'] = 'default_summary';
$handler->display->display_options['arguments']['nid']['summary_options']['items_per_page'] = '25';
$handler->display->display_options['defaults']['filter_groups'] = FALSE;
$handler->display->display_options['defaults']['filters'] = FALSE;
/* Filter criterion: Contenuto: Pubblicato */
$handler->display->display_options['filters']['status']['id'] = 'status';
$handler->display->display_options['filters']['status']['table'] = 'node';
$handler->display->display_options['filters']['status']['field'] = 'status';
$handler->display->display_options['filters']['status']['value'] = 1;
$handler->display->display_options['filters']['status']['group'] = 1;
$handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
$handler->display->display_options['allow']['use_pager'] = 0;
$handler->display->display_options['allow']['items_per_page'] = 0;
$handler->display->display_options['allow']['offset'] = 0;
$handler->display->display_options['allow']['link_to_view'] = 0;
$handler->display->display_options['allow']['more_link'] = 0;
$handler->display->display_options['allow']['path_override'] = 0;
$handler->display->display_options['allow']['title_override'] = 0;
$handler->display->display_options['allow']['exposed_form'] = 0;
$handler->display->display_options['allow']['fields_override'] = 0;
$handler->display->display_options['inherit_panels_path'] = '0';
/* Display: pane: org relation graph */
$handler = $view->new_display('panel_pane', 'pane: org relation graph', 'panel_pane_4');
$handler->display->display_options['defaults']['title'] = FALSE;
$handler->display->display_options['title'] = 'Rete';
$handler->display->display_options['defaults']['style_plugin'] = FALSE;
$handler->display->display_options['style_plugin'] = 'graphapi_style';
$handler->display->display_options['style_options']['engine'] = 'd3';
$handler->display->display_options['style_options']['d3'] = array(
'library' => 'network2',
'fields' => array(
'nid' => 'from:id',
'title' => 'from:label',
'path' => 'from:URI',
'field_com_date' => 'from:content',
'nid_1' => 'to:id',
'title_1' => 'to:label',
'path_1' => 'to:URI',
'field_com_date_1' => 'to:content',
'field_rel_collaborations' => 'link:color',
),
);
$handler->display->display_options['style_options']['graphapi']['width'] = '300';
$handler->display->display_options['style_options']['graphapi']['height'] = '300';
$handler->display->display_options['style_options']['graphapi']['background-color'] = 'ffffff';
$handler->display->display_options['defaults']['style_options'] = FALSE;
$handler->display->display_options['defaults']['row_plugin'] = FALSE;
$handler->display->display_options['defaults']['row_options'] = FALSE;
$handler->display->display_options['defaults']['footer'] = FALSE;
$handler->display->display_options['defaults']['relationships'] = FALSE;
/* Relationship: Contenuto: Relation: coopera con (node ↔ node) */
$handler->display->display_options['relationships']['relation_cooperates_with_node']['id'] = 'relation_cooperates_with_node';
$handler->display->display_options['relationships']['relation_cooperates_with_node']['table'] = 'node';
$handler->display->display_options['relationships']['relation_cooperates_with_node']['field'] = 'relation_cooperates_with_node';
$handler->display->display_options['relationships']['relation_cooperates_with_node']['required'] = TRUE;
$handler->display->display_options['relationships']['relation_cooperates_with_node']['entity_deduplication_left'] = 0;
$handler->display->display_options['relationships']['relation_cooperates_with_node']['entity_deduplication_right'] = 0;
/* Relationship: Contenuto: Relation: coopera con (node → relation) */
$handler->display->display_options['relationships']['relation_base_left_cooperates_with']['id'] = 'relation_base_left_cooperates_with';
$handler->display->display_options['relationships']['relation_base_left_cooperates_with']['table'] = 'node';
$handler->display->display_options['relationships']['relation_base_left_cooperates_with']['field'] = 'relation_base_left_cooperates_with';
$handler->display->display_options['relationships']['relation_base_left_cooperates_with']['entity_deduplication_left'] = 1;
$handler->display->display_options['defaults']['fields'] = FALSE;
/* Campo: Contenuto: Nid */
$handler->display->display_options['fields']['nid']['id'] = 'nid';
$handler->display->display_options['fields']['nid']['table'] = 'node';
$handler->display->display_options['fields']['nid']['field'] = 'nid';
$handler->display->display_options['fields']['nid']['relationship'] = 'field_rel_source_target_id';
$handler->display->display_options['fields']['nid']['label'] = '';
$handler->display->display_options['fields']['nid']['element_label_colon'] = FALSE;
/* Campo: Contenuto: Titolo */
$handler->display->display_options['fields']['title']['id'] = 'title';
$handler->display->display_options['fields']['title']['table'] = 'node';
$handler->display->display_options['fields']['title']['field'] = 'title';
$handler->display->display_options['fields']['title']['relationship'] = 'field_rel_source_target_id';
$handler->display->display_options['fields']['title']['label'] = '';
$handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
$handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
$handler->display->display_options['fields']['title']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['title']['link_to_node'] = FALSE;
/* Campo: Contenuto: Percorso */
$handler->display->display_options['fields']['path']['id'] = 'path';
$handler->display->display_options['fields']['path']['table'] = 'node';
$handler->display->display_options['fields']['path']['field'] = 'path';
$handler->display->display_options['fields']['path']['label'] = '';
$handler->display->display_options['fields']['path']['element_label_colon'] = FALSE;
/* Campo: Campo: Date */
$handler->display->display_options['fields']['field_com_date']['id'] = 'field_com_date';
$handler->display->display_options['fields']['field_com_date']['table'] = 'field_data_field_com_date';
$handler->display->display_options['fields']['field_com_date']['field'] = 'field_com_date';
$handler->display->display_options['fields']['field_com_date']['label'] = '';
$handler->display->display_options['fields']['field_com_date']['alter']['alter_text'] = TRUE;
$handler->display->display_options['fields']['field_com_date']['alter']['text'] = '[field_com_date-value],[field_com_date-value2]';
$handler->display->display_options['fields']['field_com_date']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['field_com_date']['settings'] = array(
'format_type' => 'long',
'fromto' => 'both',
'multiple_number' => '',
'multiple_from' => '',
'multiple_to' => '',
);
/* Campo: Contenuto: Nid */
$handler->display->display_options['fields']['nid_1']['id'] = 'nid_1';
$handler->display->display_options['fields']['nid_1']['table'] = 'node';
$handler->display->display_options['fields']['nid_1']['field'] = 'nid';
$handler->display->display_options['fields']['nid_1']['relationship'] = 'relation_cooperates_with_node';
$handler->display->display_options['fields']['nid_1']['label'] = '';
$handler->display->display_options['fields']['nid_1']['element_label_colon'] = FALSE;
/* Campo: Contenuto: Titolo */
$handler->display->display_options['fields']['title_1']['id'] = 'title_1';
$handler->display->display_options['fields']['title_1']['table'] = 'node';
$handler->display->display_options['fields']['title_1']['field'] = 'title';
$handler->display->display_options['fields']['title_1']['relationship'] = 'relation_cooperates_with_node';
$handler->display->display_options['fields']['title_1']['label'] = '';
$handler->display->display_options['fields']['title_1']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['title_1']['link_to_node'] = FALSE;
/* Campo: Contenuto: Percorso */
$handler->display->display_options['fields']['path_1']['id'] = 'path_1';
$handler->display->display_options['fields']['path_1']['table'] = 'node';
$handler->display->display_options['fields']['path_1']['field'] = 'path';
$handler->display->display_options['fields']['path_1']['relationship'] = 'relation_cooperates_with_node';
$handler->display->display_options['fields']['path_1']['label'] = '';
$handler->display->display_options['fields']['path_1']['element_label_colon'] = FALSE;
/* Campo: Campo: Date */
$handler->display->display_options['fields']['field_com_date_1']['id'] = 'field_com_date_1';
$handler->display->display_options['fields']['field_com_date_1']['table'] = 'field_data_field_com_date';
$handler->display->display_options['fields']['field_com_date_1']['field'] = 'field_com_date';
$handler->display->display_options['fields']['field_com_date_1']['relationship'] = 'relation_cooperates_with_node';
$handler->display->display_options['fields']['field_com_date_1']['label'] = '';
$handler->display->display_options['fields']['field_com_date_1']['alter']['alter_text'] = TRUE;
$handler->display->display_options['fields']['field_com_date_1']['alter']['text'] = '[field_com_date_1-value],[field_com_date_1-value2]';
$handler->display->display_options['fields']['field_com_date_1']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['field_com_date_1']['settings'] = array(
'format_type' => 'long',
'fromto' => 'both',
'multiple_number' => '',
'multiple_from' => '',
'multiple_to' => '',
);
/* Campo: Relation: Collaborano ai progetti */
$handler->display->display_options['fields']['field_rel_collaborations']['id'] = 'field_rel_collaborations';
$handler->display->display_options['fields']['field_rel_collaborations']['table'] = 'field_data_field_rel_collaborations';
$handler->display->display_options['fields']['field_rel_collaborations']['field'] = 'field_rel_collaborations';
$handler->display->display_options['fields']['field_rel_collaborations']['relationship'] = 'relation_base_left_cooperates_with';
$handler->display->display_options['fields']['field_rel_collaborations']['label'] = '';
$handler->display->display_options['fields']['field_rel_collaborations']['alter']['alter_text'] = TRUE;
$handler->display->display_options['fields']['field_rel_collaborations']['alter']['text'] = '[field_rel_collaborations]';
$handler->display->display_options['fields']['field_rel_collaborations']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['field_rel_collaborations']['settings'] = array(
'link' => 0,
);
$handler->display->display_options['fields']['field_rel_collaborations']['delta_offset'] = '0';
$handler->display->display_options['defaults']['arguments'] = FALSE;
/* Contextual filter: Contenuto: Nid */
$handler->display->display_options['arguments']['nid']['id'] = 'nid';
$handler->display->display_options['arguments']['nid']['table'] = 'node';
$handler->display->display_options['arguments']['nid']['field'] = 'nid';
$handler->display->display_options['arguments']['nid']['default_action'] = 'default';
$handler->display->display_options['arguments']['nid']['exception']['title'] = 'Tutti';
$handler->display->display_options['arguments']['nid']['default_argument_type'] = 'node';
$handler->display->display_options['arguments']['nid']['summary']['number_of_records'] = '0';
$handler->display->display_options['arguments']['nid']['summary']['format'] = 'default_summary';
$handler->display->display_options['arguments']['nid']['summary_options']['items_per_page'] = '25';
$handler->display->display_options['allow']['use_pager'] = 0;
$handler->display->display_options['allow']['items_per_page'] = 0;
$handler->display->display_options['allow']['offset'] = 0;
$handler->display->display_options['allow']['link_to_view'] = 0;
$handler->display->display_options['allow']['more_link'] = 0;
$handler->display->display_options['allow']['path_override'] = 0;
$handler->display->display_options['allow']['title_override'] = 0;
$handler->display->display_options['allow']['exposed_form'] = 0;
$handler->display->display_options['allow']['fields_override'] = 0;
$translatables['rbv_view_graph'] = array(
t('Master'),
t('Insieme siamo una rete'),
t('more'),
t('Applica filtro'),
t('Ripristina filtro'),
t('Sort by'),
t('Asc'),
t('Desc'),
t('footer'),
t('<div class="callout callout-info">
<h4>Una rete</h4>
<p>Per prendersi cura dei beni comuni, le organizzazioni della società civile e dell\'economia solidale collaborano spesso sulla base di progetti e attività specifiche. Questa pagina mostra la rete risultante dalle relazioni di collaborazione.</p>
</div>
<div class="callout callout-warning">
<h4>I dati</h4>
<p>La rete è disegnata in base ai dati inseriti in retebuonvivere, per questo <strong>è davvero importante la partecipazione di tutti nell\'inserimento dei dati</strong>.</p>
</div>
<p>Vengono visualizzate soltanto le organizzazioni connesse tramite almeno una collaborazione. Per questo tutte le organizzazioni di retebuonvivere che non hanno ancora inserito un progetto/attività o una collaborazione, non vengono visualizzate.</p>
<p>Chi è interessato all\'aspetto tecnologico della visualizzazione delle reti può <a href="discussioni/unirsi-al-gruppo-di-sviluppo">unirsi al gruppo di sviluppo</a>!</p>
<p>È possibile utilizzare i filtri per vedere la rete di particolari organizzazioni o dei progetti. I filtri agiscono sul nome dei gruppi. È possibile inserire più nomi contemporaneamente ed utilizzare le " " per cercare un nome completo (es: il filtro <em>Rosso Verde</em> restituirà qualsiasi nome che contenga almeno una delle parole <em>Rosso</em> o <em>Verde</em>. Mentre il filtro <em>"Rosso Verde"</em> restituirà solo i nomi che contengono entrambe le parole).</p>
<p>Questa visualizzazione non permette ancora di tenere conto della temporalità delle collaborazioni. Inoltre, disegnando le organizzazioni e i progetti come cerchi e le collaborazioni come linee, porta l\'attenzione sull\'identità delle organizzazioni. Per introdurre la dimensione del tempo e spostare l\'attenzione sulle collaborazioni è stato proposto un metodo. Chi è interessato può partecipare o seguire la discussione <a href="discussioni/inserire-la-dimensione-del-tempo">"inserire la dimensione del tempo"</a>.</p>
<svg width="120" height="49">
<g class="data">
<g class="node" transform="translate(10,12)">
<circle class="node" r="9" style="fill: #ABDC0A; stroke: #fff; stroke-width: 4px;"></circle>
<text class="nodetext" dx="10" dy="1" font-size="13">Organizzazione</text>
</g>
<g class="node" transform="translate(10,36)">
<circle class="node" r="8" style="fill: #378722; stroke: #fff; stroke-width: 0px;"></circle>
<text class="nodetext" dx="10" dy="1" font-size="13">Progetto/attività</text>
</g>
</g>
</svg>'),
t('referencing from field_rel_source'),
t('entity referenced from field_relpro_project'),
t('[field_com_date_1-value],[field_com_date_1-value2]'),
t('[field_com_date_2-value],[field_com_date_2-value2]'),
t('[field_com_date-value],[field_com_date-value2]'),
t('pane: ER graph'),
t('Tipo'),
t('View panes'),
t('pane: relation graph'),
t('coopera con'),
t('pane: ER project graph'),
t('Rete'),
t('Tutti'),
t('pane: org relation graph'),
t('[field_rel_collaborations]'),
);
$export['rbv_view_graph'] = $view;
return $export;
}