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='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=' warning ' content=' under development '/>
 13            <meta name='identifier' content='https://savage.nps.edu/Savage/Tools/Visualization/PajekVisualizationExamples.x3d'/>
 14            <meta name='generator' content='X3D-Edit, https://savage.nps.edu/X3D-Edit'/>
 15            <meta name='license' content='../../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='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" '>
 20                 <field name='cylinderHeight' type='SFFloat' accessType='initializeOnly'
                appinfo='length of Arc between Vertex locations'/>
 21                 <field name='url' type='MFString' accessType='inputOutput'
                appinfo='link to some other resource'/>
 22                 <field name='cylinderTranslation' type='SFVec3f' accessType='inputOutput'
                appinfo='location of Arc'/>
 23                 <field name='coneTranslation' type='SFVec3f' accessType='inputOutput'
                appinfo='see TODO items in ArcScript'/>
 24                 <field name='rotation' type='SFRotation' accessType='inputOutput'
                appinfo='orientation of Arc'/>
 25                 <field name='displayMode' type='SFString' accessType='inputOutput'
                appinfo='rendering choices: BallAndStick, Ball, Stick'/>
 26                 <field name='transparency' type='SFFloat' accessType='inputOutput'
                appinfo='transparency of Arc'/>
 27                 <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'/>
 28                 <field name='traceEnabled' type='SFBool' accessType='inputOutput'
                appinfo='debug trace to Browser output console'/>
 29                 <field name='appearance' type='SFImage' accessType='inputOutput'
                appinfo='outward indication of Arc'/>
 30                 <field name='diffuseColor' type='SFColor' accessType='inputOutput'
                appinfo='diffuseColor of Arc'/>
 31                 <field name='description' type='SFString' accessType='inputOutput'
                appinfo='popup text describing this Arc'/>
 32                 <field name='name' type='SFString' accessType='inputOutput'
                appinfo='name to identify this Arc'/>
 33            </ExternProtoDeclare>
 34            <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" '>
 35                 <field name='name' type='SFString' accessType='inputOutput'
                appinfo='name to identify this Vertex'/>
 36                 <field name='description' type='SFString' accessType='inputOutput'
                appinfo='popup text describing this Vertex'/>
 37                 <field name='url' type='MFString' accessType='inputOutput'
                appinfo='link to some other resource'/>
 38                 <field name='radius' type='SFFloat' accessType='initializeOnly'
                appinfo='size of Vertex ball'/>
 39                 <field name='diffuseColor' type='SFColor' accessType='inputOutput'
                appinfo='diffuseColor of Vertex'/>
 40                 <field name='transparency' type='SFFloat' accessType='inputOutput'
                appinfo='transparency of Vertex'/>
 41                 <field name='translation' type='SFVec3f' accessType='inputOutput'
                appinfo='location of Vertex'/>
 42                 <field name='vertexText' type='MFString' accessType='inputOutput'
                appinfo='labels to identify Vertex'/>
 43                 <field name='textTranslation' type='SFVec3f' accessType='inputOutput'
                appinfo='location of Text'/>
 44                 <field name='textColor' type='SFColor' accessType='inputOutput'
                appinfo='diffuseColor of Text'/>
 45                 <field name='displayMode' type='SFString' accessType='inputOutput'
                appinfo='rendering choices: BallAndStick, Ball, Stick'/>
 46            </ExternProtoDeclare>
 47            <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" '>
 48                 <field name='text' type='MFString' accessType='inputOutput'
                appinfo='information to identify the Integral Network'/>
 49            </ExternProtoDeclare>
 50            <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'/>
 51            <PointLight ambientIntensity='1' location='0 0 5' radius='30'/>
 52            <NavigationInfo transitionType='"ANIMATE"' type='"EXAMINE" "FLY" "ANY"'/>
 53            <Viewpoint description='Inspect 15JAN2010Newman' orientation='1 0 0 -0.0997' position='0 2 20'/>
 54            <ProtoInstance name='Arc'>
 55                 <fieldValue name='cylinderHeight' value='0.64770'/>
 56                 <fieldValue name='cylinderTranslation' value='-0.35062 -0.44066 -0.60713'/>
 57                 <fieldValue name='coneTranslation' value='-0.48422 -0.53116 -0.63552'/>
 58                 <fieldValue name='rotation' value='-11.22472 0 52.81325 2.15598'/>
 59                 <fieldValue name='diffuseColor' value='0 0 0'/>
 60                 <fieldValue name='transparency' value='0'/>
 61                 <fieldValue name='ballRadius' value='0.02'/>
 62                 <fieldValue name='traceEnabled' value='false'/>
 63                 <fieldValue name='appearance' value='0 0 0'/>
 64            </ProtoInstance>
 65            <ProtoInstance name='Arc'>
 66                 <fieldValue name='cylinderHeight' value='1.28361'/>
 67                 <fieldValue name='cylinderTranslation' value='-0.12911 0.32068 -0.81718'/>
 68                 <fieldValue name='coneTranslation' value='-0.16106 0.75793 -1.01700'/>
 69                 <fieldValue name='rotation' value='-53.23500 0 8.51149 0.43344'/>
 70                 <fieldValue name='diffuseColor' value='0 0 0'/>
 71                 <fieldValue name='transparency' value='0'/>
 72                 <fieldValue name='ballRadius' value='0.02'/>
 73                 <fieldValue name='traceEnabled' value='false'/>
 74                 <fieldValue name='appearance' value='0 0 0'/>
 75            </ProtoInstance>
 76            <ProtoInstance name='Arc'>
 77                 <fieldValue name='cylinderHeight' value='1.12537'/>
 78                 <fieldValue name='cylinderTranslation' value='-0.35500 -0.38541 -1.02982'/>
 79                 <fieldValue name='coneTranslation' value='-0.54712 -0.47389 -1.37249'/>
 80                 <fieldValue name='rotation' value='-95.76386 0 53.68924 1.79233'/>
 81                 <fieldValue name='diffuseColor' value='0 0 0'/>
 82                 <fieldValue name='transparency' value='0'/>
 83                 <fieldValue name='ballRadius' value='0.02'/>
 84                 <fieldValue name='traceEnabled' value='false'/>
 85                 <fieldValue name='appearance' value='0 0 0'/>
 86            </ProtoInstance>
 87            <ProtoInstance name='Vertex'>
 88                 <fieldValue name='name' value='2010-01-15-ARMY.MIL'/>
 89                 <fieldValue name='description' value='1: 2010-01-15-ARMY.MIL'/>
 90                 <fieldValue name='radius' value='0.1500'/>
 91                 <fieldValue name='diffuseColor' value='0 0 0'/>
 92                 <fieldValue name='transparency' value='0'/>
 93                 <fieldValue name='translation' value='-0.08656 -0.26178 -0.55101'/>
 94                 <fieldValue name='textTranslation' value='0.06344 -0.26178 -0.55101'/>
 95                 <fieldValue name='textColor' value='0 0 0'/>
 96            </ProtoInstance>
 97            <ProtoInstance name='Vertex'>
 98                 <fieldValue name='name' value='2010-01-15-BLOGS.STATE.GOV-INDEX.PHP'/>
 99                 <fieldValue name='description' value='2: 2010-01-15-BLOGS.STATE.GOV-INDEX.PHP'/>
100                 <fieldValue name='radius' value='0.1500'/>
101                 <fieldValue name='diffuseColor' value='0.5020 0 0'/>
102                 <fieldValue name='transparency' value='0'/>
103                 <fieldValue name='translation' value='1.28526 1.19707 0.67279'/>
104                 <fieldValue name='textTranslation' value='1.43526 1.19707 0.67279'/>
105                 <fieldValue name='textColor' value='0 0 0'/>
106            </ProtoInstance>
107            <ProtoInstance name='Vertex'>
108                 <fieldValue name='name' value='2010-01-15-FEEDS.FEEDBURNER.COM-DIPNOTE'/>
109                 <fieldValue name='description' value='3: 2010-01-15-FEEDS.FEEDBURNER.COM-DIPNOTE'/>
110                 <fieldValue name='radius' value='0.1500'/>
111                 <fieldValue name='diffuseColor' value='1.0000 0 0'/>
112                 <fieldValue name='transparency' value='0'/>
113                 <fieldValue name='translation' value='-0.06623 1.98542 -1.19849'/>
114                 <fieldValue name='textTranslation' value='0.08377 1.98542 -1.19849'/>
115                 <fieldValue name='textColor' value='0 0 0'/>
116            </ProtoInstance>
117       </Scene>
118  </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. -->