mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
Merge pull request #26114 from ClickHouse/dargejs-compatibility
Make graph pipeline rendering compatible with Dagre.JS
This commit is contained in:
commit
581e79ced9
@ -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;
|
||||||
|
@ -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
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user