Repository navigation
Description
Before submitting
- I read the known problems in STATUS.md and searched open and closed issues.
- I removed credentials, private paths and files I cannot share, also from any graph file I attach.
Program
From the source code
Area
Graph files (open and save)
Observed behavior
Opening the file raises
AttributeError: 'RerouteNode' object has no attribute 'get_pin_by_name_and_direction'.
Source-derived, not observed: the open stops at the first connection that has a reroute node, so
the later connections and the groups are not made.
Reproduction
Run through the editor window (window.file_ops.load) with the Qt windows hidden, not by hand on
the desktop. Ran once; failed once. The test test_reroute_graph_opens_again in
tests/test_reroute_data.py does the same save and open (now marked xfail).
- Save the graph file below as
reroute_data.md. - Open it with File > Open.
The file has three nodes: A, B and a reroute node between the output of A and the input
of B. It was written in code with graph.serialize() and save_flow_file, not with Save.
Source-derived: Save writes the file with the same two steps, graph.serialize() and
FlowFormatHandler.data_to_markdown, and adds the dependencies.
reroute_data.md
# Reroute data
## Node: A (ID: 1a4571b7-2aeb-4776-aad5-075165612f54)
### Metadata
```json
{
"uuid": "1a4571b7-2aeb-4776-aad5-075165612f54",
"title": "A",
"pos": [
0.0,
0.0
],
"size": [
250,
150
],
"colors": {
"title": "#2a2a2a",
"body": "#141414"
},
"gui_state": {}
}
```
### Logic
```python
@node_entry
def a() -> str:
return 'hello'
```
## Node: B (ID: aed01032-8883-4c4d-bb31-20ef9e643517)
### Metadata
```json
{
"uuid": "aed01032-8883-4c4d-bb31-20ef9e643517",
"title": "B",
"pos": [
400.0,
0.0
],
"size": [
329.0,
150
],
"colors": {
"title": "#2a2a2a",
"body": "#141414"
},
"gui_state": {}
}
```
### Logic
```python
@node_entry
def b(v: str) -> str:
print('B got', repr(v))
return v
```
## Node: (ID: aa8ba646-375f-4ffe-ad52-c7d88c6d12c1)
### Metadata
```json
{
"uuid": "aa8ba646-375f-4ffe-ad52-c7d88c6d12c1",
"title": "",
"pos": [
200.0,
100.0
],
"size": [
200,
150
],
"is_reroute": true,
"colors": {},
"gui_state": {}
}
```
### Logic
```python
```
## Connections
```json
[
{
"start_node_uuid": "1a4571b7-2aeb-4776-aad5-075165612f54",
"start_pin_uuid": "e2a4ac20-e159-4946-a996-2349a86b5286",
"start_pin_name": "exec_out",
"end_node_uuid": "aed01032-8883-4c4d-bb31-20ef9e643517",
"end_pin_uuid": "4bb30d2c-9d75-4584-8252-8a1bf09abf4a",
"end_pin_name": "exec_in"
},
{
"start_node_uuid": "1a4571b7-2aeb-4776-aad5-075165612f54",
"start_pin_uuid": "f03f727b-fddd-44ac-a0f2-974fdfe93f86",
"start_pin_name": "output_1",
"end_node_uuid": "aa8ba646-375f-4ffe-ad52-c7d88c6d12c1",
"end_pin_uuid": "91357465-7bc7-4cd4-9d0e-89ea5fe8e50e",
"end_pin_name": "input"
},
{
"start_node_uuid": "aa8ba646-375f-4ffe-ad52-c7d88c6d12c1",
"start_pin_uuid": "195b07a7-59fd-462e-9ad2-13bf63ecda8c",
"start_pin_name": "output",
"end_node_uuid": "aed01032-8883-4c4d-bb31-20ef9e643517",
"end_pin_uuid": "d1c4da43-eacb-4042-8fb3-2f7e5279cc91",
"end_pin_name": "v"
}
]
```Expected behavior
The graph opens with its 3 nodes and 3 connections.
Impact
Every saved graph that has a connected reroute node. The data in the file is complete; the
editor cannot read it back.
Build
From the source code, commit c04d1b2 with the uncommitted changes of the repository upgrade.
The same call is in src/core/node_graph.py at commit c04d1b2 (source-derived, not run).
System
Windows 11, Python 3.13.14, PySide6 6.12.0.
Evidence
- Observed:
AttributeErrorfromNodeGraph.deserialize. - Source-derived:
NodeGraph.deserializeinsrc/pyflowgraph/core/node_graph.pycalls
get_pin_by_name_and_directionon the start node and the end node of each connection.
Nodehas this method;RerouteNodehas onlyget_pin_by_name. - Source-derived: paste does not use this code; it uses
get_pin_by_name. - Proposed check: give
RerouteNodeaget_pin_by_name_and_direction, or look up the reroute
pins by name indeserialize.
Reported by
Claude Code agent (Claude Opus 5.5). Not yet reviewed by a person.
Metadata
Metadata
Assignees
Labels
Projects
- StatusShow more project fieldsDone
Activity
bhowiebkr commentedon Nov 15, 2026
Fixed in 5316e8c. A graph file with a connected reroute node opens again. Checked by test_reroute_graph_opens_again in tests/test_reroute_data.py; all test files pass with tools/run_tests.py on Python 3.13 and 3.11.