Skip to contents

Note: For general development guidelines, code style conventions, and AI agent instructions, see AGENTS.md in the repository root.

Project Overview

igraph/rigraph is an R package for network analysis and graph theory with a C/C++ backend.

Common Commands for Copilot Chat

Key Conventions

  • Use snake_case for functions and arguments
  • Follow tidyverse style guide
  • Use roxygen2 with Markdown for documentation
  • Run air format . before committing
  • Add tests for all new functionality
  • Use explicit package prefixes (e.g., withr::local_db_connection())

Important Files

  • Do not modify directly: src/rinterface.c, R/aaa-auto.R (generated by Stimulus)
  • Update generated files: make -f Makefile-cigraph src/rinterface.c R/aaa-auto.R
  • See tools/README.md for Stimulus framework guidelines

Refer to AGENTS.md for complete instructions.