{ "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":"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":"26 March 2026"
          },
          {
            "@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"
                }
              ]
            }
          },
          {
            "#comment":"Add any ROUTEs here that connect ProtoInstance to/from prior nodes in Scene (and outside of ProtoDeclare)"
          },
          {
            "#comment":"Default values for fieldValue types instead of for the Prototype"
          },
          {
            "#comment":"Add any ROUTEs here that connect ProtoInstance to/from prior nodes in Scene (and outside of ProtoDeclare)"
          },
          { "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"
                }
              ]
            }
          },
          { "ProtoInstance":
            {
              "@name":"Vertex",
              "fieldValue": [
                {
                  "@name":"name"
                },
                {
                  "@name":"description"
                },
                {
                  "@name":"radius",
                  "@value":0.0
                },
                {
                  "@name":"displayMode"
                },
                {
                  "@name":"diffuseColor",
                  "@value":[0,0,0]
                },
                {
                  "@name":"transparency",
                  "@value":0
                },
                {
                  "@name":"translation",
                  "@value":[0,0,0]
                },
                {
                  "@name":"textTranslation",
                  "@value":[0,0,0]
                },
                {
                  "@name":"textColor",
                  "@value":[0,0,0]
                }
              ]
            }
          },
          {
            "#comment":"Add any ROUTEs here that connect ProtoInstance to/from prior nodes in Scene (and outside of ProtoDeclare)"
          },
          { "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"
                }
              ]
            }
          },
          { "ProtoInstance":
            {
              "@name":"NetworkText"
            }
          },
          {
            "#comment":"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]
            }
          },
          {
            "#comment":"type=\"3D\" <date day =\"3\" month=\"5\" year=\"2011\"/>"
          },
          { "Transform":
            {
              "@DEF":"infogroup",
              "@translation":[-8,2,-4],
              "-children":[
                { "Transform":
                  {
                    "@DEF":"NetText",
                    "@translation":[0,6,0],
                    "-children":[
                      { "ProtoInstance":
                        {
                          "@name":"NetworkText",
                          "fieldValue": [
                            {
                              "@name":"text",
                              "@value":["15JAN2010"]
                            }
                          ]
                        }
                      }
                    ]
                  }
                }
              ]
            }
          },
          { "Group":
            {
              "-children":[
                { "Transform":
                  {
                    "-children":[
                      { "ProtoInstance":
                        {
                          "@name":"Vertex",
                          "fieldValue": [
                            {
                              "@name":"name",
                              "@value":"Vertex 1"
                            },
                            {
                              "@name":"description",
                              "@value":"2010-01-15-ARMY.MIL"
                            },
                            {
                              "@name":"radius",
                              "@value":0.1500
                            },
                            {
                              "@name":"displayMode",
                              "@value":"BallAndStick"
                            },
                            {
                              "@name":"diffuseColor",
                              "@value":[0,0,0]
                            },
                            {
                              "@name":"transparency",
                              "@value":0
                            },
                            {
                              "@name":"translation",
                              "@value":[0.06344,-0.26178,-0.55101]
                            },
                            {
                              "@name":"vertexText",
                              "@value":["2010-01-15-ARMY.MIL"]
                            },
                            {
                              "@name":"textTranslation",
                              "@value":[0.06344,-0.26178,-0.55101]
                            },
                            {
                              "@name":"textColor",
                              "@value":[0,0,0]
                            }
                          ]
                        }
                      },
                      { "ProtoInstance":
                        {
                          "@name":"Arc",
                          "fieldValue": [
                            {
                              "@name":"name",
                              "@value":"1.24"
                            },
                            {
                              "@name":"description",
                              "@value":"From blah to blah"
                            },
                            {
                              "@name":"url",
                              "@value":["http://www.google.com"]
                            },
                            {
                              "@name":"cylinderHeight",
                              "@value":0.64770
                            },
                            {
                              "@name":"cylinderTranslation",
                              "@value":[-0.35062,-0.44066,-0.60713]
                            },
                            {
                              "@name":"coneTranslation",
                              "@value":[-0.48422,-0.53116,-0.63552]
                            },
                            {
                              "@name":"rotation",
                              "@value":[-11.22472,0,52.81325,2.15598]
                            },
                            {
                              "@name":"displayMode",
                              "@value":"BallAndStick"
                            },
                            {
                              "@name":"diffuseColor",
                              "@value":[0,0,0]
                            },
                            {
                              "@name":"transparency",
                              "@value":0
                            },
                            {
                              "@name":"ballRadius",
                              "@value":1
                            }
                          ]
                        }
                      },
                      { "ProtoInstance":
                        {
                          "@name":"Vertex",
                          "fieldValue": [
                            {
                              "@name":"name",
                              "@value":"Vertex 2"
                            },
                            {
                              "@name":"description",
                              "@value":"2010-01-15BLOGS.STATE.GOV-INDEX.PHP"
                            },
                            {
                              "@name":"vertexText",
                              "@value":["2010-01-15BLOGS.STATE.GOV-INDEX.PHP"]
                            },
                            {
                              "@name":"textTranslation",
                              "@value":[1.43526,1.19707,0.67279]
                            },
                            {
                              "@name":"textColor",
                              "@value":[0,0,0]
                            },
                            {
                              "@name":"url",
                              "@value":["http://www.state.gov"]
                            },
                            {
                              "@name":"translation",
                              "@value":[1.28526,1.19707,0.67279]
                            },
                            {
                              "@name":"radius",
                              "@value":0.1500
                            },
                            {
                              "@name":"displayMode",
                              "@value":"BallAndStick"
                            },
                            {
                              "@name":"diffuseColor",
                              "@value":[0.5020,0,0]
                            },
                            {
                              "@name":"transparency",
                              "@value":0
                            }
                          ]
                        }
                      },
                      { "ProtoInstance":
                        {
                          "@name":"Arc",
                          "fieldValue": [
                            {
                              "@name":"name",
                              "@value":"1.26"
                            },
                            {
                              "@name":"description",
                              "@value":"From blah1 to blah1"
                            },
                            {
                              "@name":"url",
                              "@value":["http://www.google.com"]
                            },
                            {
                              "@name":"cylinderHeight",
                              "@value":1.28361
                            },
                            {
                              "@name":"cylinderTranslation",
                              "@value":[-0.12911,0.32068,-0.81718]
                            },
                            {
                              "@name":"coneTranslation",
                              "@value":[-0.16106,0.75793,-1.01700]
                            },
                            {
                              "@name":"rotation",
                              "@value":[-53.23500,0,8.51149,0.43344]
                            },
                            {
                              "@name":"displayMode",
                              "@value":"BallAndStick"
                            },
                            {
                              "@name":"diffuseColor",
                              "@value":[0,0,0]
                            },
                            {
                              "@name":"transparency",
                              "@value":0
                            },
                            {
                              "@name":"ballRadius",
                              "@value":1
                            }
                          ]
                        }
                      },
                      { "ProtoInstance":
                        {
                          "@name":"Vertex",
                          "fieldValue": [
                            {
                              "@name":"name",
                              "@value":"Vertex 3"
                            },
                            {
                              "@name":"description",
                              "@value":"2010-01-15-FEEDS.FEEDBURNER.COM-DIPNOTE"
                            },
                            {
                              "@name":"vertexText",
                              "@value":["2010-01-15-FEEDS.FEEDBURNER.COM-DIPNOTE"]
                            },
                            {
                              "@name":"textColor",
                              "@value":[0,0,0]
                            },
                            {
                              "@name":"textTranslation",
                              "@value":[0.08377,1.98542,-1.19849]
                            },
                            {
                              "@name":"url",
                              "@value":["http://www.feedburner.com"]
                            },
                            {
                              "@name":"translation",
                              "@value":[-0.06623,1.98542,-1.19849]
                            },
                            {
                              "@name":"radius",
                              "@value":0.1500
                            },
                            {
                              "@name":"displayMode",
                              "@value":"BallAndStick"
                            },
                            {
                              "@name":"diffuseColor",
                              "@value":[1.0000,0,0]
                            },
                            {
                              "@name":"transparency",
                              "@value":0
                            }
                          ]
                        }
                      },
                      { "ProtoInstance":
                        {
                          "@name":"Arc",
                          "fieldValue": [
                            {
                              "@name":"name",
                              "@value":"1.39"
                            },
                            {
                              "@name":"description",
                              "@value":"From blah2 to blah2"
                            },
                            {
                              "@name":"url",
                              "@value":["http://www.google.com"]
                            },
                            {
                              "@name":"cylinderHeight",
                              "@value":1.12537
                            },
                            {
                              "@name":"cylinderTranslation",
                              "@value":[-0.35500,-0.38541,-1.02982]
                            },
                            {
                              "@name":"coneTranslation",
                              "@value":[-0.54712,-0.47389,-1.37249]
                            },
                            {
                              "@name":"rotation",
                              "@value":[-95.76386,0,53.68924,1.79233]
                            },
                            {
                              "@name":"displayMode",
                              "@value":"BallAndStick"
                            },
                            {
                              "@name":"diffuseColor",
                              "@value":[0,0,0]
                            },
                            {
                              "@name":"transparency",
                              "@value":0
                            },
                            {
                              "@name":"ballRadius",
                              "@value":1
                            }
                          ]
                        }
                      }
                    ]
                  }
                }
              ]
            }
          }
        ]
    }
  }
}