{ "X3D": {
    "encoding":"UTF-8",
    "@profile":"Immersive",
    "@version":"3.2",
    "@xsd:noNamespaceSchemaLocation":"https://www.web3d.org/specifications/x3d-3.2.xsd",
    "JSON schema":"https://www.web3d.org/specifications/x3d-4.0-JSONSchema.autogenerated.json",
    "head": {
        "meta": [
          {
            "@name":"title",
            "@content":"PajekVisualizationExamples.x3d"
          },
          {
            "@name":"description",
            "@content":"Reverse engineer and hopefully elaborate on Pajek visualization structures"
          },
          {
            "@name":"creator",
            "@content":"Don Brutzman and Elaine Reid"
          },
          {
            "@name":"created",
            "@content":"17 May 2011"
          },
          {
            "@name":"modified",
            "@content":"25 September 2023"
          },
          {
            "@name":"reference",
            "@content":"http://pajek.imfm.si"
          },
          {
            "@name":"subject",
            "@content":"network visualization"
          },
          {
            "@name":"warning",
            "@content":"under development"
          },
          {
            "@name":"identifier",
            "@content":"https://www.web3d.org/x3d/content/examples/Savage/Tools/Visualization/PajekVisualizationExamples.x3d"
          },
          {
            "@name":"generator",
            "@content":"X3D-Edit, https://www.web3d.org/x3d/tools/X3D-Edit"
          },
          {
            "@name":"license",
            "@content":"../../license.html"
          },
          {
            "@name":"translated",
            "@content":"30 August 2025"
          },
          {
            "@name":"generator",
            "@content":"X3dToJson.xslt, https://www.web3d.org/x3d/stylesheets/X3dToJson.html"
          },
          {
            "@name":"reference",
            "@content":"X3D JSON encoding: https://www.web3d.org/wiki/index.php/X3D_JSON_Encoding"
          }
        ]
    },
    "Scene": {
        "-children":[
          { "WorldInfo":
            {
              "@title":"PajekVisualizationExamples.x3d"
            }
          },
          { "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://www.web3d.org/x3d/content/examples/Savage/Tools/Visualization/PajekVisualizationPrototypes.x3d#Arc"],
              "field": [
                {
                  "@name":"name",
                  "@accessType":"inputOutput",
                  "@appinfo":"name to identify this Arc",
                  "@type":"SFString"
                },
                {
                  "@name":"description",
                  "@accessType":"inputOutput",
                  "@appinfo":"popup text describing this Arc",
                  "@type":"SFString"
                },
                {
                  "@name":"cylinderHeight",
                  "@accessType":"initializeOnly",
                  "@appinfo":"length of Arc between Vertex locations",
                  "@type":"SFFloat"
                },
                {
                  "@name":"url",
                  "@accessType":"inputOutput",
                  "@appinfo":"link to some other resource",
                  "@type":"MFString"
                },
                {
                  "@name":"cylinderTranslation",
                  "@accessType":"inputOutput",
                  "@appinfo":"location of Arc",
                  "@type":"SFVec3f"
                },
                {
                  "@name":"coneTranslation",
                  "@accessType":"inputOutput",
                  "@appinfo":"see TODO items in ArcScript",
                  "@type":"SFVec3f"
                },
                {
                  "@name":"rotation",
                  "@accessType":"inputOutput",
                  "@appinfo":"orientation of Arc",
                  "@type":"SFRotation"
                },
                {
                  "@name":"displayMode",
                  "@accessType":"inputOutput",
                  "@appinfo":"rendering choices: BallAndStick, Ball, Stick",
                  "@type":"SFString"
                },
                {
                  "@name":"diffuseColor",
                  "@accessType":"inputOutput",
                  "@appinfo":"diffuseColor of Arc",
                  "@type":"SFColor"
                },
                {
                  "@name":"transparency",
                  "@accessType":"inputOutput",
                  "@appinfo":"transparency of Arc",
                  "@type":"SFFloat"
                },
                {
                  "@name":"ballRadius",
                  "@accessType":"inputOutput",
                  "@appinfo":"offset distance for Cone arrowhead; TODO this needs to match values in the Vertex protopye, which is iniitialized separately",
                  "@type":"SFFloat"
                },
                {
                  "@name":"traceEnabled",
                  "@accessType":"inputOutput",
                  "@appinfo":"debug trace to Browser output console",
                  "@type":"SFBool"
                }
              ]
            }
          },
          { "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://www.web3d.org/x3d/content/examples/Savage/Tools/Visualization/PajekVisualizationPrototypes.x3d#Vertex"],
              "field": [
                {
                  "@name":"name",
                  "@accessType":"inputOutput",
                  "@appinfo":"name to identify this Vertex",
                  "@type":"SFString"
                },
                {
                  "@name":"description",
                  "@accessType":"inputOutput",
                  "@appinfo":"popup text describing this Vertex",
                  "@type":"SFString"
                },
                {
                  "@name":"url",
                  "@accessType":"inputOutput",
                  "@appinfo":"link to some other resource",
                  "@type":"MFString"
                },
                {
                  "@name":"radius",
                  "@accessType":"initializeOnly",
                  "@appinfo":"size of Vertex ball",
                  "@type":"SFFloat"
                },
                {
                  "@name":"displayMode",
                  "@accessType":"inputOutput",
                  "@appinfo":"rendering choices: BallAndStick, Ball, Stick",
                  "@type":"SFString"
                },
                {
                  "@name":"diffuseColor",
                  "@accessType":"inputOutput",
                  "@appinfo":"diffuseColor of Vertex",
                  "@type":"SFColor"
                },
                {
                  "@name":"transparency",
                  "@accessType":"inputOutput",
                  "@appinfo":"transparency of Vertex",
                  "@type":"SFFloat"
                },
                {
                  "@name":"translation",
                  "@accessType":"inputOutput",
                  "@appinfo":"location of Vertex",
                  "@type":"SFVec3f"
                },
                {
                  "@name":"vertexText",
                  "@accessType":"inputOutput",
                  "@appinfo":"labels to identify Vertex",
                  "@type":"MFString"
                },
                {
                  "@name":"textTranslation",
                  "@accessType":"inputOutput",
                  "@appinfo":"location of Text",
                  "@type":"SFVec3f"
                },
                {
                  "@name":"textColor",
                  "@accessType":"inputOutput",
                  "@appinfo":"diffuseColor of Text",
                  "@type":"SFColor"
                }
              ]
            }
          },
          { "ExternProtoDeclare":
            {
              "@name":"NetworkText",
              "@appinfo":"Text describing what the Vertices and Arcs are about",
              "@url":["PajekVisualizationPrototypes.x3d#NetworkText","https://www.web3d.org/x3d/content/examples/Savage/Tools/Visualization/PajekVisualizationPrototypes.x3d#NetworkText"],
              "field": [
                {
                  "@name":"text",
                  "@accessType":"inputOutput",
                  "@appinfo":"information to identify the Integral Network",
                  "@type":"MFString"
                }
              ]
            }
          },
          { "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]
            }
          },
          { "ProtoInstance":
            {
              "@name":"Arc",
              "fieldValue": [
                {
                  "@name":"cylinderHeight",
                  "@value":2.39574
                },
                {
                  "@name":"cylinderTranslation",
                  "@value":[-1.75314,-2.11425,2.44212]
                },
                {
                  "@name":"coneTranslation",
                  "@value":[-0.90120,-2.65124,2.69314]
                },
                {
                  "@name":"rotation",
                  "@value":[57.94277,0,-196.65593,2.11460]
                },
                {
                  "@name":"diffuseColor",
                  "@value":[0,0,0]
                },
                {
                  "@name":"ballRadius",
                  "@value":0.02
                },
                {
                  "@name":"traceEnabled",
                  "@value":false
                },
                {
                  "@name":"displayMode"
                },
                {
                  "@name":"transparency",
                  "@value":0
                }
              ]
            }
          },
          { "ProtoInstance":
            {
              "@name":"Vertex",
              "fieldValue": [
                {
                  "@name":"vertexText",
                  "@value":["2010-02-06-FACEBOOK.COM-PAGES"]
                },
                {
                  "@name":"description",
                  "@value":"1: 2010-02-06-FACEBOOK.COM-PAGES"
                },
                {
                  "@name":"url"
                },
                {
                  "@name":"radius",
                  "@value":0.1500
                },
                {
                  "@name":"displayMode"
                },
                {
                  "@name":"diffuseColor",
                  "@value":[0,0,0]
                },
                {
                  "@name":"transparency",
                  "@value":0
                },
                {
                  "@name":"translation",
                  "@value":[-2.73642,-1.49447,2.15241]
                },
                {
                  "@name":"textTranslation",
                  "@value":[-2.58642,-1.49447,2.15241]
                },
                {
                  "@name":"textColor",
                  "@value":[0,0,0]
                }
              ]
            }
          },
          { "ProtoInstance":
            {
              "@name":"Vertex",
              "fieldValue": [
                {
                  "@name":"vertexText",
                  "@value":["Haiti/2010-02-06/Association_prob_NONE_Haiti_Cat5.txt.file.2010-02-06.simple"]
                },
                {
                  "@name":"description",
                  "@value":"2: Haiti/2010-02-06/Association_prob_NONE_Haiti_Cat5.txt.file.2010-02-06.simple"
                },
                {
                  "@name":"url"
                },
                {
                  "@name":"radius",
                  "@value":0.1500
                },
                {
                  "@name":"displayMode"
                },
                {
                  "@name":"diffuseColor",
                  "@value":[0.5020,0,0]
                },
                {
                  "@name":"transparency",
                  "@value":0
                },
                {
                  "@name":"translation",
                  "@value":[2.73642,2.73403,-2.73184]
                },
                {
                  "@name":"textTranslation",
                  "@value":[2.88642,2.73403,-2.73184]
                },
                {
                  "@name":"textColor",
                  "@value":[0,0,0]
                }
              ]
            }
          },
          { "ProtoInstance":
            {
              "@name":"Vertex",
              "fieldValue": [
                {
                  "@name":"vertexText",
                  "@value":["nice"]
                },
                {
                  "@name":"description",
                  "@value":"3: nice"
                },
                {
                  "@name":"url"
                },
                {
                  "@name":"radius",
                  "@value":0.1500
                },
                {
                  "@name":"displayMode"
                },
                {
                  "@name":"diffuseColor",
                  "@value":[0,0,0]
                },
                {
                  "@name":"transparency",
                  "@value":0
                },
                {
                  "@name":"translation",
                  "@value":[-0.76986,-2.73403,2.73184]
                },
                {
                  "@name":"textTranslation",
                  "@value":[-0.61986,-2.73403,2.73184]
                },
                {
                  "@name":"textColor",
                  "@value":[0,0,0]
                }
              ]
            }
          }
        ]
    }
  }
}