ITADN

Problems with edges and nodes after `()`. ID and "Backward-Pointers" use the same parenthesis syntax

#389Closedrafo 创建于 2022-12-12
R
rafocommented
From your Documentation: Using ID's If your graph uses a lot of pointers, it can be time-consuming to change all your pointers if the text changes in one of your nodes. In this case, you can give your node an ID, and point to the ID instead. An id is declared at the beginning of the line between an opening [ and closing ], and it cannot contain periods. ID's should be unique. ``` [my-id] A long line with text that I will need to change often. Node B (my-id) Node C (my-id) ``` If you change that to: ``` [my-id] A long line with text that I will need to change often. Node B (my-id) Node C (my-id) ``` I would expect `Node C` not to get the edge from `Node B`, but from `(my-id)`. It seems that the syntax `()` makes a problem for the parser because it is also used for **linking backwards** "pointers", right? Apparently, after an indentation after `()`, no node with an edge is created.
关闭于 2023-01-24 2 条评论