Skip to content

Suppress some nodes? #682

@mikepurvis

Description

@mikepurvis

First, what a lovely tool! Exactly what I was looking for to help communicate to my colleagues what my new and seemingly much more complicated Dockerfile is doing.

I'm wondering if it might make sense to have a command line arg that allows specific nodes on the graph to be suppressed? I have a "logs" stage that collects various output files from all over my build, and the dockerfilegraph layout looks much clearer when that is removed.

It might also make sense to automatically suppress the scratch container. Unlike with a "real" base, multiple stages that independently start from scratch are unlikely to actually have anything to do with each other, so I feel like there could be a special case to hide scratch. Alternatively, each instance of scratch could get its own node, so that scratch -> src, scratch -> logs, scratch -> conf still clearly show where they originate from but they're not coupled visually or in terms of layout.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions