|
662 | 662 | } |
663 | 663 | ] |
664 | 664 | }, |
665 | | - { |
666 | | - "id": "sociogram3a", |
667 | | - "type": "Sociogram", |
668 | | - "label": "Two-mode Sociogram (manual layout)", |
669 | | - "subject": [ |
670 | | - { |
671 | | - "entity": "node", |
672 | | - "type": "venue_node_type" |
673 | | - }, |
674 | | - { |
675 | | - "entity": "node", |
676 | | - "type": "person_node_type" |
677 | | - } |
678 | | - ], |
679 | | - "background": { |
680 | | - "concentricCircles": 3, |
681 | | - "skewedTowardCenter": true |
682 | | - }, |
683 | | - "prompts": [ |
684 | | - { |
685 | | - "id": "first", |
686 | | - "text": "Two mode test for sorting. sortOrder is node type (venues, then nodes), visit freq (high low), then name (a-z)", |
687 | | - "sortOrder": [ |
688 | | - { |
689 | | - "property": "type", |
690 | | - "type": "hierarchy", |
691 | | - "hierarchy": ["venue_node_type", "person_node_type"] |
692 | | - }, |
693 | | - { |
694 | | - "property": "venueVisitFreqVariable", |
695 | | - "direction": "desc" |
696 | | - }, |
697 | | - { |
698 | | - "property": "name_variable", |
699 | | - "direction": "asc" |
700 | | - } |
701 | | - ], |
702 | | - "layout": { |
703 | | - "layoutVariable": { |
704 | | - "person_node_type": "layout_variable_manual", |
705 | | - "venue_node_type": "venue_layout_variable_manual" |
706 | | - } |
707 | | - }, |
708 | | - "edges": { |
709 | | - "display": ["friend_edge_type", "visits_edge_type"], |
710 | | - "create": "visits_edge_type", |
711 | | - "restrict": { |
712 | | - "destination": "different" |
713 | | - } |
714 | | - } |
715 | | - }, |
716 | | - { |
717 | | - "id": "second", |
718 | | - "text": "This prompt creates a second edge type, but only between nodes of the same type", |
719 | | - "sortOrder": [ |
720 | | - { |
721 | | - "property": "type", |
722 | | - "type": "hierarchy", |
723 | | - "hierarchy": ["venue_node_type", "person_node_type"] |
724 | | - }, |
725 | | - { |
726 | | - "property": "name_variable", |
727 | | - "direction": "asc" |
728 | | - } |
729 | | - ], |
730 | | - "layout": { |
731 | | - "layoutVariable": { |
732 | | - "person_node_type": "layout_variable", |
733 | | - "venue_node_type": "venue_layout_variable" |
734 | | - } |
735 | | - }, |
736 | | - "edges": { |
737 | | - "display": ["friend_edge_type", "visits_edge_type"], |
738 | | - "create": "friend_edge_type", |
739 | | - "restrict": { |
740 | | - "origin": "person_node_type", |
741 | | - "destination": "same" |
742 | | - } |
743 | | - } |
744 | | - } |
745 | | - ] |
746 | | - }, |
747 | | - { |
748 | | - "id": "sociogram3b", |
749 | | - "type": "Sociogram", |
750 | | - "label": "Two-mode Sociogram (auto layout)", |
751 | | - "subject": [ |
752 | | - { |
753 | | - "entity": "node", |
754 | | - "type": "venue_node_type" |
755 | | - }, |
756 | | - { |
757 | | - "entity": "node", |
758 | | - "type": "person_node_type" |
759 | | - } |
760 | | - ], |
761 | | - "background": { |
762 | | - "concentricCircles": 3, |
763 | | - "skewedTowardCenter": true |
764 | | - }, |
765 | | - "behaviours": { |
766 | | - "automaticLayout": { |
767 | | - "enabled": true |
768 | | - } |
769 | | - }, |
770 | | - "prompts": [ |
771 | | - { |
772 | | - "id": "first", |
773 | | - "text": "This sociogram displays two node types concurrently. The layout is automatic.", |
774 | | - "layout": { |
775 | | - "layoutVariable": { |
776 | | - "person_node_type": "layout_variable", |
777 | | - "venue_node_type": "venue_layout_variable" |
778 | | - } |
779 | | - }, |
780 | | - "edges": { |
781 | | - "display": ["friend_edge_type", "visits_edge_type"], |
782 | | - "create": "visits_edge_type", |
783 | | - "restrict": { |
784 | | - "destination": "different" |
785 | | - } |
786 | | - } |
787 | | - }, |
788 | | - { |
789 | | - "id": "second", |
790 | | - "text": "This prompt creates a second edge type, but only between nodes of the same type", |
791 | | - "layout": { |
792 | | - "layoutVariable": { |
793 | | - "person_node_type": "layout_variable", |
794 | | - "venue_node_type": "venue_layout_variable" |
795 | | - } |
796 | | - }, |
797 | | - "edges": { |
798 | | - "display": ["friend_edge_type", "visits_edge_type"], |
799 | | - "create": "friend_edge_type", |
800 | | - "restrict": { |
801 | | - "origin": "person_node_type", |
802 | | - "destination": "same" |
803 | | - } |
804 | | - } |
805 | | - } |
806 | | - ] |
807 | | - }, |
808 | 665 | { |
809 | 666 | "id": "namegenroster1", |
810 | 667 | "type": "NameGeneratorRoster", |
|
0 commit comments