| 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> |
| 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='name' type='SFString' accessType='inputOutput'
appinfo='name to identify this Arc'/> |
| 21 |
<field name='description' type='SFString' accessType='inputOutput'
appinfo='popup text describing this Arc'/> |
| 22 |
<field name='cylinderHeight' type='SFFloat' accessType='initializeOnly'
appinfo='length of Arc between Vertex locations'/> |
| 23 |
<field name='url' type='MFString' accessType='inputOutput'
appinfo='link to some other resource'/> |
| 24 |
<field name='cylinderTranslation' type='SFVec3f' accessType='inputOutput'
appinfo='location of Arc'/> |
| 25 |
<field name='coneTranslation' type='SFVec3f' accessType='inputOutput'
appinfo='see TODO items in ArcScript'/> |
| 26 |
<field name='rotation' type='SFRotation' accessType='inputOutput'
appinfo='orientation of Arc'/> |
| 27 |
<field name='displayMode' type='SFString' accessType='inputOutput'
appinfo='rendering choices: BallAndStick, Ball, Stick'/> |
| 28 |
<field name='diffuseColor' type='SFColor' accessType='inputOutput'
appinfo='diffuseColor of Arc'/> |
| 29 |
<field name='transparency' type='SFFloat' accessType='inputOutput'
appinfo='transparency of Arc'/> |
| 30 |
<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'/> |
| 31 |
<field name='traceEnabled' type='SFBool' accessType='inputOutput'
appinfo='debug trace to Browser output console'/> |
| 32 | </ExternProtoDeclare> |
| 33 | <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" '> |
| 34 |
<field name='name' type='SFString' accessType='inputOutput'
appinfo='name to identify this Vertex'/> |
| 35 |
<field name='description' type='SFString' accessType='inputOutput'
appinfo='popup text describing this Vertex'/> |
| 36 |
<field name='url' type='MFString' accessType='inputOutput'
appinfo='link to some other resource'/> |
| 37 |
<field name='radius' type='SFFloat' accessType='initializeOnly'
appinfo='size of Vertex ball'/> |
| 38 |
<field name='displayMode' type='SFString' accessType='inputOutput'
appinfo='rendering choices: BallAndStick, Ball, Stick'/> |
| 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 | </ExternProtoDeclare> |
| 46 | <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" '> |
| 47 |
<field name='text' type='MFString' accessType='inputOutput'
appinfo='information to identify the Integral Network'/> |
| 48 | </ExternProtoDeclare> |
| 49 | <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'/> |
| 50 | <PointLight ambientIntensity='1' location='0 0 5' radius='30'/> |
| 51 | <NavigationInfo transitionType='"ANIMATE"' type='"EXAMINE" "FLY" "ANY"'/> |
| 52 | <Viewpoint description='Inspect 15JAN2010Newman' orientation='1 0 0 -0.0997' position='0 2 20'/> |
| 53 | <ProtoInstance name='Arc'> |
| 54 | <fieldValue name='cylinderHeight' value='2.39574'/> |
| 55 | <fieldValue name='cylinderTranslation' value='-1.75314 -2.11425 2.44212'/> |
| 56 | <fieldValue name='coneTranslation' value='-0.90120 -2.65124 2.69314'/> |
| 57 | <fieldValue name='rotation' value='57.94277 0 -196.65593 2.11460'/> |
| 58 | <fieldValue name='diffuseColor' value='0 0 0'/> |
| 59 | <fieldValue name='ballRadius' value='0.02'/> |
| 60 | <fieldValue name='traceEnabled' value='false'/> |
| 61 | <fieldValue name='displayMode'/> |
| 62 | <fieldValue name='transparency' value='0'/> |
| 63 | </ProtoInstance> |
| 64 | <ProtoInstance name='Vertex'> |
| 65 | <fieldValue name='vertexText' value='"2010-02-06-FACEBOOK.COM-PAGES"'/> |
| 66 | <fieldValue name='description' value='1: 2010-02-06-FACEBOOK.COM-PAGES'/> |
| 67 | <fieldValue name='url'/> |
| 68 | <fieldValue name='radius' value='0.1500'/> |
| 69 | <fieldValue name='displayMode'/> |
| 70 | <fieldValue name='diffuseColor' value='0 0 0'/> |
| 71 | <fieldValue name='transparency' value='0'/> |
| 72 | <fieldValue name='translation' value='-2.73642 -1.49447 2.15241'/> |
| 73 | <fieldValue name='textTranslation' value='-2.58642 -1.49447 2.15241'/> |
| 74 | <fieldValue name='textColor' value='0 0 0'/> |
| 75 | </ProtoInstance> |
| 76 | <ProtoInstance name='Vertex'> |
| 77 | <fieldValue name='vertexText' value=' "Haiti/2010-02-06/Association_prob_NONE_Haiti_Cat5.txt.file.2010-02-06.simple" '/> |
| 78 | <fieldValue name='description' value='2: Haiti/2010-02-06/Association_prob_NONE_Haiti_Cat5.txt.file.2010-02-06.simple'/> |
| 79 | <fieldValue name='url'/> |
| 80 | <fieldValue name='radius' value='0.1500'/> |
| 81 | <fieldValue name='displayMode'/> |
| 82 | <fieldValue name='diffuseColor' value='0.5020 0 0'/> |
| 83 | <fieldValue name='transparency' value='0'/> |
| 84 | <fieldValue name='translation' value='2.73642 2.73403 -2.73184'/> |
| 85 | <fieldValue name='textTranslation' value='2.88642 2.73403 -2.73184'/> |
| 86 | <fieldValue name='textColor' value='0 0 0'/> |
| 87 | </ProtoInstance> |
| 88 | <ProtoInstance name='Vertex'> |
| 89 | <fieldValue name='vertexText' value='"nice"'/> |
| 90 | <fieldValue name='description' value='3: nice'/> |
| 91 | <fieldValue name='url'/> |
| 92 | <fieldValue name='radius' value='0.1500'/> |
| 93 | <fieldValue name='displayMode'/> |
| 94 | <fieldValue name='diffuseColor' value='0 0 0'/> |
| 95 | <fieldValue name='transparency' value='0'/> |
| 96 | <fieldValue name='translation' value='-0.76986 -2.73403 2.73184'/> |
| 97 | <fieldValue name='textTranslation' value='-0.61986 -2.73403 2.73184'/> |
| 98 | <fieldValue name='textColor' value='0 0 0'/> |
| 99 | </ProtoInstance> |
| 100 | </Scene> |
| 101 | </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>
-->
<!--
For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources, and X3D Scene Authoring Hints.
-->