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='2.39574'/>
 55                 <fieldValue name='cylinderTranslationvalue='-1.75314 -2.11425 2.44212'/>
 56                 <fieldValue name='coneTranslationvalue='-0.90120 -2.65124 2.69314'/>
 57                 <fieldValue name='rotationvalue='57.94277 0 -196.65593 2.11460'/>
 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='Vertex'>
 65                 <fieldValue name='vertexTextvalue='"2010-02-06-FACEBOOK.COM-PAGES"'/>
 66                 <fieldValue name='descriptionvalue='1: 2010-02-06-FACEBOOK.COM-PAGES'/>
 67                 <fieldValue name='url'/>
 68                 <fieldValue name='radiusvalue='0.1500'/>
 69                 <fieldValue name='displayMode'/>
 70                 <fieldValue name='diffuseColorvalue='0 0 0'/>
 71                 <fieldValue name='transparencyvalue='0'/>
 72                 <fieldValue name='translationvalue='-2.73642 -1.49447 2.15241'/>
 73                 <fieldValue name='textTranslationvalue='-2.58642 -1.49447 2.15241'/>
 74                 <fieldValue name='textColorvalue='0 0 0'/>
 75            </ProtoInstance>
 76            <ProtoInstance name='Vertex'>
 77                 <fieldValue name='vertexTextvalue=' "Haiti/2010-02-06/Association_prob_NONE_Haiti_Cat5.txt.file.2010-02-06.simple" '/>
 78                 <fieldValue name='descriptionvalue='2: Haiti/2010-02-06/Association_prob_NONE_Haiti_Cat5.txt.file.2010-02-06.simple'/>
 79                 <fieldValue name='url'/>
 80                 <fieldValue name='radiusvalue='0.1500'/>
 81                 <fieldValue name='displayMode'/>
 82                 <fieldValue name='diffuseColorvalue='0.5020 0 0'/>
 83                 <fieldValue name='transparencyvalue='0'/>
 84                 <fieldValue name='translationvalue='2.73642 2.73403 -2.73184'/>
 85                 <fieldValue name='textTranslationvalue='2.88642 2.73403 -2.73184'/>
 86                 <fieldValue name='textColorvalue='0 0 0'/>
 87            </ProtoInstance>
 88            <ProtoInstance name='Vertex'>
 89                 <fieldValue name='vertexTextvalue='"nice"'/>
 90                 <fieldValue name='descriptionvalue='3: nice'/>
 91                 <fieldValue name='url'/>
 92                 <fieldValue name='radiusvalue='0.1500'/>
 93                 <fieldValue name='displayMode'/>
 94                 <fieldValue name='diffuseColorvalue='0 0 0'/>
 95                 <fieldValue name='transparencyvalue='0'/>
 96                 <fieldValue name='translationvalue='-0.76986 -2.73403 2.73184'/>
 97                 <fieldValue name='textTranslationvalue='-0.61986 -2.73403 2.73184'/>
 98                 <fieldValue name='textColorvalue='0 0 0'/>
 99            </ProtoInstance>
100       </Scene>
101  </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. -->