<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.2//EN" "https://www.web3d.org/specifications/x3d-3.2.dtd">
<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'>
  <head>
    <meta content='PajekVisualizationExamples.x3d' name='title'/>
    <meta content='Reverse engineer and hopefully elaborate on Pajek visualization structures' name='description'/>
    <meta content='Don Brutzman and Elaine Reid' name='creator'/>
    <meta content='17 May 2011' name='created'/>
    <meta content='25 September 2023' name='modified'/>
    <meta content='http://pajek.imfm.si' name='reference'/>
    <meta content='network visualization' name='subject'/>
    <meta content='https://www.web3d.org/x3d/content/examples/Savage/Tools/Visualization/PajekVisualizationExamples.x3d' name='identifier'/>
    <meta content='X3D-Edit, https://www.web3d.org/x3d/tools/X3D-Edit' name='generator'/>
    <meta content='../../license.html' name='license'/>
  </head>
  <Scene>
    <WorldInfo title='PajekVisualizationExamples.x3d'/>
    <ExternProtoDeclare appinfo='Arc is a network connection between Vertex nodes, displayed using Cylinder/Cone (arrow/arrowhead) geometry with modifiable color and transparency' name='Arc' url='"PajekVisualizationPrototypes.x3d#Arc" "https://www.web3d.org/x3d/content/examples/Savage/Tools/Visualization/PajekVisualizationPrototypes.x3d#Arc"'>
      <field accessType='inputOutput' appinfo='name to identify this Arc' name='name' type='SFString'/>
      <field accessType='inputOutput' appinfo='popup text describing this Arc' name='description' type='SFString'/>
      <field accessType='initializeOnly' appinfo='length of Arc between Vertex locations' name='cylinderHeight' type='SFFloat'/>
      <field accessType='inputOutput' appinfo='link to some other resource' name='url' type='MFString'/>
      <field accessType='inputOutput' appinfo='location of Arc' name='cylinderTranslation' type='SFVec3f'/>
      <field accessType='inputOutput' appinfo='see TODO items in ArcScript' name='coneTranslation' type='SFVec3f'/>
      <field accessType='inputOutput' appinfo='orientation of Arc' name='rotation' type='SFRotation'/>
      <field accessType='inputOutput' appinfo='rendering choices: BallAndStick, Ball, Stick' name='displayMode' type='SFString'/>
      <field accessType='inputOutput' appinfo='diffuseColor of Arc' name='diffuseColor' type='SFColor'/>
      <field accessType='inputOutput' appinfo='transparency of Arc' name='transparency' type='SFFloat'/>
      <field accessType='inputOutput' appinfo='offset distance for Cone arrowhead; TODO this needs to match values in the Vertex protopye, which is iniitialized separately' name='ballRadius' type='SFFloat'/>
      <field accessType='inputOutput' appinfo='debug trace to Browser output console' name='traceEnabled' type='SFBool'/>
    </ExternProtoDeclare>
    <!-- Add any ROUTEs here that connect ProtoInstance to/from prior nodes in Scene (and outside of ProtoDeclare) -->
    <!-- Default values for fieldValue types instead of for the Prototype -->
    <!-- Add any ROUTEs here that connect ProtoInstance to/from prior nodes in Scene (and outside of ProtoDeclare) -->
    <ExternProtoDeclare appinfo='Vertex is a node, typically connected by zero or more Arc segments, and displayed using Sphere geometry with modifiable color and transparency' name='Vertex' url='"PajekVisualizationPrototypes.x3d#Vertex" "https://www.web3d.org/x3d/content/examples/Savage/Tools/Visualization/PajekVisualizationPrototypes.x3d#Vertex"'>
      <field accessType='inputOutput' appinfo='name to identify this Vertex' name='name' type='SFString'/>
      <field accessType='inputOutput' appinfo='popup text describing this Vertex' name='description' type='SFString'/>
      <field accessType='inputOutput' appinfo='link to some other resource' name='url' type='MFString'/>
      <field accessType='initializeOnly' appinfo='size of Vertex ball' name='radius' type='SFFloat'/>
      <field accessType='inputOutput' appinfo='rendering choices: BallAndStick, Ball, Stick' name='displayMode' type='SFString'/>
      <field accessType='inputOutput' appinfo='diffuseColor of Vertex' name='diffuseColor' type='SFColor'/>
      <field accessType='inputOutput' appinfo='transparency of Vertex' name='transparency' type='SFFloat'/>
      <field accessType='inputOutput' appinfo='location of Vertex' name='translation' type='SFVec3f'/>
      <field accessType='inputOutput' appinfo='labels to identify Vertex' name='vertexText' type='MFString'/>
      <field accessType='inputOutput' appinfo='location of Text' name='textTranslation' type='SFVec3f'/>
      <field accessType='inputOutput' appinfo='diffuseColor of Text' name='textColor' type='SFColor'/>
    </ExternProtoDeclare>
    <ProtoInstance name='Vertex'>
      <fieldValue name='name'/>
      <fieldValue name='description'/>
      <fieldValue name='radius' value='0.0'/>
      <fieldValue name='displayMode'/>
      <fieldValue name='diffuseColor' value='0 0 0'/>
      <fieldValue name='transparency' value='0'/>
      <fieldValue name='translation' value='0 0 0'/>
      <fieldValue name='textTranslation' value='0 0 0'/>
      <fieldValue name='textColor' value='0 0 0'/>
    </ProtoInstance>
    <!-- Add any ROUTEs here that connect ProtoInstance to/from prior nodes in Scene (and outside of ProtoDeclare) -->
    <ExternProtoDeclare appinfo='Text describing what the Vertices and Arcs are about' name='NetworkText' url='"PajekVisualizationPrototypes.x3d#NetworkText" "https://www.web3d.org/x3d/content/examples/Savage/Tools/Visualization/PajekVisualizationPrototypes.x3d#NetworkText"'>
      <field accessType='inputOutput' appinfo='information to identify the Integral Network' name='text' type='MFString'/>
    </ExternProtoDeclare>
    <ProtoInstance name='NetworkText'/>
    <!-- Add any ROUTEs here that connect ProtoInstance to/from prior nodes in Scene (and outside of ProtoDeclare) -->
    <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'/>
    <!-- type="3D" <date day ="3" month="5" year="2011"/> -->
    <Transform DEF='infogroup' translation='-8 2 -4'>
      <Transform DEF='NetText' translation='0 6 0'>
        <ProtoInstance name='NetworkText'>
          <fieldValue name='text' value='"15JAN2010"'/>
        </ProtoInstance>
      </Transform>
    </Transform>
    <Group>
      <Transform>
        <ProtoInstance name='Vertex'>
          <fieldValue name='name' value='Vertex 1'/>
          <fieldValue name='description' value='2010-01-15-ARMY.MIL'/>
          <fieldValue name='radius' value='.1500'/>
          <fieldValue name='displayMode' value='BallAndStick'/>
          <fieldValue name='diffuseColor' value='0 0 0'/>
          <fieldValue name='transparency' value='0'/>
          <fieldValue name='translation' value='0.06344 -0.26178 -0.55101'/>
          <fieldValue name='vertexText' value='"2010-01-15-ARMY.MIL"'/>
          <fieldValue name='textTranslation' value='0.06344 -0.26178 -0.55101'/>
          <fieldValue name='textColor' value='0 0 0'/>
        </ProtoInstance>
        <ProtoInstance name='Arc'>
          <fieldValue name='name' value='1.24'/>
          <fieldValue name='description' value='From blah to blah'/>
          <fieldValue name='url' value='"http://www.google.com"'/>
          <fieldValue name='cylinderHeight' value='0.64770'/>
          <fieldValue name='cylinderTranslation' value='-0.35062 -0.44066 -0.60713'/>
          <fieldValue name='coneTranslation' value='-.48422 -.53116 -.63552'/>
          <fieldValue name='rotation' value='-11.22472 0 52.81325 2.15598'/>
          <fieldValue name='displayMode' value='BallAndStick'/>
          <fieldValue name='diffuseColor' value='0 0 0'/>
          <fieldValue name='transparency' value='0'/>
          <fieldValue name='ballRadius' value='1'/>
        </ProtoInstance>
        <ProtoInstance name='Vertex'>
          <fieldValue name='name' value='Vertex 2'/>
          <fieldValue name='description' value='2010-01-15BLOGS.STATE.GOV-INDEX.PHP'/>
          <fieldValue name='vertexText' value='"2010-01-15BLOGS.STATE.GOV-INDEX.PHP"'/>
          <fieldValue name='textTranslation' value='1.43526 1.19707 0.67279'/>
          <fieldValue name='textColor' value='0 0 0'/>
          <fieldValue name='url' value='"http://www.state.gov"'/>
          <fieldValue name='translation' value='1.28526 1.19707 0.67279'/>
          <fieldValue name='radius' value='0.1500'/>
          <fieldValue name='displayMode' value='BallAndStick'/>
          <fieldValue name='diffuseColor' value='0.5020 0 0'/>
          <fieldValue name='transparency' value='0'/>
        </ProtoInstance>
        <ProtoInstance name='Arc'>
          <fieldValue name='name' value='1.26'/>
          <fieldValue name='description' value='From blah1 to blah1'/>
          <fieldValue name='url' value='"http://www.google.com"'/>
          <fieldValue name='cylinderHeight' value='1.28361'/>
          <fieldValue name='cylinderTranslation' value='-0.12911 0.32068 -0.81718'/>
          <fieldValue name='coneTranslation' value='-0.16106 0.75793 -1.01700'/>
          <fieldValue name='rotation' value='-53.23500 0 8.51149 0.43344'/>
          <fieldValue name='displayMode' value='BallAndStick'/>
          <fieldValue name='diffuseColor' value='0 0 0'/>
          <fieldValue name='transparency' value='0'/>
          <fieldValue name='ballRadius' value='1'/>
        </ProtoInstance>
        <ProtoInstance name='Vertex'>
          <fieldValue name='name' value='Vertex 3'/>
          <fieldValue name='description' value='2010-01-15-FEEDS.FEEDBURNER.COM-DIPNOTE'/>
          <fieldValue name='vertexText' value='"2010-01-15-FEEDS.FEEDBURNER.COM-DIPNOTE"'/>
          <fieldValue name='textColor' value='0 0 0'/>
          <fieldValue name='textTranslation' value='0.08377 1.98542 -1.19849'/>
          <fieldValue name='url' value='"http://www.feedburner.com"'/>
          <fieldValue name='translation' value='-0.06623 1.98542 -1.19849'/>
          <fieldValue name='radius' value='.1500'/>
          <fieldValue name='displayMode' value='BallAndStick'/>
          <fieldValue name='diffuseColor' value='1.0000 0 0'/>
          <fieldValue name='transparency' value='0'/>
        </ProtoInstance>
        <ProtoInstance name='Arc'>
          <fieldValue name='name' value='1.39'/>
          <fieldValue name='description' value='From blah2 to blah2'/>
          <fieldValue name='url' value='"http://www.google.com"'/>
          <fieldValue name='cylinderHeight' value='1.12537'/>
          <fieldValue name='cylinderTranslation' value='-0.35500 -0.38541 -1.02982'/>
          <fieldValue name='coneTranslation' value='-0.54712 -0.47389 -1.37249'/>
          <fieldValue name='rotation' value='-95.76386 0 53.68924 1.79233'/>
          <fieldValue name='displayMode' value='BallAndStick'/>
          <fieldValue name='diffuseColor' value='0 0 0'/>
          <fieldValue name='transparency' value='0'/>
          <fieldValue name='ballRadius' value='1'/>
        </ProtoInstance>
      </Transform>
    </Group>
  </Scene>
</X3D>