Merge pull request #26114 from ClickHouse/dargejs-compatibility

Make graph pipeline rendering compatible with Dagre.JS
This commit is contained in:
Maksim Kita 2021-07-09 12:17:33 +03:00 committed by GitHub
commit 581e79ced9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -103,7 +103,7 @@ void printPipelineCompact(const Processors & processors, WriteBuffer & out, bool
out << "digraph\n{\n"; out << "digraph\n{\n";
out << " rankdir=\"LR\";\n"; out << " rankdir=\"LR\";\n";
out << " { node [shape = box]\n"; out << " { node [shape = rect]\n";
/// Nodes // TODO quoting and escaping /// Nodes // TODO quoting and escaping
size_t next_step = 0; size_t next_step = 0;

View File

@ -16,7 +16,7 @@ void printPipeline(const Processors & processors, const Statuses & statuses, Wri
{ {
out << "digraph\n{\n"; out << "digraph\n{\n";
out << " rankdir=\"LR\";\n"; out << " rankdir=\"LR\";\n";
out << " { node [shape = box]\n"; out << " { node [shape = rect]\n";
auto get_proc_id = [](const IProcessor & proc) -> UInt64 auto get_proc_id = [](const IProcessor & proc) -> UInt64
{ {