2 #include "util/uuid.hpp"
3 #include "nlohmann/json_fwd.hpp"
4 #include "common/common.hpp"
5 #include "util/uuid_ptr.hpp"
6 #include "common/junction.hpp"
7 #include "block/bus.hpp"
12 #include "nlohmann/json_fwd.hpp"
24 BusLabel(
const UUID &uu,
const json &j,
class Sheet &sheet,
class Block &block);
25 BusLabel(
const UUID &uu,
const json &j);
26 BusLabel(
const UUID &uu);
30 enum class Style { PLAIN, FLAG };
31 Style style = Style::FLAG;
33 uuid_ptr<Junction> junction;
34 Orientation orientation = Orientation::RIGHT;
36 std::set<unsigned int> on_sheets;
37 bool offsheet_refs =
true;
40 json serialize()
const;