Olympe Engine
2.0
2D Game Engine with ECS Architecture
Loading...
Searching...
No Matches
Source
BlueprintEditor
Graph.h
Go to the documentation of this file.
1
#pragma once
2
#include <string>
3
#include <vector>
4
// use bundled nlohmann json header from workspace
5
#include "../../Source/third_party/nlohmann/json.hpp"
6
7
struct
Node
8
{
9
int
id
;
10
std::string
type
;
11
float
x
,
y
;
12
};
13
14
struct
Graph
15
{
16
std::vector<Node>
nodes
;
17
18
nlohmann::json
ToJson
()
const
;
19
static
Graph
FromJson
(
const
nlohmann::json
&
j
);
20
};
GetComponentTypeID_Static
ComponentTypeID GetComponentTypeID_Static()
Definition
ECS_Entity.h:56
nlohmann::json
nlohmann::json json
Definition
ParameterSchema.h:23
Graph
Definition
Graph.h:15
Graph::nodes
std::vector< Node > nodes
Definition
Graph.h:16
Graph::FromJson
static Graph FromJson(const nlohmann::json &j)
Definition
Graph.cpp:23
Graph::ToJson
nlohmann::json ToJson() const
Definition
Graph.cpp:6
Node
Definition
Graph.h:8
Node::y
float y
Definition
Graph.h:11
Node::x
float x
Definition
Graph.h:11
Node::id
int id
Definition
Graph.h:9
Node::type
std::string type
Definition
Graph.h:10
Generated on Tue Feb 17 2026 13:49:10 for Olympe Engine by
1.9.8