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.0.tar.gz (22.6 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.0-py3-none-any.whl (23.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mkdocs_nodegraph-0.5.0.tar.gz
  • Upload date:
  • Size: 22.6 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.0.tar.gz
Algorithm Hash digest
SHA256 9d234509d5a902192a34f6e386fb72a4b9b7e08a365112106a7bd7b1fe387cf3
MD5 a0b8411de011f928575496e232c896d7
BLAKE2b-256 d7928a854d2a2e7f4576fc6a9cae2ec7ae7fa52188cb5a8d4c0440bdae2265c0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mkdocs_nodegraph-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 438bb80bf83d5fff9a687d073cc0954bce3399f36289ea9104be825c68a333d5
MD5 723e0339a853dc875a95a786c921b78d
BLAKE2b-256 bd55a4477c1c815dff37682472d70017dffaf6aba1601790f89f3686c63db271

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