dfx 0.1.0
Linux-based dynamic dataflow executor
Loading...
Searching...
No Matches
Json.hpp
1// SPDX-FileCopyrightText: 2025 Vincent Leroy
2// SPDX-License-Identifier: MIT
3//
4// This file is part of dfx.
5//
6// Licensed under the MIT License. See the LICENSE file in the project root
7// for full license information.
8
9#pragma once
10
11// Third-party includes
12#include <nlohmann/json.hpp>
13
14namespace dfx::Graph
15{
16class Controller;
17} // !namespace dfx::Graph
18
20{
34class Json
35{
36public:
39 Json(Controller const & graph);
40
56 nlohmann::json process() const;
57
58private:
59 Controller const & _graph;
60};
61} // !namespace dfx::Graph::Exporter
In-memory graph builder and mutation controller (nodes + channels) with optional connection verificat...
Definition Controller.hpp:213
Json(Controller const &graph)
Construct a JSON exporter for a given graph controller.
nlohmann::json process() const
Generate a JSON representation of the graph.
Definition Dot.hpp:20
Definition Node.hpp:42