How-to Guides
Task-oriented guides for accomplishing specific goals with py3plex. Each guide is focused on a single question: “How do I…?”
This section covers:
Network Operations
How to Load and Build Networks — Create networks from scratch or load from files
How to Export and Serialize Networks — Save networks in various formats
Analysis Tasks
How to Compute Network Statistics — Calculate multilayer metrics and centrality measures
How to Run Community Detection on Multilayer Networks — Find groups of closely connected nodes
How to Simulate Multilayer Dynamics — Model epidemic spread and diffusion processes
How to Run Random Walk Algorithms — Generate network embeddings for machine learning
Visualization
How to Visualize Multilayer Networks — Create publication-ready network diagrams
Query and Transform
How to Query Multilayer Graphs with the SQL-like DSL — Use SQL-like syntax for network queries
How to Find Graph Patterns and Motifs with the Pattern Matching API — Find graph motifs and subgraph patterns
How to Build Analysis Pipelines with Dplyr-style Operations — Chain operations with dplyr-style API
Workflows
How to Reproduce Common Analysis Workflows — Complete analysis recipes and patterns
Reading This Section
Structure of each guide:
Goal: What you’ll accomplish
Prerequisites: What you need to know first
Steps: Concrete, actionable instructions with code
Expected output: What you should see
Next steps: Links to related concepts and references
How to use these guides:
Each guide is self-contained — you can jump directly to the task you need
Code examples are complete and runnable — copy-paste and run
Guides focus on what to do, not why — for theory, see Concepts & Explanations
For API details, see API & DSL Reference