Network Visualization Guide logo

Network Visualization Guide

Community
wentorai
network-visualization-guide

Visualize networks, graphs, citation maps, and relational data

Overview

Publisherwentorai
Repositoryresearch-plugins
Skill namenetwork-visualization-guide
Stars
294
Forks
42
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by wentorai on GitHub. Read the source before you install it.

Installation

Install the Network Visualization Guide AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/wentorai/research-plugins.git /tmp/research-plugins
mkdir -p .claude/skills
cp -r /tmp/research-plugins/skills/analysis/dataviz/network-visualization-guide .claude/skills/network-visualization-guide
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Network Visualization Guide in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Network Visualization Guide on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Network Visualization Guide is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Network Visualization Guide

A skill for visualizing networks, graphs, and relational data in research. Covers NetworkX for analysis, layout algorithms, publication-quality styling, and tools for citation networks, social networks, and knowledge graphs.

Network Basics

When to Use Network Visualization

Network visualization is appropriate when your data involves relationships:
  - Citation networks (papers citing other papers)
  - Co-authorship networks (researchers who collaborate)
  - Social networks (individuals connected by interactions)
  - Biological networks (protein interactions, gene regulation)
  - Knowledge graphs (concepts linked by relationships)
  - Trade/flow networks (countries, organizations, resources)

Key Concepts

Nodes (vertices): The entities in your network
Edges (links):    The relationships between entities
Directed:         Edges have direction (A -> B)
Undirected:       Edges are bidirectional (A -- B)
Weighted:         Edges have a strength or value

Building Networks with NetworkX

Creating and Analyzing a Network

python
import networkx as nx


def build_citation_network(citations: list[tuple]) -> dict:
    """
    Build and analyze a citation network.

    Args:
        citations: List of (citing_paper, cited_paper) tuples
    """
    G = nx.DiGraph()
    G.add_edges_from(citations)

    metrics = {
        "n_nodes": G.number_of_nodes(),
        "n_edges": G.number_of_edges(),
        "density": nx.density(G),
        "most_cited": sorted(
            G.in_degree(), key=lambda x: x[1], reverse=True
        )[:10],
        "most_citing": sorted(
            G.out_degree(), key=lambda x: x[1], reverse=True
        )[:10],
        "connected_components": nx.number_weakly_connected_components(G)
    }

    # PageRank (importance measure)
    pagerank = nx.pagerank(G)
    metrics["top_pagerank"] = sorted(
        pagerank.items(), key=lambda x: x[1], reverse=True
    )[:10]

    return metrics

Visualizing with Matplotlib

python
import matplotlib.pyplot as plt


def plot_network(G: nx.Graph, layout: str = "spring",
                 node_size_attr: str = None,
                 title: str = "Network") -> None:
    """
    Create a publication-quality network visualization.

    Args:
        G: NetworkX graph object
        layout: Layout algorithm (spring, kamada_kawai, circular, spectral)
        node_size_attr: Node attribute to scale node sizes by
        title: Plot title
    """
    layouts = {
        "spring": nx.spring_layout(G, k=1.5, seed=42),
        "kamada_kawai": nx.kamada_kawai_layout(G),
        "circular": nx.circular_layout(G),
        "spectral": nx.spectral_layout(G)
    }
    pos = layouts.get(layout, nx.spring_layout(G, seed=42))

    # Node sizes based on degree if no attribute specified
    if node_size_attr and nx.get_node_attributes(G, node_size_attr):
        sizes = [G.nodes[n].get(node_size_attr, 10) * 50 for n in G.nodes]
    else:
        degrees = dict(G.degree())
        sizes = [degrees[n] * 50 + 20 for n in G.nodes]

    fig, ax = plt.subplots(figsize=(12, 10))

    nx.draw_networkx_edges(G, pos, alpha=0.2, edge_color="gray", ax=ax)
    nx.draw_networkx_nodes(G, pos, node_size=sizes,
                           node_color="steelblue", alpha=0.7, ax=ax)

    # Label only high-degree nodes
    threshold = sorted(dict(G.degree()).values(), reverse=True)[:10][-1]
    labels = {n: n for n, d in G.degree() if d >= threshold}
    nx.draw_networkx_labels(G, pos, labels, font_size=8, ax=ax)

    ax.set_title(title, fontsize=14)
    ax.axis("off")
    plt.tight_layout()
    plt.savefig("network.pdf", bbox_inches="tight", dpi=300)

Layout Algorithm Selection

Choosing the Right Layout

LayoutBest ForProperties
Spring (Fruchterman-Reingold)General purposeClusters emerge naturally
Kamada-KawaiSmall-medium networksMinimizes edge crossings
CircularComparing connectivityAll nodes equidistant from center
SpectralCommunity structureBased on graph Laplacian eigenvectors
Hierarchical (Sugiyama)DAGs, treesTop-down layered layout
Force Atlas 2Large networksGravity-based, good for Gephi

Specialized Tools

Beyond Python

Gephi:
  - Interactive exploration of large networks
  - Force Atlas 2 layout, community detection
  - Export publication-quality SVG/PDF
  - Best for exploratory analysis

VOSviewer:
  - Bibliometric networks (co-citation, co-authorship)
  - Reads Web of Science and Scopus exports directly
  - Density and overlay visualizations
  - Standard tool in bibliometrics research

Cytoscape:
  - Biological network visualization
  - Extensive plugin ecosystem for bioinformatics
  - Pathway analysis and enrichment

D3.js:
  - Interactive web-based network diagrams
  - Full customization via JavaScript
  - Best for interactive publications

Publication Tips

Making Networks Readable

1. Reduce visual clutter:
   - Filter: Show only edges above a weight threshold
   - Aggregate: Collapse clusters into supernodes
   - Prune: Remove isolates and low-degree nodes

2. Use visual encoding meaningfully:
   - Node size = importance (degree, PageRank, citation count)
   - Node color = community/category
   - Edge width = relationship strength
   - Edge color = relationship type

3. Always include:
   - A legend explaining visual encodings
   - Network statistics (N nodes, M edges, density)
   - Description of the layout algorithm used
   - Scale context (what does a node/edge represent?)

For networks with more than 500 nodes, static visualization becomes difficult to read. Consider interactive visualizations for supplementary materials, or show a filtered/aggregated view in the main paper with the full network available online.

Frequently asked questions

What does the Network Visualization Guide AI skill do?

Visualize networks, graphs, citation maps, and relational data

Why use Network Visualization Guide on TypingMind?

Because you install it once and use it with any model. Network Visualization Guide is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Network Visualization Guide in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/wentorai/research-plugins/tree/main/skills/analysis/dataviz/network-visualization-guide. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Network Visualization Guide?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Network Visualization Guide?

As many as you like. As long as a model supports skills, you can use Network Visualization Guide with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Network Visualization Guide AI skill free?

Yes. It is published on GitHub by wentorai under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇