Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Feature]: display stages in graph output #10

@t0st

Description

@t0st

Area

Other

Problem or motivation

The Mermaid graph output shows jobs and dependency edges but doesn't group jobs by stage using Mermaid's subgraph feature. This makes it hard to see the stage structure visually.

Proposed solution

Wrap each stage's jobs in a `subgraph` block:


graph LR
    subgraph lint
        lint_go["lint-go"]
        vulncheck["vulncheck"]
    end
    subgraph test
        unit_tests["unit-tests"]
    end
    lint_go --> unit_tests
    vulncheck --> unit_tests


## Files

- `pkg/pisyn/app.go``Graph()`

Alternatives considered

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions