Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Graph tab #2247

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Graph tab #2247

wants to merge 2 commits into from

Conversation

guillermodotn
Copy link

Type of change

  • New feature (non-breaking change which adds functionality)
    expected)

Description

This PR implements a Graph View tab in the theme, visualizing relationships between tags and posts. This enhancement is based on issue #1953 and provides an intuitive way to explore connections between content.

Key Changes:

  • Added a new Graph View tab to the theme.
  • Uses D3.js to dynamically generate the graph.
  • Displays posts as nodes and tags as linked nodes.
  • You can interact with the graph for better visualization.
  • Added new tags to existing posts to better showcase the graph.

Additional context

This feature enhances content discoverability and provides a visual representation of post relationships.

Fixes: #1953

📸 Screenshot

image

Let me know if you have any suggestions! 🚀 I'll keep refining it over time.

@guillermodotn
Copy link
Author

I'm not really good with frontend, but I like and use this theme. Maybe it doesn't look the best right now, but I hope future changes will help polish it over time.

@guillermodotn
Copy link
Author

Codacy is flagging an issue here: Codacy Issue.

The commit f7e1b92 was made just to remove the error, but Codacy is still flagging the JSON format as incorrect. Therefore, I removed that commit.

@DeanLemans
Copy link
Contributor

thank you! I really hope this PR gets accepted.

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.

add graph view (like obsidian)
2 participants