.. _gcastle_dag: gcastle_dag --------------- .. rubric:: gCastleDAG .. list-table:: * - Package - `gCastle `__ * - Version - 1.0.3 * - Language - `Python `__ * - Docs - `here `__ * - Paper - :footcite:t:`zhang2021gcastle` * - Graph type - `DAG `__ * - Docker - `bpimages/gcastle:1.0.3 `__ * - Module - `gcastle_dag `__ .. rubric:: Description A graph (DAG) generation module from the gCastle package by :footcite:t:`zhang2021gcastle`. It allows to set the desired number of graph nodes (``n_nodes``) and edges (``n_edges``). Two types of simulated graph types (``method``) are available: Erdos-Renyi (er) and Scale-Free (sf). .. rubric:: Example .. code-block:: json [ { "id": "er_10_10", "n_nodes": 10, "n_edges": 10, "method": "er" } ] .. footbibliography::