◆ [Date updated: 2021/03/30(Tue) 19:44:43]
■User: mr. developer guy
│https://i.imgur.com/0GRNo1b.png
│
│Making my own Strange world clone
│Can you guys invent confusing but valid trees for me to feed as input
│into this algorithm that generates a "tree view" of a thread?
│You just have to format the list like:
│
│a
│a:b
│a:b:c
│a:b:d
│a:e
│a:e:f
│a:g
│a:g:h
│
│does that make sense? an ID is formed by [parents:]uniqueID
│
│https://i.imgur.com/0GRNo1b.png
│
├■Took me few minutes to understand, but writing a tree was fun - If I did correctly!
││
││1
││1:2
││1:3
││1:3:4
││1:3:4:5
││1:3:4:5:7
││1:3:6
││1:3:6:8
││1:9
││1:9:10
││1:9:10:11
││1:9:12
││1:9:12:13
││1:9:12:13:14
││1:15
││1:16
││1:17
││1:17:18
││1:17:18:19
││1:17:18:19:20
││
││Linkto:2021/03/30(火) 02:39:08
││
│└■ @ 1
│ │ |
│ │ +-@ 1:2
│ │ |
│ │ +-@ 1:3
│ │ | |
│ │ | +-@ 1:3:4
│ │ | | |
│ │ | | L-@ 1:3:4:5
│ │ | | |
│ │ | | L-@ 1:3:4:5:7
│ │ | |
│ │ | L-@ 1:3:6
│ │ | |
│ │ | L-@ 1:3:6:8
│ │ |
│ │ +-@ 1:9
│ │ | |
│ │ | +-@ 1:9:10
│ │ | | |
│ │ | | L-@ 1:9:10:11
│ │ | |
│ │ | L-@ 1:9:12
│ │ | |
│ │ | L-@ 1:9:12:13
│ │ | |
│ │ | L-@ 1:9:12:13:14
│ │ |
│ │ +-@ 1:15
│ │ |
│ │ +-@ 1:16
│ │ |
│ │ L-@ 1:17
│ │ |
│ │ L-@ 1:17:18
│ │ |
│ │ L-@ 1:17:18:19
│ │ |
│ │ L-@ 1:17:18:19:20
│ │
│ │Linkto:2021/03/30(火) 08:26:15
│ │
│ └■User:
│ I understand! Nice!
│
│ Linkto:2021/03/30(火) 18:09:07
│
└■User:
bump
Linkto:2021/03/30(火) 02:39:08
Return