Skip to content
Snippets Groups Projects
Commit 365bb132 authored by Cyril Moineau's avatar Cyril Moineau
Browse files

Merge branch 'fix/display/scheduling' into 'main'

[Fix] Mermaid gantt diagram scheduler time axis

See merge request !24
parents cba9f2ca 8ad565d6
No related branches found
No related tags found
1 merge request!24[Fix] Mermaid gantt diagram scheduler time axis
Pipeline #32707 passed
...@@ -207,7 +207,7 @@ void Aidge::SequentialScheduler::forward(bool forwardDims, bool verbose) { ...@@ -207,7 +207,7 @@ void Aidge::SequentialScheduler::forward(bool forwardDims, bool verbose) {
void Aidge::SequentialScheduler::saveSchedulingDiagram(const std::string& fileName) const { void Aidge::SequentialScheduler::saveSchedulingDiagram(const std::string& fileName) const {
FILE* fp = std::fopen((fileName + ".mmd").c_str(), "w"); FILE* fp = std::fopen((fileName + ".mmd").c_str(), "w");
std::fprintf(fp, "gantt\ndateFormat x\naxisFormat %%s ms\n\n"); std::fprintf(fp, "gantt\ndateFormat x\naxisFormat %%Q ms\n\n");
if (!mScheduling.empty()) { if (!mScheduling.empty()) {
const auto globalStart = mScheduling[0].start; const auto globalStart = mScheduling[0].start;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment