(d: dict)
| 186 | |
| 187 | @staticmethod |
| 188 | def from_dict(d: dict) -> "EdgeIR": |
| 189 | return EdgeIR(**{k: d.get(k) for k in ( |
| 190 | "edge_type", "from_node", "to_node", "cond_node", "then_entry", |
| 191 | "else_entry", "header", "body_entry", "exit_node", |
| 192 | "fork_node", "branches", "join_node", |
| 193 | )}) |
| 194 | |
| 195 | |
| 196 | # ---------- WorkflowIR ---------- |