lempiy/flutter_graphite

Order nodes are built

jrheisler opened this issue · 0 comments

I am creating a DirectGraph, and am using this list:

1
1.001
1.001.001
1.001.002
1.002
1.003

but, when the list is being built (nodeBuilder: (ctx, node) { print('line 78 ${node.id}'); ... the order is changed:

line 78 1
line 78 1.001
line 78 1.002
line 78 1.003
line 78 1.001.002
line 78 1.001.001

Note the last two are reversed. How can I change that?

Orpheus-v-0-9-44 (1)