Skip to content

enhance: using mermaid output#28

Merged
massiveio merged 1 commit into
masterfrom
feature/develop
Sep 23, 2025
Merged

enhance: using mermaid output#28
massiveio merged 1 commit into
masterfrom
feature/develop

Conversation

@cloorc

@cloorc cloorc commented Sep 23, 2025

Copy link
Copy Markdown
Collaborator

No description provided.

Signed-off-by: Cloorc <wittcnezh@foxmail.com>
Copilot AI review requested due to automatic review settings September 23, 2025 00:54

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 enhances the forest snapshot output format by migrating from a generic graph format to Mermaid diagram syntax for better visualization. The changes consolidate output from separate .graph and .mapping files into a single .mermaid file that can be rendered as flowcharts.

  • Replace graph and mapping file outputs with Mermaid flowchart format
  • Simplify node name generation by removing redundant match type suffixes
  • Update snapshot monitoring to check for .mermaid files instead of .graph files

Reviewed Changes

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

File Description
matcher.go Updates snapshot file extension from .graph to .mermaid in comments and file monitoring
forest.go Refactors node name generation to use simpler format and improves relationship tracking logic
dump.go Converts forest dump output from separate graph/mapping files to single Mermaid flowchart format

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment thread forest.go
Comment thread dump.go
@massiveio massiveio merged commit a16a5c7 into master Sep 23, 2025
2 checks passed
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