First working version of Mermaid class diagram generator

This commit is contained in:
Bartek Kryza
2023-09-06 21:21:12 +02:00
parent 6822930a12
commit 084bb20ef7
372 changed files with 1102 additions and 821 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
compilation_database_dir: ..
output_directory: puml
output_directory: diagrams
diagrams:
t30007_package:
type: package
+2 -3
View File
@@ -45,8 +45,7 @@ TEST_CASE("t30007", "[test-case][package]")
REQUIRE_THAT(puml, IsLayoutHint(_A("C"), "up", _A("AA")));
REQUIRE_THAT(puml, IsLayoutHint(_A("C"), "left", _A("B")));
save_puml(
config.output_directory() + "/" + diagram->name + ".puml", puml);
save_puml(config.output_directory(), diagram->name + ".puml", puml);
}
{
@@ -62,6 +61,6 @@ TEST_CASE("t30007", "[test-case][package]")
REQUIRE(IsDependency(j, "A::AA", "B"));
REQUIRE(IsDependency(j, "A::AA", "C"));
save_json(config.output_directory() + "/" + diagram->name + ".json", j);
save_json(config.output_directory(), diagram->name + ".json", j);
}
}