One of the distinctive aspects of Pyplan is the way we organize code through a hierarchical influence diagram, where each node represents a step in the loading, transformation, or processing of information.
Nodes act as visual containers for model logic. In each node we define the underlying Python code in its coding window, either by writing the code directly or by using one of Pyplan’s code assistants to help generate it.
We build the influence diagram by dragging node types from the left palette (Code, Input data, Data reading, Variable, Index, Button, Text, Module, etc.) onto the diagram area and arranging them into flows, as shown in the example.
Dependencies between steps are represented by arrows. These arrows are created automatically when a node’s definition references another node (for example, when the Calculate Wins and Double Faults node uses the Data node as input).
Each node type has a specific color and style. This color scheme lets us quickly understand the role of each node and the structure of the model at a glance.
Ctrl+C (Command+C on Mac): Copy the selected node(s).
Ctrl+X (Command+X on Mac): Cut the selected node(s).
Ctrl+V (Command+V on Mac): Paste copied/cut nodes.
Ctrl+D (Command+D on Mac): Duplicate the selected node(s).
Arrow keys: Move the selected node(s) step by step.
Ctrl+M (Command+M on Mac): Create aliases of the selected node(s).
¶Single selected node shortcuts (Only when exactly one node is selected)
Ctrl+E (Command+E on Mac): Evaluate the selected node (run and expand the code widget – codable nodes only).
Ctrl+R (Command+R on Mac): Run the selected node and expand the result widget (codable nodes only).
Ctrl+H (Command+H on Mac): Navigate to the original node from the selected alias node (alias nodes only).
¶Multiple selected nodes shortcuts (Only when more than one node is selected)
Ctrl+I (Command+I on Mac): Set the width of all selected nodes to match the last selected node.
Ctrl+G (Command+G on Mac): Set the height of all selected nodes to match the last selected node.
Ctrl+Alt+0 (Command+Option+0 on Mac): Set width and height of all selected nodes to match the last selected node.
Ctrl + Arrow keys (Command + Arrow keys on Mac): Align all selected nodes to the corresponding border of the last selected node (for example, Ctrl+Left Arrow aligns all nodes to the left border of the last selected node).