Skip to content

chore: update diagrams and viewer#9

Merged
Frostman merged 1 commit intomasterfrom
pau/fix_diagrams
Jan 27, 2026
Merged

chore: update diagrams and viewer#9
Frostman merged 1 commit intomasterfrom
pau/fix_diagrams

Conversation

@pau-hedgehog
Copy link
Contributor

@pau-hedgehog pau-hedgehog commented Aug 11, 2025

diagrams are now in svg format

viewer in action can be seen here: https://raw.githack.com/githedgehog/lab-ci/pau/fix_diagrams/envs/diagram-viewer.html

@pau-hedgehog pau-hedgehog self-assigned this Aug 11, 2025
@pau-hedgehog
Copy link
Contributor Author

We could enable GitHub Pages in the repo settings

@pau-hedgehog pau-hedgehog marked this pull request as ready for review August 11, 2025 12:52
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the diagram generation and viewer system to use SVG format instead of PNG, and adds support for multiple diagram styles (cisco, hedgehog, and default). The changes include generating new diagram formats, creating SVGs with transparent backgrounds, and implementing an HTML viewer for interactive diagram viewing.

Key changes:

  • Add support for multiple DrawIO diagram styles (cisco, hedgehog, default)
  • Switch from PNG to SVG format generation for all diagram types
  • Implement an HTML viewer generation feature using Go

Reviewed Changes

Copilot reviewed 7 out of 13 changed files in this pull request and generated 2 comments.

File Description
envs/justfile Updates diagram generation commands to create multiple styles and SVG outputs, adds HTML viewer generation
envs/env-ci-1.l/diagrams/spine-leaf/env-ci-1-spine-leaf.mermaid Reorders connection definitions in the generated Mermaid diagram
envs/env-ci-1.l/diagrams/spine-leaf/env-ci-1-spine-leaf.drawio Updates DrawIO diagram with reordered connection elements and labels
envs/env-ci-1.l/diagrams/spine-leaf/env-ci-1-spine-leaf.dot Reorders connection definitions in the DOT format diagram

Copy link
Member

@Frostman Frostman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs a rebase

Signed-off-by: Pau Capdevila <pau@githedgehog.com>
@Frostman Frostman merged commit 73047b0 into master Jan 27, 2026
3 checks passed
@Frostman Frostman deleted the pau/fix_diagrams branch January 27, 2026 04:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants