#X3D V3.2 utf8 PROFILE Immersive # [X3D] version=3.2 # [X3D] noNamespaceSchemaLocation=https://www.web3d.org/specifications/x3d-3.2.xsd # X3D-to-ClassicVRML XSL translation autogenerated by X3dToClassicVrmlEncoding.xslt and X3dToVrml97.xslt # https://www.web3d.org/x3d/content/X3dToClassicVrmlEncoding.xslt # https://www.web3d.org/x3d/content/X3dToVrml97.xslt # Transformation using XSLT processor: Saxonica # head META "title" "PajekVisualizationExamples.x3d" META "description" "Reverse engineer and hopefully elaborate on Pajek visualization structures" META "creator" "Don Brutzman and Elaine Reid" META "created" "17 May 2011" META "modified" "25 September 2023" META "reference" "http://pajek.imfm.si" META "subject" "network visualization" META "warning" "under development" META "identifier" "https://savage.nps.edu/Savage/Tools/Visualization/PajekVisualizationExamples.x3d" META "generator" "X3D-Edit, https://savage.nps.edu/X3D-Edit" META "license" "../../license.html" # [Scene] ========== ========== ========== WorldInfo { title "PajekVisualizationExamples.x3d" } EXTERNPROTO Arc [ # [appinfo] Arc is a network connection between Vertex nodes, displayed using Cylinder/Cone (arrow/arrowhead) geometry with modifiable color and transparency inputOutput SFString name # [appinfo] name to identify this Arc inputOutput SFString description # [appinfo] popup text describing this Arc initializeOnly SFFloat cylinderHeight # [appinfo] length of Arc between Vertex locations inputOutput MFString url # [appinfo] link to some other resource inputOutput SFVec3f cylinderTranslation # [appinfo] location of Arc inputOutput SFVec3f coneTranslation # [appinfo] see TODO items in ArcScript inputOutput SFRotation rotation # [appinfo] orientation of Arc inputOutput SFString displayMode # [appinfo] rendering choices: BallAndStick, Ball, Stick inputOutput SFColor diffuseColor # [appinfo] diffuseColor of Arc inputOutput SFFloat transparency # [appinfo] transparency of Arc inputOutput SFFloat ballRadius # [appinfo] offset distance for Cone arrowhead; TODO this needs to match values in the Vertex protopye, which is iniitialized separately inputOutput SFBool traceEnabled # [appinfo] debug trace to Browser output console ][ "PajekVisualizationPrototypes.x3d#Arc" "https://savage.nps.edu/Savage/Tools/Visualization/PajekVisualizationPrototypes.x3d#Arc" ] EXTERNPROTO Vertex [ # [appinfo] Vertex is a node, typically connected by zero or more Arc segments, and displayed using Sphere geometry with modifiable color and transparency inputOutput SFString name # [appinfo] name to identify this Vertex inputOutput SFString description # [appinfo] popup text describing this Vertex inputOutput MFString url # [appinfo] link to some other resource initializeOnly SFFloat radius # [appinfo] size of Vertex ball inputOutput SFString displayMode # [appinfo] rendering choices: BallAndStick, Ball, Stick inputOutput SFColor diffuseColor # [appinfo] diffuseColor of Vertex inputOutput SFFloat transparency # [appinfo] transparency of Vertex inputOutput SFVec3f translation # [appinfo] location of Vertex inputOutput MFString vertexText # [appinfo] labels to identify Vertex inputOutput SFVec3f textTranslation # [appinfo] location of Text inputOutput SFColor textColor # [appinfo] diffuseColor of Text ][ "PajekVisualizationPrototypes.x3d#Vertex" "https://savage.nps.edu/Savage/Tools/Visualization/PajekVisualizationPrototypes.x3d#Vertex" ] EXTERNPROTO NetworkText [ # [appinfo] Text describing what the Vertices and Arcs are about inputOutput MFString text # [appinfo] information to identify the Integral Network ][ "PajekVisualizationPrototypes.x3d#NetworkText" "https://savage.nps.edu/Savage/Tools/Visualization/PajekVisualizationPrototypes.x3d#NetworkText" ] 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 ] } PointLight { ambientIntensity 1 location 0 0 5 radius 30 } NavigationInfo { transitionType [ "ANIMATE" ] type [ "EXAMINE" "FLY" "ANY" ] } Viewpoint { description "Inspect 15JAN2010Newman" orientation 1 0 0 -0.0997 position 0 2 20 } Arc { cylinderHeight 1.44063 cylinderTranslation 2.17390 -1.43580 -2.11246 coneTranslation 1.95052 -1.26823 -2.59823 rotation -124.89760 0 57.43383 1.26709 diffuseColor 0 0 0 ballRadius 0.02 traceEnabled FALSE ### Warning: Improper initialization, no value provided for fieldValue 'displayMode' transparency 0 } Arc { cylinderHeight 2.15360 cylinderTranslation 2.59630 -2.18884 -0.56484 coneTranslation 2.71145 -2.64658 0.22112 rotation 184.62613 0 -27.04755 2.09356 diffuseColor 0 0 0 ballRadius 0.02 traceEnabled FALSE ### Warning: Improper initialization, no value provided for fieldValue 'displayMode' transparency 0 } Arc { cylinderHeight 1.32273 cylinderTranslation 2.08312 -2.19153 -1.43675 coneTranslation 1.79661 -2.60113 -1.39792 rotation 10.24439 -0.00000 75.58857 2.52693 diffuseColor 0 0 0 ballRadius 0.02 traceEnabled FALSE ### Warning: Improper initialization, no value provided for fieldValue 'displayMode' transparency 0 } Arc { cylinderHeight 2.03564 cylinderTranslation 1.79595 -1.97611 -2.06124 coneTranslation 1.71945 -2.61304 -1.49175 rotation 135.14199 -0.00000 18.15474 2.40759 diffuseColor 0 0 0 ballRadius 0.02 traceEnabled FALSE ### Warning: Improper initialization, no value provided for fieldValue 'displayMode' transparency 0 } Arc { cylinderHeight 2.02345 cylinderTranslation 2.21836 -2.72915 -0.51362 coneTranslation 1.78634 -2.73142 -1.24764 rotation -174.38174 0 102.63613 1.57346 diffuseColor 0 0 0 ballRadius 0.02 traceEnabled FALSE ### Warning: Improper initialization, no value provided for fieldValue 'displayMode' transparency 0 } Vertex { vertexText [ "2010-01-31-YOUTUBE.COM-USSOUTHCOM" ] description "1: 2010-01-31-YOUTUBE.COM-USSOUTHCOM" ### Warning: Improper initialization, no value provided for fieldValue 'url' radius 0.1500 ### Warning: Improper initialization, no value provided for fieldValue 'displayMode' diffuseColor 0 0 0 transparency 0 translation 2.46107 -1.65121 -1.48797 textTranslation 2.61107 -1.65121 -1.48797 textColor 0 0 0 } Vertex { vertexText [ "Haiti/2010-01-31/Association_prob_NONE_Haiti_Cat5.txt.file.2010-01-31.simple" ] description "2: Haiti/2010-01-31/Association_prob_NONE_Haiti_Cat5.txt.file.2010-01-31.simple" ### Warning: Improper initialization, no value provided for fieldValue 'url' radius 0.1500 ### Warning: Improper initialization, no value provided for fieldValue 'displayMode' diffuseColor 0.5020 0 0 transparency 0 translation -2.73154 2.73184 2.73695 textTranslation -2.58154 2.73184 2.73695 textColor 0 0 0 } Vertex { vertexText [ "community" ] description "3: community" ### Warning: Improper initialization, no value provided for fieldValue 'url' radius 0.1500 ### Warning: Improper initialization, no value provided for fieldValue 'displayMode' diffuseColor 0 0 0 transparency 0 translation 1.88673 -1.22038 -2.73695 textTranslation 2.03673 -1.22038 -2.73695 textColor 0 0 0 } Vertex { vertexText [ "highlights" ] description "4: highlights" ### Warning: Improper initialization, no value provided for fieldValue 'url' radius 0.1500 ### Warning: Improper initialization, no value provided for fieldValue 'displayMode' diffuseColor 0 0 0 transparency 0 translation 2.73154 -2.72646 0.35829 textTranslation 2.88154 -2.72646 0.35829 textColor 0 0 0 } Vertex { vertexText [ "international" ] description "5: international" ### Warning: Improper initialization, no value provided for fieldValue 'url' radius 0.1500 ### Warning: Improper initialization, no value provided for fieldValue 'displayMode' diffuseColor 0 0 0 transparency 0 translation 1.70518 -2.73184 -1.38553 textTranslation 1.85518 -2.73184 -1.38553 textColor 0 0 0 }