Reorganizing extension.
This commit is contained in:
parent
0def1b82e2
commit
05ea5bfa3f
@ -52,3 +52,11 @@ LePage >> metadata [
|
|||||||
LePage >> options [
|
LePage >> options [
|
||||||
^ options
|
^ options
|
||||||
]
|
]
|
||||||
|
|
||||||
|
{ #category : #'*Grafoscopio-Utils-Core' }
|
||||||
|
LePage >> preorderTraversal [
|
||||||
|
| output |
|
||||||
|
output := OrderedCollection new.
|
||||||
|
self withDeepCollect: [:each | each allChildrenBreadthFirstDo: [:child | output add: child ] ].
|
||||||
|
^ output.
|
||||||
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user