Shared Smalltalk Workspace http://ws.stfx.eu/

http://ws.stfx.eu/http://ws.stfx.eu/

Doit | Raw | Getting Started Workspace | Home | New
b := RTCircularTreeMapBuilder new.
b shape
	color: Color transparent;
	if: [ :each | each isFile ] fillColor: (Color blue alpha: 0.3);
	borderColor: Color veryLightGray.
b
	baseradius: 400;
	weight: [ :each | 
		each isFile 	
			ifTrue: [each size max: 1]
			ifFalse: [(each allChildren sumNumbers: #size) max: 1 ] ].
b 
	explore: FileLocator documents 
	using: [ :each | each isFile ifFalse: [each children ] ifTrue: [ {} ]]. 
b
THIS SOFTWARE SERVICE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHOR OR SERVICE PROVIDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE SERVICE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE SERVICE.