X3D Model Documentation: PajekVisualizationExamples.x3d

  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='titlecontent='PajekVisualizationExamples.x3d'/>
  6            <meta name='descriptioncontent='Reverse engineer and hopefully elaborate on Pajek visualization structures'/>
  7            <meta name='creatorcontent='Don Brutzman and Elaine Reid'/>
  8            <meta name='createdcontent='17 May 2011'/>
  9            <meta name='modifiedcontent='25 September 2023'/>
 10            <meta name='referencecontent='http://pajek.imfm.si'/>
 11            <meta name='subjectcontent='network visualization'/>
 12            <meta name=' warning content=' under development '/>
 13            <meta name='identifiercontent='https://savage.nps.edu/Savage/Tools/Visualization/PajekVisualizationExamples.x3d'/>
 14            <meta name='generatorcontent='X3D-Edit, https://savage.nps.edu/X3D-Edit'/>
 15            <meta name='licensecontent='../../license.html'/>
 16       </head>
<!--

<!-- to top Index for DEF node:

Index for Viewpoint node: Viewpoint_1

Index for ExternProtoDeclare definitions: Arc, NetworkText, Vertex
-->
 17       <Scene>
 18            <WorldInfo title='PajekVisualizationExamples.x3d'/>
 19            <ExternProtoDeclare name='Arcappinfo='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" '>
 20                 <field name='nametype='SFStringaccessType='inputOutput'
                appinfo='name to identify this Arc'/>
 21                 <field name='descriptiontype='SFStringaccessType='inputOutput'
                appinfo='popup text describing this Arc'/>
 22                 <field name='cylinderHeighttype='SFFloataccessType='initializeOnly'
                appinfo='length of Arc between Vertex locations'/>
 23                 <field name='urltype='MFStringaccessType='inputOutput'
                appinfo='link to some other resource'/>
 24                 <field name='cylinderTranslationtype='SFVec3faccessType='inputOutput'
                appinfo='location of Arc'/>
 25                 <field name='coneTranslationtype='SFVec3faccessType='inputOutput'
                appinfo='see TODO items in ArcScript'/>
 26                 <field name='rotationtype='SFRotationaccessType='inputOutput'
                appinfo='orientation of Arc'/>
 27                 <field name='displayModetype='SFStringaccessType='inputOutput'
                appinfo='rendering choices: BallAndStick, Ball, Stick'/>
 28                 <field name='diffuseColortype='SFColoraccessType='inputOutput'
                appinfo='diffuseColor of Arc'/>
 29                 <field name='transparencytype='SFFloataccessType='inputOutput'
                appinfo='transparency of Arc'/>
 30                 <field name='ballRadiustype='SFFloataccessType='inputOutput'
                appinfo='offset distance for Cone arrowhead; TODO this needs to match values in the Vertex protopye, which is iniitialized separately'/>
 31                 <field name='traceEnabledtype='SFBoolaccessType='inputOutput'
                appinfo='debug trace to Browser output console'/>
 32            </ExternProtoDeclare>
 33            <ExternProtoDeclare name='Vertexappinfo='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" '>
 34                 <field name='nametype='SFStringaccessType='inputOutput'
                appinfo='name to identify this Vertex'/>
 35                 <field name='descriptiontype='SFStringaccessType='inputOutput'
                appinfo='popup text describing this Vertex'/>
 36                 <field name='urltype='MFStringaccessType='inputOutput'
                appinfo='link to some other resource'/>
 37                 <field name='radiustype='SFFloataccessType='initializeOnly'
                appinfo='size of Vertex ball'/>
 38                 <field name='displayModetype='SFStringaccessType='inputOutput'
                appinfo='rendering choices: BallAndStick, Ball, Stick'/>
 39                 <field name='diffuseColortype='SFColoraccessType='inputOutput'
                appinfo='diffuseColor of Vertex'/>
 40                 <field name='transparencytype='SFFloataccessType='inputOutput'
                appinfo='transparency of Vertex'/>
 41                 <field name='translationtype='SFVec3faccessType='inputOutput'
                appinfo='location of Vertex'/>
 42                 <field name='vertexTexttype='MFStringaccessType='inputOutput'
                appinfo='labels to identify Vertex'/>
 43                 <field name='textTranslationtype='SFVec3faccessType='inputOutput'
                appinfo='location of Text'/>
 44                 <field name='textColortype='SFColoraccessType='inputOutput'
                appinfo='diffuseColor of Text'/>
 45            </ExternProtoDeclare>
 46            <ExternProtoDeclare name='NetworkTextappinfo='Text describing what the Vertices and Arcs are about'   url=' "PajekVisualizationPrototypes.x3d#NetworkText" "https://savage.nps.edu/Savage/Tools/Visualization/PajekVisualizationPrototypes.x3d#NetworkText" '>
 47                 <field name='texttype='MFStringaccessType='inputOutput'
                appinfo='information to identify the Integral Network'/>
 48            </ExternProtoDeclare>
 49            <Background groundAngle='1.309 1.570796groundColor='0 0.5 0.7 0 0.4 0.7 0.6 0.5 0.7skyAngle='1.309 1.571skyColor='0 0.5 0.8 0 0.6 0.7 0.6 0.6 0.7'/>
 50            <PointLight ambientIntensity='1location='0 0 5radius='30'/>
 51            <NavigationInfo transitionType='"ANIMATE"type='"EXAMINE" "FLY" "ANY"'/>
 52            <Viewpoint description='Inspect 15JAN2010Newmanorientation='1 0 0 -0.0997position='0 2 20'/>
 53            <ProtoInstance name='Arc'>
 54                 <fieldValue name='cylinderHeightvalue='1.44063'/>
 55                 <fieldValue name='cylinderTranslationvalue='2.17390 -1.43580 -2.11246'/>
 56                 <fieldValue name='coneTranslationvalue='1.95052 -1.26823 -2.59823'/>
 57                 <fieldValue name='rotationvalue='-124.89760 0 57.43383 1.26709'/>
 58                 <fieldValue name='diffuseColorvalue='0 0 0'/>
 59                 <fieldValue name='ballRadiusvalue='0.02'/>
 60                 <fieldValue name='traceEnabledvalue='false'/>
 61                 <fieldValue name='displayMode'/>
 62                 <fieldValue name='transparencyvalue='0'/>
 63            </ProtoInstance>
 64            <ProtoInstance name='Arc'>
 65                 <fieldValue name='cylinderHeightvalue='2.15360'/>
 66                 <fieldValue name='cylinderTranslationvalue='2.59630 -2.18884 -0.56484'/>
 67                 <fieldValue name='coneTranslationvalue='2.71145 -2.64658 0.22112'/>
 68                 <fieldValue name='rotationvalue='184.62613 0 -27.04755 2.09356'/>
 69                 <fieldValue name='diffuseColorvalue='0 0 0'/>
 70                 <fieldValue name='ballRadiusvalue='0.02'/>
 71                 <fieldValue name='traceEnabledvalue='false'/>
 72                 <fieldValue name='displayMode'/>
 73                 <fieldValue name='transparencyvalue='0'/>
 74            </ProtoInstance>
 75            <ProtoInstance name='Arc'>
 76                 <fieldValue name='cylinderHeightvalue='1.32273'/>
 77                 <fieldValue name='cylinderTranslationvalue='2.08312 -2.19153 -1.43675'/>
 78                 <fieldValue name='coneTranslationvalue='1.79661 -2.60113 -1.39792'/>
 79                 <fieldValue name='rotationvalue='10.24439 -0.00000 75.58857 2.52693'/>
 80                 <fieldValue name='diffuseColorvalue='0 0 0'/>
 81                 <fieldValue name='ballRadiusvalue='0.02'/>
 82                 <fieldValue name='traceEnabledvalue='false'/>
 83                 <fieldValue name='displayMode'/>
 84                 <fieldValue name='transparencyvalue='0'/>
 85            </ProtoInstance>
 86            <ProtoInstance name='Arc'>
 87                 <fieldValue name='cylinderHeightvalue='2.03564'/>
 88                 <fieldValue name='cylinderTranslationvalue='1.79595 -1.97611 -2.06124'/>
 89                 <fieldValue name='coneTranslationvalue='1.71945 -2.61304 -1.49175'/>
 90                 <fieldValue name='rotationvalue='135.14199 -0.00000 18.15474 2.40759'/>
 91                 <fieldValue name='diffuseColorvalue='0 0 0'/>
 92                 <fieldValue name='ballRadiusvalue='0.02'/>
 93                 <fieldValue name='traceEnabledvalue='false'/>
 94                 <fieldValue name='displayMode'/>
 95                 <fieldValue name='transparencyvalue='0'/>
 96            </ProtoInstance>
 97            <ProtoInstance name='Arc'>
 98                 <fieldValue name='cylinderHeightvalue='2.02345'/>
 99                 <fieldValue name='cylinderTranslationvalue='2.21836 -2.72915 -0.51362'/>
100                 <fieldValue name='coneTranslationvalue='1.78634 -2.73142 -1.24764'/>
101                 <fieldValue name='rotationvalue='-174.38174 0 102.63613 1.57346'/>
102                 <fieldValue name='diffuseColorvalue='0 0 0'/>
103                 <fieldValue name='ballRadiusvalue='0.02'/>
104                 <fieldValue name='traceEnabledvalue='false'/>
105                 <fieldValue name='displayMode'/>
106                 <fieldValue name='transparencyvalue='0'/>
107            </ProtoInstance>
108            <ProtoInstance name='Vertex'>
109                 <fieldValue name='vertexTextvalue='"2010-01-31-YOUTUBE.COM-USSOUTHCOM"'/>
110                 <fieldValue name='descriptionvalue='1: 2010-01-31-YOUTUBE.COM-USSOUTHCOM'/>
111                 <fieldValue name='url'/>
112                 <fieldValue name='radiusvalue='0.1500'/>
113                 <fieldValue name='displayMode'/>
114                 <fieldValue name='diffuseColorvalue='0 0 0'/>
115                 <fieldValue name='transparencyvalue='0'/>
116                 <fieldValue name='translationvalue='2.46107 -1.65121 -1.48797'/>
117                 <fieldValue name='textTranslationvalue='2.61107 -1.65121 -1.48797'/>
118                 <fieldValue name='textColorvalue='0 0 0'/>
119            </ProtoInstance>
120            <ProtoInstance name='Vertex'>
121                 <fieldValue name='vertexTextvalue=' "Haiti/2010-01-31/Association_prob_NONE_Haiti_Cat5.txt.file.2010-01-31.simple" '/>
122                 <fieldValue name='descriptionvalue='2: Haiti/2010-01-31/Association_prob_NONE_Haiti_Cat5.txt.file.2010-01-31.simple'/>
123                 <fieldValue name='url'/>
124                 <fieldValue name='radiusvalue='0.1500'/>
125                 <fieldValue name='displayMode'/>
126                 <fieldValue name='diffuseColorvalue='0.5020 0 0'/>
127                 <fieldValue name='transparencyvalue='0'/>
128                 <fieldValue name='translationvalue='-2.73154 2.73184 2.73695'/>
129                 <fieldValue name='textTranslationvalue='-2.58154 2.73184 2.73695'/>
130                 <fieldValue name='textColorvalue='0 0 0'/>
131            </ProtoInstance>
132            <ProtoInstance name='Vertex'>
133                 <fieldValue name='vertexTextvalue='"community"'/>
134                 <fieldValue name='descriptionvalue='3: community'/>
135                 <fieldValue name='url'/>
136                 <fieldValue name='radiusvalue='0.1500'/>
137                 <fieldValue name='displayMode'/>
138                 <fieldValue name='diffuseColorvalue='0 0 0'/>
139                 <fieldValue name='transparencyvalue='0'/>
140                 <fieldValue name='translationvalue='1.88673 -1.22038 -2.73695'/>
141                 <fieldValue name='textTranslationvalue='2.03673 -1.22038 -2.73695'/>
142                 <fieldValue name='textColorvalue='0 0 0'/>
143            </ProtoInstance>
144            <ProtoInstance name='Vertex'>
145                 <fieldValue name='vertexTextvalue='"highlights"'/>
146                 <fieldValue name='descriptionvalue='4: highlights'/>
147                 <fieldValue name='url'/>
148                 <fieldValue name='radiusvalue='0.1500'/>
149                 <fieldValue name='displayMode'/>
150                 <fieldValue name='diffuseColorvalue='0 0 0'/>
151                 <fieldValue name='transparencyvalue='0'/>
152                 <fieldValue name='translationvalue='2.73154 -2.72646 0.35829'/>
153                 <fieldValue name='textTranslationvalue='2.88154 -2.72646 0.35829'/>
154                 <fieldValue name='textColorvalue='0 0 0'/>
155            </ProtoInstance>
156            <ProtoInstance name='Vertex'>
157                 <fieldValue name='vertexTextvalue='"international"'/>
158                 <fieldValue name='descriptionvalue='5: international'/>
159                 <fieldValue name='url'/>
160                 <fieldValue name='radiusvalue='0.1500'/>
161                 <fieldValue name='displayMode'/>
162                 <fieldValue name='diffuseColorvalue='0 0 0'/>
163                 <fieldValue name='transparencyvalue='0'/>
164                 <fieldValue name='translationvalue='1.70518 -2.73184 -1.38553'/>
165                 <fieldValue name='textTranslationvalue='1.85518 -2.73184 -1.38553'/>
166                 <fieldValue name='textColorvalue='0 0 0'/>
167            </ProtoInstance>
168       </Scene>
169  </X3D>
<!--

<!-- to top Index for DEF node:

Index for Viewpoint node: Viewpoint_1

Index for ExternProtoDeclare definitions: Arc, NetworkText, Vertex
-->
X3D Tooltips element index: Background, ExternProtoDeclare, field, fieldValue, head, meta, NavigationInfo, PointLight, ProtoInstance, Scene, Viewpoint, WorldInfo, X3D, plus documentation for accessType definitions, type definitions, XML data types, and field types

-->
<!-- Online at
https://savage.nps.edu/Savage/Tools/Visualization/PajekVisualizationExamplesIndex.html -->
<!-- Version control at
https://gitlab.nps.edu/Savage/Savage/Tools/Visualization/PajekVisualizationExamples.x3d -->

<!-- Color-coding legend: X3D terminology <X3dNode field='value'/> matches XML terminology <XmlElement 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> -->

to top <!-- For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources, and X3D Scene Authoring Hints. -->