File indexing completed on 2025-01-19 09:23:17
0001
0002
0003
0004
0005
0006
0007
0008
0009 #pragma once
0010
0011 #include "Acts/Detector/Blueprint.hpp"
0012
0013 #include <ostream>
0014 #include <string>
0015
0016 namespace Acts::Experimental::detail::BlueprintDrawer {
0017
0018
0019 struct Options {
0020 struct Node {
0021
0022 std::string shape = "circle";
0023 std::string color = "darkorange";
0024
0025
0026 std::string face = "sans-serif";
0027 int labelText = 12;
0028 int infoText = 10;
0029
0030
0031 int precision = 1;
0032 };
0033
0034
0035 std::string graphName = "blueprint";
0036
0037
0038 Node root = Node{};
0039 Node branch = Node{"diamond", "white"};
0040 Node leaf = Node{"box", "darkolivegreen1"};
0041 Node gap = Node{"box", "darkolivegreen3"};
0042
0043
0044 Node shape = Node{"cylinder", "lightgrey"};
0045 Node virtualShape = Node{"cylinder", "white"};
0046 Node internals = Node{"doubleoctagon", "cadetblue1"};
0047 Node geoID = Node{"box", "azure"};
0048 Node roots = Node{"box", "darkkhaki"};
0049 };
0050
0051
0052
0053
0054
0055
0056
0057
0058 void dotStream(std::ostream& ss, const Blueprint::Node& node,
0059 const Options& options = Options{});
0060
0061 }