Hytale Asset ReferenceUnofficial
Versions / 0.5.0-pre.8 / HytaleGenerator / Graphs / ExampleGraph.json

ExampleGraph

Server/HytaleGenerator/Graphs/ExampleGraph.json, 1.1 KB

Fields

FieldType
$Positionobject
Typestring
ExportAsstring
Skipboolean
Nodesarray[2]
Edgesarray[1]
$WorkspaceIDstring
$Groupsarray[0]

Source

{
	"$Position":	{
		"$x":	308,
		"$y":	269
	},
	"Type":	"Static",
	"ExportAs":	"ExampleGraph",
	"Skip":	false,
	"Nodes":	[{
			"$Position":	{
				"$x":	987,
				"$y":	111
			},
			"Type":	"Positioned",
			"Id":	"A",
			"Position":	{
				"$Position":	{
					"$x":	1644,
					"$y":	89
				},
				"X":	0,
				"Y":	0,
				"Z":	0
			},
			"Payloads":	[{
					"$Position":	{
						"$x":	1614,
						"$y":	341
					},
					"Type":	"Distance",
					"MaxDistance":	40
				}]
		}, {
			"$Position":	{
				"$x":	976,
				"$y":	522
			},
			"Type":	"Positioned",
			"Id":	"B",
			"Position":	{
				"$Position":	{
					"$x":	1673,
					"$y":	569
				},
				"X":	100,
				"Y":	0,
				"Z":	0
			},
			"Payloads":	[{
					"$Position":	{
						"$x":	1670,
						"$y":	763
					},
					"Type":	"Distance",
					"MaxDistance":	40
				}]
		}],
	"Edges":	[{
			"$Position":	{
				"$x":	969,
				"$y":	818
			},
			"Type":	"Anchored",
			"Id":	"AB",
			"Nodes":	["A", "B"],
			"Payloads":	[{
					"$Position":	{
						"$x":	1694,
						"$y":	927
					},
					"Type":	"Distance",
					"MaxDistance":	40
				}]
		}],
	"$WorkspaceID":	"Worldgen GraphProvider",
	"$Groups":	[]
}