How-to Guides
Task-oriented guides for accomplishing specific goals with py3plex. Each guide answers a single question: “How do I…?” with runnable steps you can copy and run.
Pick the task that matches your question and jump straight to the guide.
This section covers (by topic):
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
Cross-Ecosystem Compatibility — Convert between py3plex and other graph libraries
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
What every guide contains:
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 navigate:
Jump directly to the task you need—each guide is self-contained
Copy-paste examples—they are complete and runnable
Find what to do here; for theory, see Concepts & Explanations
Need API signatures? Go to API & DSL Reference
Use the quick navigation below if you already know the task name