Contents Menu Expand Light mode Dark mode Auto light/dark, in light mode Auto light/dark, in dark mode Skip to content
AiiDA WorkGraph documentation
AiiDA WorkGraph documentation

Contents:

  • Quick Start
  • Installation
  • Tutorials
    • Computational materials science
    • Equation of state (EOS) WorkGraph
  • HowTos
    • Define graph-level inputs and outputs
    • Run tasks in parallel
    • Control flow in WorkGraph
    • Using the Context
    • Run shell commands as a task
    • Run calculations remotely
    • Combine workgraphs
    • Continue a finished workgraph
    • Run async functions as tasks
    • Monitor external events as a task
    • Control task execution order
    • Write error-resistant workflows
    • Write workflow using node-graph programming paradigm
    • Command line interface
    • How to control (pause, play, kill) the task
    • Interoperate with aiida-core components
    • Further reading
  • Migrating from AiiDA Core to Workgraph
    • Convert WorkChain to WorkGraph
    • Error Handling in WorkGraph
  • Concepts
    • Task
    • WorkGraph
    • Sockets
    • Graph Task
  • GUI
    • WorkGraph web UI
  • Development
    • Custom Task
    • Data Serialization
    • Pre-commit and Tests
    • PythonJob to run Python function on a remote computer
    • Engine
    • Map task
  • Gallery
  • Blogs
    • Unlocking Flexibility with AiiDA-WorkGraph
    • Streamline Your Research: Integrate Your Favorite Tools with AiiDA-WorkGraph
  • Frequently Asked Questions
Back to top
View this page
Edit this page

Concepts

Contents:

  • Task
    • Decorator
    • Build from Callable
    • Define a Task
  • WorkGraph
    • Create workgraph
    • Execute the workgraph
    • Graph-level inputs and outputs
    • Context variables
    • WorkGraph engine
  • Sockets
    • Automatic Socket Creation
    • Customizing Output Sockets
    • Socket Types from Python Type Hints
    • Organizing Sockets with Namespaces
  • Graph Task
    • The graph task as a workflow factory
    • Dynamic logic: graph task vs. context managers
    • Nested workflows
    • Handling Input Data Types
Next
Task
Previous
Error Handling in WorkGraph
Copyright © 2023, Xing Wang
Made with Sphinx and @pradyunsg's Furo