Reorganizing extension.

This commit is contained in:
Offray Vladimir Luna Cárdenas 2022-01-28 15:33:05 -05:00
parent 0def1b82e2
commit 05ea5bfa3f

View File

@ -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.
]