Fixed incorrect order of input files

This commit is contained in:
Alexander Efremov
2022-08-27 21:48:08 +03:00
parent 8af5c38498
commit 736a8dca23
2 changed files with 20 additions and 1 deletions

View File

@@ -201,7 +201,7 @@ func (n *Node) __getIncomingEdgeMap() map[Label]NodeInfo {
incomingEdgeMap := map[Label]NodeInfo{}
streamMap := getStreamMap(n.streamSpec)
for i, s := range streamMap {
incomingEdgeMap[Label(fmt.Sprintf("%v", i))] = NodeInfo{
incomingEdgeMap[Label(fmt.Sprintf("%06v", i))] = NodeInfo{
Node: s.Node,
Label: s.Label,
Selector: s.Selector,