10 lines
193 B
Plaintext
10 lines
193 B
Plaintext
|
add_edge = function(node, parent)
|
||
|
local line = {
|
||
|
type='line',
|
||
|
data={
|
||
|
parent.x + 600/2, parent.y + box_height(parent),
|
||
|
node.x + 600/2, node.y,
|
||
|
},
|
||
|
}
|
||
|
table.insert(Surface, line)
|
||
|
end
|