Skip to content

[bug]: entry directive does not allow to set entry for some lines #1629

Description

@nschan

Minimized .mmd repro

%%metro title: Example Pipeline
%%metro line: qc | QC | #2dd4bf
%%metro line: main | Main | #c792ea

graph LR
    subgraph input [Input]
        reads[Reads]
    end
    subgraph proc [Processing]
    %%metro entry: bottom | qc
        fastqc[FastQC]
        trim[Trim]
        align[Align]
        fastqc -->|qc,main| trim
        trim -->|main| align
    end
    subgraph results [Results]
        bam[BAM]
    end
    reads -->|qc,main| fastqc
    align -->|main| bam

Render command used

I am using the playground

Expected result

qc should enter section proc from the bottom, while main enters from the left.

Actual result

MixedEntryDirectionError: section 'proc' receives lines from more than one approach direction: bottom (qc), left (main). Routed lines have no arrowheads, so entries from different sides leave the flow direction ambiguous. Feed 'proc' from a single side (align the producers' grid columns so every line enters the same edge), or split it into separate sections.

Suspected subsystem

None

nf-metro version / commit

I am using the playground

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggenomeassemblerFound while rendering the nf-core/genomeassembler metro map

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions