Skip to main content

Node Graph plugin for Mkdocs Material

Project description

mkdocs-nodegraph

mkdocs-nodegraph - A Plugin for Visualizing Network Graphs in MkDocs

Summary

mkdocs-nodegraph is a documents network graph visualization plugin for the mkdocs-material.

It allows you to create interactive visualizations of your documentation structure, helping users navigate through topics more easily.

Example

example_image_002.png

YouTube Link


Install

Install with setup.py

python.exe setup.py install

Install with pip

pip install mkdocs-nodegraph

Uninstall with pip

pip uninstall mkdocs-nodegraph


Setup Tags, Node Icon and Color on Markdown File

---
tags:
  - CG
  - 3D software
mdfile_icon: "_sources/svgs/blender.svg"
mdfile_color: "#ea7600"
mdfile_site: "https://www.blender.org/"
---

mdfile_icon -> Node Icon

mdfile_color -> Node Color

mdfile_site -> A website URL that opens on click while holding the Alt key


Click Node

LMB -> Open Node Page

Ctrl + LMB -> Open Node Page in a New Tab

Alt + LMB -> Open the mdfile_site Page from the metadata


mkdocs.yml Configuration

theme:
    # pip install mkdocs-material
    name: material
    # name: readthedocs
    features:
        # - navigation.tabs
        - content.code.copy
    palette:
      # Palette toggle for dark mode
      - media: "(prefers-color-scheme: dark)"
        scheme: slate
        primary: blue
        accent: blue
        toggle:
          icon: material/brightness-7
          name: Switch to light mode
      # Palette toggle for light mode
      - media: "(prefers-color-scheme: light)"
        scheme: default
        primary: blue
        accent: blue
        toggle:
          icon: material/brightness-4
          name: Switch to dark mode

plugins:
    - search
    - offline
    - glightbox:
        skip_classes: 
            - collapse-btn
    - nodegraph:
        graphfile: "nodegraph.html"

After setting up the nodegraph plugin with its graphfile path, you can build your site

mkdocs build 

After building the site, you can click the button to open the graph file.


References


Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mkdocs_nodegraph-0.5.1.tar.gz (22.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mkdocs_nodegraph-0.5.1-py3-none-any.whl (23.3 kB view details)

Uploaded Python 3

File details

Details for the file mkdocs_nodegraph-0.5.1.tar.gz.

File metadata

  • Download URL: mkdocs_nodegraph-0.5.1.tar.gz
  • Upload date:
  • Size: 22.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.6

File hashes

Hashes for mkdocs_nodegraph-0.5.1.tar.gz
Algorithm Hash digest
SHA256 d5f5a0dda2d81dd2d742e73c78ba2edd2d6cdcafd3c3408cede0142c5366d5c8
MD5 cbb62d3043b7e71bd3b4edad947064c3
BLAKE2b-256 6d9a0d1d33b57c464de4e2d15176834fc6a91b82d4e7ed1317a76b3fee2c00c5

See more details on using hashes here.

File details

Details for the file mkdocs_nodegraph-0.5.1-py3-none-any.whl.

File metadata

File hashes

Hashes for mkdocs_nodegraph-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fcc900613fe277cb366da6b274bc0b266d85e706c4f864d222a084b97b8720da
MD5 c02f7a029b4ef0df0439dea49682bc89
BLAKE2b-256 01313f2993bbafc745db51c9356fcf021ef9435ef1030cefcc6faf1f7e7b4ca4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page