1 |
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.2//EN" "https://www.web3d.org/specifications/x3d-3.2.dtd">
|
3 | <X3D profile='Immersive' version='3.2' xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation='https://www.web3d.org/specifications/x3d-3.2.xsd'> |
4 | <head> |
5 | <meta name='title' content='PajekVisualizationExamples.x3d'/> |
6 | <meta name='description' content='Reverse engineer and hopefully elaborate on Pajek visualization structures'/> |
7 | <meta name='creator' content='Don Brutzman and Elaine Reid'/> |
8 | <meta name='created' content='17 May 2011'/> |
9 | <meta name='modified' content='25 September 2023'/> |
10 | <meta name='reference' content='http://pajek.imfm.si'/> |
11 | <meta name='subject' content='network visualization'/> |
12 | <meta name='identifier' content='https://savage.nps.edu/Savage/Tools/Visualization/PajekVisualizationExamples.x3d'/> |
13 | <meta name='generator' content='X3D-Edit, https://savage.nps.edu/X3D-Edit'/> |
14 | <meta name='license' content='../../license.html'/> |
15 | </head> |
16 | <Scene> |
17 | <WorldInfo title='PajekVisualizationExamples.x3d'/> |
18 | <ExternProtoDeclare name='Arc' appinfo='Arc is a network connection between Vertex nodes, displayed using Cylinder/Cone (arrow/arrowhead) geometry with modifiable color and transparency' url=' "PajekVisualizationPrototypes.x3d#Arc" "https://savage.nps.edu/Savage/Tools/Visualization/PajekVisualizationPrototypes.x3d#Arc" '> |
19 |
<field name='name' type='SFString' accessType='inputOutput'
appinfo='name to identify this Arc'/> |
20 |
<field name='description' type='SFString' accessType='inputOutput'
appinfo='popup text describing this Arc'/> |
21 |
<field name='cylinderHeight' type='SFFloat' accessType='initializeOnly'
appinfo='length of Arc between Vertex locations'/> |
22 |
<field name='url' type='MFString' accessType='inputOutput'
appinfo='link to some other resource'/> |
23 |
<field name='cylinderTranslation' type='SFVec3f' accessType='inputOutput'
appinfo='location of Arc'/> |
24 |
<field name='coneTranslation' type='SFVec3f' accessType='inputOutput'
appinfo='see TODO items in ArcScript'/> |
25 |
<field name='rotation' type='SFRotation' accessType='inputOutput'
appinfo='orientation of Arc'/> |
26 |
<field name='displayMode' type='SFString' accessType='inputOutput'
appinfo='rendering choices: BallAndStick, Ball, Stick'/> |
27 |
<field name='diffuseColor' type='SFColor' accessType='inputOutput'
appinfo='diffuseColor of Arc'/> |
28 |
<field name='transparency' type='SFFloat' accessType='inputOutput'
appinfo='transparency of Arc'/> |
29 |
<field name='ballRadius' type='SFFloat' accessType='inputOutput'
appinfo='offset distance for Cone arrowhead; TODO this needs to match values in the Vertex protopye, which is iniitialized separately'/> |
30 |
<field name='traceEnabled' type='SFBool' accessType='inputOutput'
appinfo='debug trace to Browser output console'/> |
31 | </ExternProtoDeclare> |
32 | <!-- Add any ROUTEs here that connect ProtoInstance to/from prior nodes in Scene (and outside of ProtoDeclare) --> |
33 | <!-- Default values for fieldValue types instead of for the Prototype --> |
34 | <!-- Add any ROUTEs here that connect ProtoInstance to/from prior nodes in Scene (and outside of ProtoDeclare) --> |
35 | <ExternProtoDeclare name='Vertex' appinfo='Vertex is a node, typically connected by zero or more Arc segments, and displayed using Sphere geometry with modifiable color and transparency' url=' "PajekVisualizationPrototypes.x3d#Vertex" "https://savage.nps.edu/Savage/Tools/Visualization/PajekVisualizationPrototypes.x3d#Vertex" '> |
36 |
<field name='name' type='SFString' accessType='inputOutput'
appinfo='name to identify this Vertex'/> |
37 |
<field name='description' type='SFString' accessType='inputOutput'
appinfo='popup text describing this Vertex'/> |
38 |
<field name='url' type='MFString' accessType='inputOutput'
appinfo='link to some other resource'/> |
39 |
<field name='radius' type='SFFloat' accessType='initializeOnly'
appinfo='size of Vertex ball'/> |
40 |
<field name='displayMode' type='SFString' accessType='inputOutput'
appinfo='rendering choices: BallAndStick, Ball, Stick'/> |
41 |
<field name='diffuseColor' type='SFColor' accessType='inputOutput'
appinfo='diffuseColor of Vertex'/> |
42 |
<field name='transparency' type='SFFloat' accessType='inputOutput'
appinfo='transparency of Vertex'/> |
43 |
<field name='translation' type='SFVec3f' accessType='inputOutput'
appinfo='location of Vertex'/> |
44 |
<field name='vertexText' type='MFString' accessType='inputOutput'
appinfo='labels to identify Vertex'/> |
45 |
<field name='textTranslation' type='SFVec3f' accessType='inputOutput'
appinfo='location of Text'/> |
46 |
<field name='textColor' type='SFColor' accessType='inputOutput'
appinfo='diffuseColor of Text'/> |
47 | </ExternProtoDeclare> |
48 | <ProtoInstance name='Vertex'> |
49 | <fieldValue name='name'/> |
50 | <fieldValue name='description'/> |
51 | <fieldValue name='radius' value='0.0'/> |
52 | <fieldValue name='displayMode'/> |
53 | <fieldValue name='diffuseColor' value='0 0 0'/> |
54 | <fieldValue name='transparency' value='0'/> |
55 | <fieldValue name='translation' value='0 0 0'/> |
56 | <fieldValue name='textTranslation' value='0 0 0'/> |
57 | <fieldValue name='textColor' value='0 0 0'/> |
58 | </ProtoInstance> |
59 | <!-- Add any ROUTEs here that connect ProtoInstance to/from prior nodes in Scene (and outside of ProtoDeclare) --> |
60 | <ExternProtoDeclare name='NetworkText' appinfo='Text describing what the Vertices and Arcs are about' url=' "PajekVisualizationPrototypes.x3d#NetworkText" "https://savage.nps.edu/Savage/Tools/Visualization/PajekVisualizationPrototypes.x3d#NetworkText" '> |
61 |
<field name='text' type='MFString' accessType='inputOutput'
appinfo='information to identify the Integral Network'/> |
62 | </ExternProtoDeclare> |
63 | <ProtoInstance name='NetworkText'/> |
64 | <!-- Add any ROUTEs here that connect ProtoInstance to/from prior nodes in Scene (and outside of ProtoDeclare) --> |
65 | <Background groundAngle='1.309 1.570796' groundColor='0 0.5 0.7 0 0.4 0.7 0.6 0.5 0.7' skyAngle='1.309 1.571' skyColor='0 0.5 0.8 0 0.6 0.7 0.6 0.6 0.7'/> |
66 | <PointLight ambientIntensity='1' location='0 0 5' radius='30'/> |
67 | <NavigationInfo transitionType='"ANIMATE"' type='"EXAMINE" "FLY" "ANY"'/> |
68 | <Viewpoint description='Inspect 15JAN2010Newman' orientation='1 0 0 -0.0997' position='0 2 20'/> |
69 | <!-- type="3D" <date day ="3" month="5" year="2011"/> --> |
70 | <Transform DEF='infogroup' translation='-8 2 -4'> |
71 | <Transform DEF='NetText' translation='0 6 0'> |
72 | <ProtoInstance name='NetworkText'> |
73 | <fieldValue name='text' value='"15JAN2010"'/> |
74 | </ProtoInstance> |
75 | </Transform> |
76 | </Transform> |
77 | <Group> |
78 | <Transform> |
79 | <ProtoInstance name='Vertex'> |
80 | <fieldValue name='name' value='Vertex 1'/> |
81 | <fieldValue name='description' value='2010-01-15-ARMY.MIL'/> |
82 | <fieldValue name='radius' value='.1500'/> |
83 | <fieldValue name='displayMode' value='BallAndStick'/> |
84 | <fieldValue name='diffuseColor' value='0 0 0'/> |
85 | <fieldValue name='transparency' value='0'/> |
86 | <fieldValue name='translation' value='0.06344 -0.26178 -0.55101'/> |
87 | <fieldValue name='vertexText' value='"2010-01-15-ARMY.MIL"'/> |
88 | <fieldValue name='textTranslation' value='0.06344 -0.26178 -0.55101'/> |
89 | <fieldValue name='textColor' value='0 0 0'/> |
90 | </ProtoInstance> |
91 | <ProtoInstance name='Arc'> |
92 | <fieldValue name='name' value='1.24'/> |
93 | <fieldValue name='description' value='From blah to blah'/> |
94 | <fieldValue name='url' value='"http://www.google.com"'/> |
95 | <fieldValue name='cylinderHeight' value='0.64770'/> |
96 | <fieldValue name='cylinderTranslation' value='-0.35062 -0.44066 -0.60713'/> |
97 | <fieldValue name='coneTranslation' value='-.48422 -.53116 -.63552'/> |
98 | <fieldValue name='rotation' value='-11.22472 0 52.81325 2.15598'/> |
99 | <fieldValue name='displayMode' value='BallAndStick'/> |
100 | <fieldValue name='diffuseColor' value='0 0 0'/> |
101 | <fieldValue name='transparency' value='0'/> |
102 | <fieldValue name='ballRadius' value='1'/> |
103 | </ProtoInstance> |
104 | <ProtoInstance name='Vertex'> |
105 | <fieldValue name='name' value='Vertex 2'/> |
106 | <fieldValue name='description' value='2010-01-15BLOGS.STATE.GOV-INDEX.PHP'/> |
107 | <fieldValue name='vertexText' value='"2010-01-15BLOGS.STATE.GOV-INDEX.PHP"'/> |
108 | <fieldValue name='textTranslation' value='1.43526 1.19707 0.67279'/> |
109 | <fieldValue name='textColor' value='0 0 0'/> |
110 | <fieldValue name='url' value='"http://www.state.gov"'/> |
111 | <fieldValue name='translation' value='1.28526 1.19707 0.67279'/> |
112 | <fieldValue name='radius' value='0.1500'/> |
113 | <fieldValue name='displayMode' value='BallAndStick'/> |
114 | <fieldValue name='diffuseColor' value='0.5020 0 0'/> |
115 | <fieldValue name='transparency' value='0'/> |
116 | </ProtoInstance> |
117 | <ProtoInstance name='Arc'> |
118 | <fieldValue name='name' value='1.26'/> |
119 | <fieldValue name='description' value='From blah1 to blah1'/> |
120 | <fieldValue name='url' value='"http://www.google.com"'/> |
121 | <fieldValue name='cylinderHeight' value='1.28361'/> |
122 | <fieldValue name='cylinderTranslation' value='-0.12911 0.32068 -0.81718'/> |
123 | <fieldValue name='coneTranslation' value='-0.16106 0.75793 -1.01700'/> |
124 | <fieldValue name='rotation' value='-53.23500 0 8.51149 0.43344'/> |
125 | <fieldValue name='displayMode' value='BallAndStick'/> |
126 | <fieldValue name='diffuseColor' value='0 0 0'/> |
127 | <fieldValue name='transparency' value='0'/> |
128 | <fieldValue name='ballRadius' value='1'/> |
129 | </ProtoInstance> |
130 | <ProtoInstance name='Vertex'> |
131 | <fieldValue name='name' value='Vertex 3'/> |
132 | <fieldValue name='description' value='2010-01-15-FEEDS.FEEDBURNER.COM-DIPNOTE'/> |
133 | <fieldValue name='vertexText' value='"2010-01-15-FEEDS.FEEDBURNER.COM-DIPNOTE"'/> |
134 | <fieldValue name='textColor' value='0 0 0'/> |
135 | <fieldValue name='textTranslation' value='0.08377 1.98542 -1.19849'/> |
136 | <fieldValue name='url' value='"http://www.feedburner.com"'/> |
137 | <fieldValue name='translation' value='-0.06623 1.98542 -1.19849'/> |
138 | <fieldValue name='radius' value='.1500'/> |
139 | <fieldValue name='displayMode' value='BallAndStick'/> |
140 | <fieldValue name='diffuseColor' value='1.0000 0 0'/> |
141 | <fieldValue name='transparency' value='0'/> |
142 | </ProtoInstance> |
143 | <ProtoInstance name='Arc'> |
144 | <fieldValue name='name' value='1.39'/> |
145 | <fieldValue name='description' value='From blah2 to blah2'/> |
146 | <fieldValue name='url' value='"http://www.google.com"'/> |
147 | <fieldValue name='cylinderHeight' value='1.12537'/> |
148 | <fieldValue name='cylinderTranslation' value='-0.35500 -0.38541 -1.02982'/> |
149 | <fieldValue name='coneTranslation' value='-0.54712 -0.47389 -1.37249'/> |
150 | <fieldValue name='rotation' value='-95.76386 0 53.68924 1.79233'/> |
151 | <fieldValue name='displayMode' value='BallAndStick'/> |
152 | <fieldValue name='diffuseColor' value='0 0 0'/> |
153 | <fieldValue name='transparency' value='0'/> |
154 | <fieldValue name='ballRadius' value='1'/> |
155 | </ProtoInstance> |
156 | </Transform> |
157 | </Group> |
158 | </Scene> |
159 | </X3D> |
<!--
Color-coding legend: X3D terminology
<X3dNode
DEF='idName' field='value'/>
matches XML terminology
<XmlElement
DEF='idName' attribute='value'/>
(Light-blue background: event-based behavior node or statement)
(Grey background inside box: inserted documentation)
(Magenta background: X3D Extensibility)
<ProtoInstance name='ProtoName'>
<field
name='fieldName'/> </ProtoInstance>
-->
<!--
For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources, and X3D Scene Authoring Hints.
-->