' + con.sourceObj.name :\n 'Editor for converter function';\n var window = world.addFramedMorph(editor, title)\n window.align(window.bounds().topCenter(), \n visualConnector.bounds().bottomCenter())\n }],\n ['hide', function() {\n visualConnector.disconnectFromMagnets();\n visualConnector.remove();\n }],\n ['disconnect', function() {\n alertOK('Disconnected ' + visualConnector.con);\n visualConnector.con.visualDisconnect();\n }],\n ['cancel', function() {}],\n ];\n return items;\n }","funcProperties":{"__isSmartRef__":true,"id":174},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"169":{"this":{"__isSmartRef__":true,"id":141},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":170}},"170":{"$super":{"__isSmartRef__":true,"id":171}},"171":{"varMapping":{"__isSmartRef__":true,"id":172},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":173},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"172":{"obj":{"__isSmartRef__":true,"id":141},"name":"morphMenuItems"},"173":{},"174":{},"175":{"x":101,"y":20,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"176":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"177":{"morph":{"__isSmartRef__":true,"id":97},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"178":{"x":59,"y":100,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"179":{"x":64,"y":-14,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"180":{"onFire":{"__isSmartRef__":true,"id":181}},"181":{"varMapping":{"__isSmartRef__":true,"id":182},"source":"function onFire() {\n}","funcProperties":{"__isSmartRef__":true,"id":183},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"182":{"this":{"__isSmartRef__":true,"id":97}},"183":{"timestamp":{"__isSmartRef__":true,"id":184},"user":"meineerde","tags":[]},"184":{"isSerializedDate":true,"string":"Tue Nov 29 2011 20:40:07 GMT+0100 (CET)"},"185":{"submorphs":[],"scripts":[],"id":6499,"shape":{"__isSmartRef__":true,"id":186},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":192},"_MaxTextWidth":140.35493484089704,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":189},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text4","partsBinMetaInfo":{"__isSmartRef__":true,"id":193},"textChunks":[{"__isSmartRef__":true,"id":194}],"charsReplaced":"Timer","lastFindLoc":10,"priorSelectionRange":[5,0],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":196},"renderContextTable":{"__isSmartRef__":true,"id":197},"eventHandler":{"__isSmartRef__":true,"id":198},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":199},"_Align":"center","_MinTextWidth":140.35493484089704,"_MinTextHeight":null,"_ClipMode":"visible","isBeingDragged":false,"layout":{"__isSmartRef__":true,"id":200},"previousSelection":[3,3],"owner":{"__isSmartRef__":true,"id":28},"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"186":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":187},"_Extent":{"__isSmartRef__":true,"id":188},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":189},"renderContextTable":{"__isSmartRef__":true,"id":190},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":191},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"187":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"188":{"x":140.35493484089704,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"189":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"190":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"191":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"192":{"x":36.58000000000001,"y":7.5800000000000125,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"193":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"194":{"style":{"__isSmartRef__":true,"id":195},"morph":{"__isSmartRef__":true,"id":185},"__SourceModuleName__":"Global.lively.morphic.TextCore","chunkOwner":{"__isSmartRef__":true,"id":185},"storedString":"Event Limiter","__LivelyClassName__":"lively.morphic.TextChunk"},"195":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"196":{"x":140.35493484089704,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"197":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"198":{"morph":{"__isSmartRef__":true,"id":185},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"199":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"200":{},"201":{"position":{"__isSmartRef__":true,"id":202},"_Extent":{"__isSmartRef__":true,"id":203},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":204},"_Fill":{"__isSmartRef__":true,"id":205},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":206},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":207},"_BorderRadius":18.87,"_Opacity":1,"_BorderStyle":"hidden","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"202":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"203":{"x":215,"y":130,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"204":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"205":{"r":0.662,"g":0.662,"b":0.662,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"206":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"207":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"208":{"partsSpaceName":"PartsBin/Holger","__SourceModuleName__":"Global.lively.PartsBin","comment":"A simple component which receives events as numerical data. It then checks if the moving average of this data exceeds some upper limit and emits events accordingly.","migrationLevel":4,"partName":"EventsLimiter","changes":[{"__isSmartRef__":true,"id":209}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"209":{"date":{"__isSmartRef__":true,"id":210},"author":"meineerde","message":"Initial Version","id":"6089A5D6-ACC8-492E-87FE-D796C86AEC02"},"210":{"isSerializedDate":true,"string":"Tue Nov 29 2011 21:46:50 GMT+0100 (CET)"},"211":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"212":{"morph":{"__isSmartRef__":true,"id":28},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"213":{"sourceObj":{"__isSmartRef__":true,"id":28},"sourceAttrName":"highEvent","targetObj":{"__isSmartRef__":true,"id":28},"targetMethodName":"emitHighEvent","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"214":{"sourceObj":{"__isSmartRef__":true,"id":28},"sourceAttrName":"lowEvent","targetObj":{"__isSmartRef__":true,"id":28},"targetMethodName":"emitLowEvent","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"215":{"sourceObj":{"__isSmartRef__":true,"id":28},"sourceAttrName":"average","targetObj":{"__isSmartRef__":true,"id":216},"targetMethodName":"addDataAndRender","visualConnector":{"__isSmartRef__":true,"id":1},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"216":{"submorphs":[{"__isSmartRef__":true,"id":217},{"__isSmartRef__":true,"id":260}],"scripts":[],"id":7186,"shape":{"__isSmartRef__":true,"id":384},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"ProtovisDrawing1","partsBinMetaInfo":{"__isSmartRef__":true,"id":392},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":395},"eventHandler":{"__isSmartRef__":true,"id":396},"layout":{"__isSmartRef__":true,"id":397},"priorExtent":{"__isSmartRef__":true,"id":398},"connections":{"__isSmartRef__":true,"id":399},"attributeConnections":[{"__isSmartRef__":true,"id":401},{"__isSmartRef__":true,"id":405},{"__isSmartRef__":true,"id":406},{"__isSmartRef__":true,"id":407},{"__isSmartRef__":true,"id":408}],"doNotSerialize":["$$_Position","$$_Scale","$$_Rotation","$$owner"],"doNotCopyProperties":["$$_Position","$$_Scale","$$_Rotation","$$owner"],"isBeingDragged":false,"scriptAnnotations":{"__isSmartRef__":true,"id":410},"prevScroll":[0,0],"_Position":{"__isSmartRef__":true,"id":413},"_Scale":1.0040100200350561,"_Rotation":0,"owner":{"__isSmartRef__":true,"id":0},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":414},"__LivelyClassName__":"lively.morphic.Box"},"217":{"submorphs":[{"__isSmartRef__":true,"id":218}],"scripts":[],"id":7187,"shape":{"__isSmartRef__":true,"id":233},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":249},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":236},"lighterFill":{"__isSmartRef__":true,"id":250},"label":{"__isSmartRef__":true,"id":218},"attributeConnections":[{"__isSmartRef__":true,"id":259}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","padding":{"__isSmartRef__":true,"id":379},"name":"resetButton","partsBinMetaInfo":{"__isSmartRef__":true,"id":380},"renderContextTable":{"__isSmartRef__":true,"id":381},"eventHandler":{"__isSmartRef__":true,"id":382},"owner":{"__isSmartRef__":true,"id":216},"distanceToDragEvent":{"__isSmartRef__":true,"id":383},"_Rotation":0,"_Scale":1.089423869470782,"__LivelyClassName__":"lively.morphic.Button"},"218":{"submorphs":[],"scripts":[],"id":7188,"shape":{"__isSmartRef__":true,"id":219},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":true,"fixedWidth":true,"_MaxTextWidth":116,"_MaxTextHeight":null,"fixedHeight":true,"allowsInput":false,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":225},"textColor":{"__isSmartRef__":true,"id":222},"owner":{"__isSmartRef__":true,"id":217},"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","textChunks":[{"__isSmartRef__":true,"id":226}],"padding":{"__isSmartRef__":true,"id":228},"_Padding":{"__isSmartRef__":true,"id":229},"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":230},"_FontFamily":"Helvetica, Sans-Serif","renderContextTable":{"__isSmartRef__":true,"id":231},"eventHandler":{"__isSmartRef__":true,"id":232},"_HandStyle":"default","_PointerEvents":"none","_ClipMode":"visible","_WhiteSpaceHandling":"pre-wrap","_Align":"center","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":116,"_MinTextHeight":null,"__LivelyClassName__":"lively.morphic.Text"},"219":{"borderWidth":0,"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":220},"_Extent":{"__isSmartRef__":true,"id":221},"_BorderColor":{"__isSmartRef__":true,"id":222},"renderContextTable":{"__isSmartRef__":true,"id":223},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":224},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"220":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"221":{"x":116,"y":18,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"222":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"223":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"224":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"225":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"226":{"style":{"__isSmartRef__":true,"id":227},"chunkOwner":{"__isSmartRef__":true,"id":218},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"reset","__LivelyClassName__":"lively.morphic.TextChunk"},"227":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"228":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"229":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"230":{"x":116,"y":18,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"231":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"232":{"morph":{"__isSmartRef__":true,"id":218},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"233":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":234},"_Extent":{"__isSmartRef__":true,"id":235},"_Fill":{"__isSmartRef__":true,"id":236},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":246},"_BorderRadius":5,"renderContextTable":{"__isSmartRef__":true,"id":247},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":248},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"234":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"235":{"x":116,"y":20,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"236":{"stops":[{"__isSmartRef__":true,"id":237},{"__isSmartRef__":true,"id":239},{"__isSmartRef__":true,"id":241},{"__isSmartRef__":true,"id":243}],"vector":{"__isSmartRef__":true,"id":245},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"237":{"offset":0,"color":{"__isSmartRef__":true,"id":238}},"238":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"239":{"offset":0.4,"color":{"__isSmartRef__":true,"id":240}},"240":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"241":{"offset":0.6,"color":{"__isSmartRef__":true,"id":242}},"242":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"243":{"offset":1,"color":{"__isSmartRef__":true,"id":244}},"244":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"245":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"246":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"247":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"248":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"249":{"x":116.98227848038027,"y":-225.53994003998997,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"250":{"stops":[{"__isSmartRef__":true,"id":251},{"__isSmartRef__":true,"id":253},{"__isSmartRef__":true,"id":255},{"__isSmartRef__":true,"id":257}],"vector":{"__isSmartRef__":true,"id":245},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"251":{"offset":0,"color":{"__isSmartRef__":true,"id":252}},"252":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"253":{"offset":0.4,"color":{"__isSmartRef__":true,"id":254}},"254":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"255":{"offset":0.6,"color":{"__isSmartRef__":true,"id":256}},"256":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"257":{"offset":1,"color":{"__isSmartRef__":true,"id":258}},"258":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"259":{"sourceObj":{"__isSmartRef__":true,"id":217},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":260},"targetMethodName":"reset","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":378},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"260":{"submorphs":[],"scripts":[],"id":7189,"shape":{"__isSmartRef__":true,"id":261},"droppingEnabled":true,"halosEnabled":true,"data":[5.041750000000002,5.039750000000001,4.977750000000001,4.595250000000001,4.29425,4.17325,3.8545000000000003,3.708000000000001,3.684750000000001,3.969000000000002,4.360500000000002,4.501500000000002,13.370000000000005,12.594999999999999,9.046666666666667,7.280000000000001,6.215999999999999,7.631666666666665,8.77142857142857,7.919999999999998,7.155555555555555,7.088999999999999,1.9599999999999937,1.4749999999999943,3.9399999999999977,11.494999999999997,19.544,23.953333333333333,23.784285714285716,21.30625,19.16,17.453,16.007272727272724,15.320833333333331,15.336923076923075,14.906428571428568,14.010666666666664,13.288124999999997,12.622352941176468,12.003888888888886,11.424210526315786,10.949999999999998,10.708571428571426,11.601363636363633,12.877826086956519,13.03208333333333,12.657199999999998,13.179615384615383,14.589259259259258,15.889642857142857],"doNotSerialize":["vis"],"showsHalos":false,"_Position":{"__isSmartRef__":true,"id":268},"name":"ProtovisMorph","partsBinMetaInfo":{"__isSmartRef__":true,"id":269},"__SourceModuleName__":"Global.apps.ProtoVisInterface","graph":{"__isSmartRef__":true,"id":270},"priorExtent":{"__isSmartRef__":true,"id":302},"layout":{"__isSmartRef__":true,"id":303},"_ClipMode":"visible","renderContextTable":{"__isSmartRef__":true,"id":304},"eventHandler":{"__isSmartRef__":true,"id":305},"attributeConnections":[],"doNotCopyProperties":[],"owner":{"__isSmartRef__":true,"id":216},"distanceToDragEvent":{"__isSmartRef__":true,"id":306},"scriptAnnotations":{"__isSmartRef__":true,"id":307},"isBeingDragged":false,"connections":{"__isSmartRef__":true,"id":322},"maxDataLength":100,"_Rotation":0,"_Scale":0.996005996001,"prevScroll":[0,0],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":324},"__LivelyClassName__":"ProtoVisMorph"},"261":{"position":{"__isSmartRef__":true,"id":262},"_Extent":{"__isSmartRef__":true,"id":263},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_BorderColor":{"__isSmartRef__":true,"id":264},"_BorderWidth":1.484,"_Position":{"__isSmartRef__":true,"id":265},"renderContextTable":{"__isSmartRef__":true,"id":266},"_BorderRadius":0,"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":267},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"262":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"263":{"x":496,"y":493,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"264":{"r":0.572,"g":0.572,"b":0.572,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"265":{"x":6.72295955392093,"y":2.2409865179703843,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"266":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"267":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"268":{"x":-255.14389450453177,"y":-199.38173624485555,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"269":{"migrationLevel":2,"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"270":{"analytics":{"__isSmartRef__":true,"id":271},"animate":{"__isSmartRef__":true,"id":275},"data":{"__isSmartRef__":true,"id":277},"display":{"__isSmartRef__":true,"id":279},"flex":{"__isSmartRef__":true,"id":280},"physics":{"__isSmartRef__":true,"id":281},"query":{"__isSmartRef__":true,"id":282},"scale":{"__isSmartRef__":true,"id":284},"util":{"__isSmartRef__":true,"id":285},"vis":{"__isSmartRef__":true,"id":289}},"271":{"cluster":{"__isSmartRef__":true,"id":272},"graph":{"__isSmartRef__":true,"id":273},"optimization":{"__isSmartRef__":true,"id":274}},"272":{"AgglomerativeCluster":3938,"CommunityStructure":3812,"HierarchicalCluster":6714,"MergeEdge":743},"273":{"BetweennessCentrality":3534,"LinkDistance":5731,"MaxFlowMinCut":7840,"ShortestPaths":5914,"SpanningTree":3416},"274":{"AspectRatioBanker":7074},"275":{"Easing":17010,"FunctionSequence":5842,"interpolate":{"__isSmartRef__":true,"id":276},"ISchedulable":1041,"Parallel":5176,"Pause":449,"Scheduler":5593,"Sequence":5534,"Transition":9201,"Transitioner":19975,"TransitionEvent":1116,"Tween":6006},"276":{"ArrayInterpolator":1983,"ColorInterpolator":2047,"DateInterpolator":1375,"Interpolator":8746,"MatrixInterpolator":2202,"NumberInterpolator":1382,"ObjectInterpolator":1629,"PointInterpolator":1675,"RectangleInterpolator":2042},"277":{"converters":{"__isSmartRef__":true,"id":278},"DataField":1759,"DataSchema":2165,"DataSet":586,"DataSource":3331,"DataTable":772,"DataUtil":3322},"278":{"Converters":721,"DelimitedTextConverter":4294,"GraphMLConverter":9800,"IDataConverter":1314,"JSONConverter":2220},"279":{"DirtySprite":8833,"LineSprite":1732,"RectSprite":3623,"TextSprite":10066},"280":{"FlareVis":4116},"281":{"DragForce":1082,"GravityForce":1336,"IForce":319,"NBodyForce":10498,"Particle":2822,"Simulation":9983,"Spring":2213,"SpringForce":1681},"282":{"AggregateExpression":1616,"And":1027,"Arithmetic":3891,"Average":891,"BinaryExpression":2893,"Comparison":5103,"CompositeExpression":3677,"Count":781,"DateUtil":4141,"Distinct":933,"Expression":5130,"ExpressionIterator":3617,"Fn":3240,"If":2732,"IsA":2039,"Literal":1214,"Match":3748,"Maximum":843,"methods":{"__isSmartRef__":true,"id":283},"Minimum":843,"Not":1554,"Or":970,"Query":13896,"Range":1594,"StringUtil":4130,"Sum":791,"Variable":1124,"Variance":1876,"Xor":1101},"283":{"add":593,"and":330,"average":287,"count":277,"distinct":292,"div":595,"eq":594,"fn":460,"gt":603,"gte":625,"iff":748,"isa":461,"lt":597,"lte":619,"max":283,"min":283,"mod":591,"mul":603,"neq":599,"not":386,"or":323,"orderby":307,"range":772,"select":296,"stddev":363,"sub":600,"sum":280,"update":307,"variance":335,"where":299,"xor":354,"_":264},"284":{"IScaleMap":2105,"LinearScale":1316,"LogScale":3151,"OrdinalScale":3770,"QuantileScale":2435,"QuantitativeScale":4839,"RootScale":1756,"Scale":4268,"ScaleType":1821,"TimeScale":5833},"285":{"Arrays":8258,"Colors":10001,"Dates":8217,"Displays":12555,"Filter":2324,"Geometry":10993,"heap":{"__isSmartRef__":true,"id":286},"IEvaluable":335,"IPredicate":383,"IValueProxy":874,"math":{"__isSmartRef__":true,"id":287},"Maths":17705,"Orientation":1486,"palette":{"__isSmartRef__":true,"id":288},"Property":5559,"Shapes":19118,"Sort":6887,"Stats":6557,"Strings":22026},"286":{"FibonacciHeap":9354,"HeapNode":1233},"287":{"DenseMatrix":3165,"IMatrix":2815,"SparseMatrix":3366},"288":{"ColorPalette":6367,"Palette":1229,"ShapePalette":2059,"SizePalette":2291},"289":{"axis":{"__isSmartRef__":true,"id":290},"controls":{"__isSmartRef__":true,"id":291},"data":{"__isSmartRef__":true,"id":292},"events":{"__isSmartRef__":true,"id":294},"legend":{"__isSmartRef__":true,"id":295},"operator":{"__isSmartRef__":true,"id":296},"Visualization":16540},"290":{"Axes":1302,"Axis":24593,"AxisGridLine":652,"AxisLabel":636,"CartesianAxes":6703},"291":{"AnchorControl":2138,"ClickControl":3824,"Control":1353,"ControlList":4665,"DragControl":2649,"ExpandControl":2832,"HoverControl":4896,"IControl":763,"PanZoomControl":5222,"SelectionControl":7862,"TooltipControl":8435},"292":{"Data":20544,"DataList":19788,"DataSprite":10349,"EdgeSprite":3301,"NodeSprite":19382,"render":{"__isSmartRef__":true,"id":293},"ScaleBinding":11275,"Tree":7147,"TreeBuilder":9930},"293":{"ArrowType":698,"EdgeRenderer":5569,"IRenderer":353,"ShapeRenderer":2247},"294":{"DataEvent":2313,"SelectionEvent":1880,"TooltipEvent":1701,"VisualizationEvent":1117},"295":{"Legend":20859,"LegendItem":4614,"LegendRange":10530},"296":{"distortion":{"__isSmartRef__":true,"id":297},"encoder":{"__isSmartRef__":true,"id":298},"filter":{"__isSmartRef__":true,"id":299},"IOperator":1286,"label":{"__isSmartRef__":true,"id":300},"layout":{"__isSmartRef__":true,"id":301},"Operator":2490,"OperatorList":5248,"OperatorSequence":4190,"OperatorSwitch":2581,"SortOperator":2023},"297":{"BifocalDistortion":4461,"Distortion":6314,"FisheyeDistortion":3444},"298":{"ColorEncoder":3179,"Encoder":4060,"PropertyEncoder":4138,"ShapeEncoder":1690,"SizeEncoder":1830},"299":{"FisheyeTreeFilter":5219,"GraphDistanceFilter":3165,"VisibilityFilter":3509},"300":{"Labeler":9956,"RadialLabeler":3899,"StackedAreaLabeler":3202},"301":{"AxisLayout":6725,"BundledEdgeRouter":3727,"CircleLayout":9317,"CirclePackingLayout":12003,"DendrogramLayout":4853,"ForceDirectedLayout":8411,"IcicleTreeLayout":4864,"IndentedTreeLayout":3174,"Layout":7881,"NodeLinkTreeLayout":12870,"PieLayout":2728,"RadialTreeLayout":12348,"RandomLayout":870,"StackedAreaLayout":9121,"TreeMapLayout":9191},"302":{"x":495,"y":493,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"303":{"resizeWidth":true,"resizeHeight":true,"moveVertical":false,"moveHorizontal":false},"304":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"305":{"morph":{"__isSmartRef__":true,"id":260},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"306":{"x":228.15662601665827,"y":-246.15021578713652,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"307":{"addDataAndRender":{"__isSmartRef__":true,"id":308},"drawAreaChart":{"__isSmartRef__":true,"id":310},"draw":{"__isSmartRef__":true,"id":312},"drawBarChart":{"__isSmartRef__":true,"id":314},"drawPieChart":{"__isSmartRef__":true,"id":316},"setChartType":{"__isSmartRef__":true,"id":318},"reset":{"__isSmartRef__":true,"id":320}},"308":{"time":{"__isSmartRef__":true,"id":309},"user":"robertkrahn"},"309":{"isSerializedDate":true,"string":"Fri Sep 30 2011 16:48:47 GMT+0200 (CEST)"},"310":{"time":{"__isSmartRef__":true,"id":311},"user":"robertkrahn"},"311":{"isSerializedDate":true,"string":"Fri Sep 30 2011 16:50:13 GMT+0200 (CEST)"},"312":{"time":{"__isSmartRef__":true,"id":313},"user":"robertkrahn"},"313":{"isSerializedDate":true,"string":"Fri Sep 30 2011 16:51:31 GMT+0200 (CEST)"},"314":{"time":{"__isSmartRef__":true,"id":315},"user":"robertkrahn"},"315":{"isSerializedDate":true,"string":"Fri Sep 30 2011 16:52:17 GMT+0200 (CEST)"},"316":{"time":{"__isSmartRef__":true,"id":317},"user":"robertkrahn"},"317":{"isSerializedDate":true,"string":"Fri Sep 30 2011 16:52:21 GMT+0200 (CEST)"},"318":{"time":{"__isSmartRef__":true,"id":319},"user":"robertkrahn"},"319":{"isSerializedDate":true,"string":"Fri Sep 30 2011 16:52:24 GMT+0200 (CEST)"},"320":{"time":{"__isSmartRef__":true,"id":321},"user":"robertkrahn"},"321":{"isSerializedDate":true,"string":"Fri Sep 30 2011 16:52:38 GMT+0200 (CEST)"},"322":{"addDataAndRender":{"__isSmartRef__":true,"id":323}},"323":{},"324":{"restoreRenderContextAfterCopy":{"__isSmartRef__":true,"id":325},"draw":{"__isSmartRef__":true,"id":332},"setupExample":{"__isSmartRef__":true,"id":343},"render":{"__isSmartRef__":true,"id":346},"setDataAndRender":{"__isSmartRef__":true,"id":353},"prepareForNewRenderContext":{"__isSmartRef__":true,"id":356},"addDataAndRender":{"__isSmartRef__":true,"id":363},"drawAreaChart":{"__isSmartRef__":true,"id":339},"drawBarChart":{"__isSmartRef__":true,"id":366},"drawPieChart":{"__isSmartRef__":true,"id":369},"setChartType":{"__isSmartRef__":true,"id":372},"reset":{"__isSmartRef__":true,"id":375}},"325":{"varMapping":{"__isSmartRef__":true,"id":326},"source":"function restoreRenderContextAfterCopy(renderCtx) {\n $super(renderCtx);\n lively.bindings.callWhenNotNull(Global, 'pv', this, 'render');\n}","funcProperties":{"__isSmartRef__":true,"id":331},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"326":{"this":{"__isSmartRef__":true,"id":260},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":327}},"327":{"$super":{"__isSmartRef__":true,"id":328}},"328":{"varMapping":{"__isSmartRef__":true,"id":329},"source":"function () {\n\t\t\t\ttry {\n\t\t\t\t\treturn obj.constructor.prototype[name].apply(obj, arguments)\n\t\t\t\t} catch(e) {\n\t\t\t\t\talert('Error in $super call: ' + e + '\\n' + e.stack);\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}","funcProperties":{"__isSmartRef__":true,"id":330},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"329":{"obj":{"__isSmartRef__":true,"id":260},"name":"restoreRenderContextAfterCopy"},"330":{},"331":{},"332":{"varMapping":{"__isSmartRef__":true,"id":333},"source":"function drawAreaChart(w, h) {\n\tw = w - 30;\n\th = h - 25;\n\n\tvar vis = new pv.Panel()\n\t\t.width(w)\n\t\t.height(h)\n\t\t.bottom(20)\n\t\t.left(20)\n\t\t.right(10)\n\t\t.top(5);\n\n\tvar xMin = pv.min(this.data.collect(function(d) {\n\t\t\treturn d instanceof Array ? d[0] : null;\n\t\t})),\n\t\txMax = Math.max(\n\t\t\tthis.data.length - 1,\n\t\t\tpv.max(this.data.collect(function(d) {\n\t\t\t\treturn d instanceof Array ? d[0] : null;\n\t\t\t}))\n\t\t),\n\t\tyVals = this.data.collect(function(d) {\n\t\t\treturn d instanceof Array ? d[1] : d;\n\t\t}),\n\t\tx = (this.xScale ?\n\t\t\t(this.xScale.hasOwnProperty('isWrapper') ? this.xScale(xMax) : this.xScale) :\n\t\t\tpv.Scale.linear(xMin, xMax)\n\t\t).range(0, w),\n\t\ty = (this.yScale ?\n\t\t\t(this.yScale.hasOwnProperty('isWrapper') ? this.yScale(pv.max(yVals)) : this.yScale) :\n\t\t\tpv.Scale.linear(\n\t\t\t\tpv.min(yVals.concat(0)),\n\t\t\t\tpv.max(yVals)\n\t\t\t)\n\t\t).range(0, h);\n\n\tvis.add(pv.Rule)\n\t\t.data(y.ticks())\n\t\t.bottom(y)\n\t\t.strokeStyle(function(d) { return d ? \"#eee\" : \"#000\"; })\n\t.anchor(\"left\").add(pv.Label)\n\t\t.text(this.yFormat || y.tickFormat);\n\n\tvis.add(pv.Rule)\n\t\t.data(x.ticks().length < this.data.length ? x.ticks() : x.ticks(this.data.length))\n\t\t.visible(function(d) { return d != 0; })\n\t\t.left(x)\n\t\t.bottom(-5)\n\t\t.height(5)\n\t.anchor(\"bottom\").add(pv.Label)\n\t .text(this.xFormat || x.tickFormat);\n\n\tvis.add(pv.Area)\n\t\t.def('idx', 0)\n\t\t.data(this.data)\n\t\t.bottom(1)\n\t\t.left(function(d) {\n\t\t\tvar idx = this.idx();\n\n\t\t\tif (d instanceof Array)\n\t\t\t\tidx = d[0];\n\t\t\tthis.idx(idx + 1);\n\t\t\n\t\t\treturn x(idx);\n\t\t})\n\t\t.height(function(d) {\n\t\t\tif (d instanceof Array)\n\t\t\t\td = d[1];\n\t\t\treturn y(d);\n\t\t})\n\t\t.fillStyle(\"rgb(121,173,210)\")\n\t.anchor(\"top\").add(pv.Line)\n\t\t.lineWidth(3);\n\n\treturn vis;\n}","funcProperties":{"__isSmartRef__":true,"id":338},"__SourceModuleName__":"Global","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":342},"__LivelyClassName__":"lively.Closure"},"333":{"this":{"__isSmartRef__":true,"id":260},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":334}},"334":{"$super":{"__isSmartRef__":true,"id":335}},"335":{"varMapping":{"__isSmartRef__":true,"id":336},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":337},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"336":{"obj":{"__isSmartRef__":true,"id":260},"name":"draw"},"337":{},"338":{"hasLivelyClosure":true,"livelyClosure":{"__isSmartRef__":true,"id":339}},"339":{"varMapping":{"__isSmartRef__":true,"id":340},"source":"function drawAreaChart(w, h) {\n\tw = w - 30;\n\th = h - 25;\n\n\tvar vis = new pv.Panel()\n\t\t.width(w)\n\t\t.height(h)\n\t\t.bottom(20)\n\t\t.left(20)\n\t\t.right(10)\n\t\t.top(5);\n\n\tvar xMin = pv.min(this.data.collect(function(d) {\n\t\t\treturn d instanceof Array ? d[0] : null;\n\t\t})),\n\t\txMax = Math.max(\n\t\t\tthis.data.length - 1,\n\t\t\tpv.max(this.data.collect(function(d) {\n\t\t\t\treturn d instanceof Array ? d[0] : null;\n\t\t\t}))\n\t\t),\n\t\tyVals = this.data.collect(function(d) {\n\t\t\treturn d instanceof Array ? d[1] : d;\n\t\t}),\n\t\tx = (this.xScale ?\n\t\t\t(this.xScale.hasOwnProperty('isWrapper') ? this.xScale(xMax) : this.xScale) :\n\t\t\tpv.Scale.linear(xMin, xMax)\n\t\t).range(0, w),\n\t\ty = (this.yScale ?\n\t\t\t(this.yScale.hasOwnProperty('isWrapper') ? this.yScale(pv.max(yVals)) : this.yScale) :\n\t\t\tpv.Scale.linear(\n\t\t\t\tpv.min(yVals.concat(0)),\n\t\t\t\tpv.max(yVals)\n\t\t\t)\n\t\t).range(0, h);\n\n\tvis.add(pv.Rule)\n\t\t.data(y.ticks())\n\t\t.bottom(y)\n\t\t.strokeStyle(function(d) { return d ? \"#eee\" : \"#000\"; })\n\t.anchor(\"left\").add(pv.Label)\n\t\t.text(this.yFormat || y.tickFormat);\n\n\tvis.add(pv.Rule)\n\t\t.data(x.ticks().length < this.data.length ? x.ticks() : x.ticks(this.data.length))\n\t\t.visible(function(d) { return d != 0; })\n\t\t.left(x)\n\t\t.bottom(-5)\n\t\t.height(5)\n\t.anchor(\"bottom\").add(pv.Label)\n\t .text(this.xFormat || x.tickFormat);\n\n\tvis.add(pv.Area)\n\t\t.def('idx', 0)\n\t\t.data(this.data)\n\t\t.bottom(1)\n\t\t.left(function(d) {\n\t\t\tvar idx = this.idx();\n\n\t\t\tif (d instanceof Array)\n\t\t\t\tidx = d[0];\n\t\t\tthis.idx(idx + 1);\n\t\t\n\t\t\treturn x(idx);\n\t\t})\n\t\t.height(function(d) {\n\t\t\tif (d instanceof Array)\n\t\t\t\td = d[1];\n\t\t\treturn y(d);\n\t\t})\n\t\t.fillStyle(\"rgb(121,173,210)\")\n\t.anchor(\"top\").add(pv.Line)\n\t\t.lineWidth(3);\n\n\treturn vis;\n}","funcProperties":{"__isSmartRef__":true,"id":341},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"340":{"this":{"__isSmartRef__":true,"id":260}},"341":{},"342":{"originalFunc":{"__isSmartRef__":true,"id":339}},"343":{"varMapping":{"__isSmartRef__":true,"id":344},"source":"function setupExample() {\n this.graph = {}; \n this.graph.nodes = [\n {nodeName:\"ObjectA\", group:1},\n {nodeName:\"ObjectB\", group:1},\n ];\n this.graph.links = [\n {source:0, target:1, value:1},\n ];\n}","funcProperties":{"__isSmartRef__":true,"id":345},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"344":{"this":{"__isSmartRef__":true,"id":260}},"345":{},"346":{"varMapping":{"__isSmartRef__":true,"id":347},"source":"function render() {\n this.removeDrawing();\n\n var w = this.getExtent().x,\n h = this.getExtent().y;\n this.vis = this.draw(w, h);\n\n var svg = this.renderContext().svgNode;\n if (svg) svg.parentNode.removeChild(svg)\n var svg = NodeFactory.create('svg');\n this.renderContext().shapeNode.appendChild(svg);\n this.renderContext().svgNode = svg;\n this.vis.canvas(svg);\n this.vis.render();\n}","funcProperties":{"__isSmartRef__":true,"id":352},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"347":{"this":{"__isSmartRef__":true,"id":260},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":348}},"348":{"$super":{"__isSmartRef__":true,"id":349}},"349":{"varMapping":{"__isSmartRef__":true,"id":350},"source":"function () {\n\t\t\t\ttry {\n\t\t\t\t\treturn obj.constructor.prototype[name].apply(obj, arguments)\n\t\t\t\t} catch(e) {\n\t\t\t\t\talert('Error in $super call: ' + e + '\\n' + e.stack);\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}","funcProperties":{"__isSmartRef__":true,"id":351},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"350":{"obj":{"__isSmartRef__":true,"id":260},"name":"render"},"351":{},"352":{},"353":{"varMapping":{"__isSmartRef__":true,"id":354},"source":"function setDataAndRender(data) {\n this.data = data;\t\n this.render();\n}","funcProperties":{"__isSmartRef__":true,"id":355},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"354":{"this":{"__isSmartRef__":true,"id":260}},"355":{},"356":{"varMapping":{"__isSmartRef__":true,"id":357},"source":"function prepareForNewRenderContext(renderCtx) {\n $super(renderCtx);\n lively.bindings.callWhenNotNull(Global, 'pv', this, 'render');\n}","funcProperties":{"__isSmartRef__":true,"id":362},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"357":{"this":{"__isSmartRef__":true,"id":260},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":358}},"358":{"$super":{"__isSmartRef__":true,"id":359}},"359":{"varMapping":{"__isSmartRef__":true,"id":360},"source":"function () {\n\t\t\t\ttry {\n\t\t\t\t\treturn obj.constructor.prototype[name].apply(obj, arguments)\n\t\t\t\t} catch(e) {\n\t\t\t\t\talert('Error in $super call: ' + e + '\\n' + e.stack);\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}","funcProperties":{"__isSmartRef__":true,"id":361},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"360":{"obj":{"__isSmartRef__":true,"id":260},"name":"prepareForNewRenderContext"},"361":{},"362":{},"363":{"varMapping":{"__isSmartRef__":true,"id":364},"source":"function addDataAndRender(data) {\n if (data == null) return;\n\n if ((typeof data == 'object') && !(data instanceof Array))\n data = [data.x, data.y];\n\n if (!this.data)\n this.data = [data];\n else {\n if (this.maxDataLength) {\n this.data = this.data.slice(\n this.data.length-this.maxDataLength,this.data.length);\n }\n this.data.push(data);\n }\n\n this.render();\n}","funcProperties":{"__isSmartRef__":true,"id":365},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"364":{"this":{"__isSmartRef__":true,"id":260}},"365":{},"366":{"varMapping":{"__isSmartRef__":true,"id":367},"source":"function drawBarChart(w, h) {\n\tvar vis = new pv.Panel()\n\t\t.width(w)\n\t\t.height(h);\n\n\tvar yRange = pv.range(\n\t\tpv.min(this.data.concat(0)),\n\t\tpv.max(this.data), 5);\n\n\tvar leftPadding = 15,\n\t\teach_w = Math.floor(((w - leftPadding) / this.data.length) * 4 / 5),\n\t\teach_p = Math.ceil(each_w / 4)\n\t\teach_h = h / 20;\n\n\tvis.add(pv.Rule)\n\t\t.data(yRange)\n\t\t.bottom(function(d) { return d * each_h + .5; })\n\t.add(pv.Label);\n\n\tvis.add(pv.Bar)\n\t\t.data(this.data)\n\t\t.width(each_w)\n\t\t.height(function(d) { return d * each_h; })\n\t\t.bottom(0)\n\t\t.left(function() { return this.index * (each_w + each_p) + each_p / 2 + leftPadding; })\n\t\t.event(\"mouseover\", function() { console.log($A(arguments)); })\n\t.anchor(\"bottom\").add(pv.Label);\n\n\treturn vis;\n}","funcProperties":{"__isSmartRef__":true,"id":368},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"367":{"this":{"__isSmartRef__":true,"id":260}},"368":{},"369":{"varMapping":{"__isSmartRef__":true,"id":370},"source":"function drawPieChart(w, h) {\n\tvar vis = new pv.Panel()\n\t\t.width(w)\n\t\t.height(h);\n\n\tvar max = Math.min(h, w),\n\t\tr = max / 2,\n\t\ta = pv.Scale.linear(0, pv.sum(this.data)).range(0, 2 * Math.PI);\n\n\tvis.add(pv.Wedge)\n\t\t.data(this.data.sort(pv.reverseOrder))\n\t\t.bottom((max + (h - max)) / 2)\n\t\t.left((max + (w - max)) / 2)\n\t\t.innerRadius(0)\n\t\t.outerRadius(r)\n\t\t.angle(a)\n\t.anchor(\"center\").add(pv.Label)\n\t\t.visible(function(d) { return d > .15; })\n\t\t.textAngle(0);\n\n\treturn vis;\n}","funcProperties":{"__isSmartRef__":true,"id":371},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"370":{"this":{"__isSmartRef__":true,"id":260}},"371":{},"372":{"varMapping":{"__isSmartRef__":true,"id":373},"source":"function setChartType(cType) {\n\tvar chart = this;\n\tif (!chart.vis) {\n\t\talert('Chart type could not be set. Chart is missing!');\n\t\tchart.render();\n\t\treturn;\n\t}\n\n\tswitch (cType.toLowerCase()) {\n\tcase 'bar':\n\t\tchart.drawBarChart.asScriptOf(chart, 'draw');\n\t\tbreak;\n\tcase 'pie':\n\t\tchart.drawPieChart.asScriptOf(chart, 'draw');\n\t\tbreak;\n\tcase 'area':\n\t\tchart.drawAreaChart.asScriptOf(chart, 'draw');\n\t\tbreak;\n\tdefault:\n\t\talert('The chart type \"' + cType + '\" is unknown!');\n\t\treturn;\n\t}\n this.render()\n}","funcProperties":{"__isSmartRef__":true,"id":374},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"373":{"this":{"__isSmartRef__":true,"id":260}},"374":{},"375":{"varMapping":{"__isSmartRef__":true,"id":376},"source":"function reset() {\n this.connections = {addDataAndRender: {}}\n this.data = [5,8,6,12];\n this.maxDataLength = 100;\n this.setChartType('area');\n}","funcProperties":{"__isSmartRef__":true,"id":377},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"376":{"this":{"__isSmartRef__":true,"id":260}},"377":{},"378":{"source":{"__isSmartRef__":true,"id":217},"target":{"__isSmartRef__":true,"id":260}},"379":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"380":{"partsSpaceName":"PartsBin/Inputs/","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"comment":"Simple button. Connect to 'fire' to trigger actions when the button is pressed.","partName":"Button","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"381":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"382":{"morph":{"__isSmartRef__":true,"id":217},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"383":{"x":-172.51423051237225,"y":-256.916125916021,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"384":{"position":{"__isSmartRef__":true,"id":385},"_Extent":{"__isSmartRef__":true,"id":386},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":387},"_Fill":{"__isSmartRef__":true,"id":388},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":389},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_Position":{"__isSmartRef__":true,"id":390},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":391},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"385":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"386":{"x":514.1704110039991,"y":539.0546128281011,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"387":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"388":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"389":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"390":{"x":-261.476262000004,"y":-235.5282360000009,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"391":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"392":{"migrationLevel":4,"partsSpaceName":"PartsBin/Visualization/","__SourceModuleName__":"Global.lively.PartsBin","partName":"ProtovisDrawing","comment":"undefined","changes":[{"__isSmartRef__":true,"id":393}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"393":{"date":{"__isSmartRef__":true,"id":394},"author":"lauritz","message":"fixed origin","id":"02F9CFD6-CCBE-4AD7-8FC3-E34E43DCD949"},"394":{"isSerializedDate":true,"string":"Tue Nov 15 2011 20:25:21 GMT+0100 (CET)"},"395":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"396":{"morph":{"__isSmartRef__":true,"id":216},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"397":{},"398":{"x":514.1704110039991,"y":540.050618823587,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"399":{"addDataAndRender":{"__isSmartRef__":true,"id":400}},"400":{"x":4,"y":3},"401":{"sourceObj":{"__isSmartRef__":true,"id":216},"sourceAttrName":"globalTransform","targetObj":{"__isSmartRef__":true,"id":402},"targetMethodName":"alignToMagnet","dependendConnections":[{"__isSmartRef__":true,"id":405},{"__isSmartRef__":true,"id":406},{"__isSmartRef__":true,"id":407},{"__isSmartRef__":true,"id":408},{"__isSmartRef__":true,"id":405},{"__isSmartRef__":true,"id":406},{"__isSmartRef__":true,"id":407},{"__isSmartRef__":true,"id":408},{"__isSmartRef__":true,"id":405},{"__isSmartRef__":true,"id":406},{"__isSmartRef__":true,"id":407},{"__isSmartRef__":true,"id":408},{"__isSmartRef__":true,"id":405},{"__isSmartRef__":true,"id":406},{"__isSmartRef__":true,"id":407},{"__isSmartRef__":true,"id":408},{"__isSmartRef__":true,"id":405},{"__isSmartRef__":true,"id":406},{"__isSmartRef__":true,"id":407},{"__isSmartRef__":true,"id":408}],"__SourceModuleName__":"Global.lively.bindings.GeometryBindings","__LivelyClassName__":"lively.morphic.GeometryTransformConnection"},"402":{"morph":{"__isSmartRef__":true,"id":1},"index":1,"connectedMagnet":{"__isSmartRef__":true,"id":403},"marker":{"__isSmartRef__":true,"id":2},"markerDirection":"prev","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"403":{"morph":{"__isSmartRef__":true,"id":216},"position":{"__isSmartRef__":true,"id":404},"connectedControlPoints":[{"__isSmartRef__":true,"id":402}],"__SourceModuleName__":"Global.lively.morphic.Connectors","__LivelyClassName__":"lively.morphic.RelativeMagnet"},"404":{"x":-0.5085400801057964,"y":-0.43692833786232416,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"405":{"sourceObj":{"__isSmartRef__":true,"id":216},"sourceAttrName":"_Position","targetObj":{"__isSmartRef__":true,"id":401},"targetMethodName":"signalTarget","dependedBy":{"__isSmartRef__":true,"id":401},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"406":{"sourceObj":{"__isSmartRef__":true,"id":216},"sourceAttrName":"_Scale","targetObj":{"__isSmartRef__":true,"id":401},"targetMethodName":"signalTarget","dependedBy":{"__isSmartRef__":true,"id":401},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"407":{"sourceObj":{"__isSmartRef__":true,"id":216},"sourceAttrName":"_Rotation","targetObj":{"__isSmartRef__":true,"id":401},"targetMethodName":"signalTarget","dependedBy":{"__isSmartRef__":true,"id":401},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"408":{"sourceObj":{"__isSmartRef__":true,"id":216},"sourceAttrName":"owner","targetObj":{"__isSmartRef__":true,"id":401},"targetMethodName":"updateOwners","converter":null,"converterString":"function (newOwner, oldOwner) {\n return [newOwner, oldOwner]\n }","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":409},"dependedBy":{"__isSmartRef__":true,"id":401},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"409":{"source":{"__isSmartRef__":true,"id":216},"target":{"__isSmartRef__":true,"id":401}},"410":{"reset":{"__isSmartRef__":true,"id":411}},"411":{"time":{"__isSmartRef__":true,"id":412},"user":"robertkrahn"},"412":{"isSerializedDate":true,"string":"Fri Sep 30 2011 16:27:14 GMT+0200 (CEST)"},"413":{"x":292,"y":611,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"414":{"addDataAndRender":{"__isSmartRef__":true,"id":415},"reset":{"__isSmartRef__":true,"id":418},"prepareForNewRenderContext":{"__isSmartRef__":true,"id":421},"setupConnections":{"__isSmartRef__":true,"id":428}},"415":{"varMapping":{"__isSmartRef__":true,"id":416},"source":"function addDataAndRender(data) {\n this.get('ProtovisMorph').addDataAndRender(data)\n}","funcProperties":{"__isSmartRef__":true,"id":417},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"416":{"this":{"__isSmartRef__":true,"id":216}},"417":{},"418":{"varMapping":{"__isSmartRef__":true,"id":419},"source":"function reset() {\n this.connections = {addDataAndRender: {x: 4, y: 3}}\n this.get('ProtovisMorph').reset();\n}","funcProperties":{"__isSmartRef__":true,"id":420},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"419":{"this":{"__isSmartRef__":true,"id":216}},"420":{},"421":{"varMapping":{"__isSmartRef__":true,"id":422},"source":"function prepareForNewRenderContext(renderCtx) {\n $super(renderCtx);\n lively.bindings.callWhenNotNull(Global, 'pv', this.get('ProtovisMorph'), 'render');\n}","funcProperties":{"__isSmartRef__":true,"id":427},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"422":{"this":{"__isSmartRef__":true,"id":216},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":423}},"423":{"$super":{"__isSmartRef__":true,"id":424}},"424":{"varMapping":{"__isSmartRef__":true,"id":425},"source":"function () {\n\t\t\t\ttry {\n\t\t\t\t\treturn obj.constructor.prototype[name].apply(obj, arguments)\n\t\t\t\t} catch(e) {\n\t\t\t\t\talert('Error in $super call: ' + e + '\\n' + e.stack);\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}","funcProperties":{"__isSmartRef__":true,"id":426},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"425":{"obj":{"__isSmartRef__":true,"id":216},"name":"prepareForNewRenderContext"},"426":{},"427":{},"428":{"varMapping":{"__isSmartRef__":true,"id":429},"source":"function setupConnections() {\n connect(this.get('resetButton'), 'fire', this.get('ProtovisMorph'), 'render',\n {updater: function($upd) { this.targetObj.data = []; $upd() }})\n}","funcProperties":{"__isSmartRef__":true,"id":430},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"429":{"this":{"__isSmartRef__":true,"id":216}},"430":{},"431":{"sourceObj":{"__isSmartRef__":true,"id":28},"sourceAttrName":"globalTransform","targetObj":{"__isSmartRef__":true,"id":26},"targetMethodName":"alignToMagnet","dependendConnections":[{"__isSmartRef__":true,"id":432},{"__isSmartRef__":true,"id":433},{"__isSmartRef__":true,"id":434},{"__isSmartRef__":true,"id":435},{"__isSmartRef__":true,"id":432},{"__isSmartRef__":true,"id":433},{"__isSmartRef__":true,"id":434},{"__isSmartRef__":true,"id":435},{"__isSmartRef__":true,"id":432},{"__isSmartRef__":true,"id":433},{"__isSmartRef__":true,"id":434},{"__isSmartRef__":true,"id":435},{"__isSmartRef__":true,"id":432},{"__isSmartRef__":true,"id":433},{"__isSmartRef__":true,"id":434},{"__isSmartRef__":true,"id":435},{"__isSmartRef__":true,"id":432},{"__isSmartRef__":true,"id":433},{"__isSmartRef__":true,"id":434},{"__isSmartRef__":true,"id":435}],"__SourceModuleName__":"Global.lively.bindings.GeometryBindings","__LivelyClassName__":"lively.morphic.GeometryTransformConnection"},"432":{"sourceObj":{"__isSmartRef__":true,"id":28},"sourceAttrName":"_Position","targetObj":{"__isSmartRef__":true,"id":431},"targetMethodName":"signalTarget","dependedBy":{"__isSmartRef__":true,"id":431},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"433":{"sourceObj":{"__isSmartRef__":true,"id":28},"sourceAttrName":"_Scale","targetObj":{"__isSmartRef__":true,"id":431},"targetMethodName":"signalTarget","dependedBy":{"__isSmartRef__":true,"id":431},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"434":{"sourceObj":{"__isSmartRef__":true,"id":28},"sourceAttrName":"_Rotation","targetObj":{"__isSmartRef__":true,"id":431},"targetMethodName":"signalTarget","dependedBy":{"__isSmartRef__":true,"id":431},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"435":{"sourceObj":{"__isSmartRef__":true,"id":28},"sourceAttrName":"owner","targetObj":{"__isSmartRef__":true,"id":431},"targetMethodName":"updateOwners","converter":null,"converterString":"function (newOwner, oldOwner) {\n return [newOwner, oldOwner]\n }","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":436},"dependedBy":{"__isSmartRef__":true,"id":431},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"436":{"source":{"__isSmartRef__":true,"id":28},"target":{"__isSmartRef__":true,"id":431}},"437":{"sourceObj":{"__isSmartRef__":true,"id":28},"sourceAttrName":"globalTransform","targetObj":{"__isSmartRef__":true,"id":438},"targetMethodName":"alignToMagnet","dependendConnections":[{"__isSmartRef__":true,"id":1070},{"__isSmartRef__":true,"id":1071},{"__isSmartRef__":true,"id":1072},{"__isSmartRef__":true,"id":1073},{"__isSmartRef__":true,"id":1070},{"__isSmartRef__":true,"id":1071},{"__isSmartRef__":true,"id":1072},{"__isSmartRef__":true,"id":1073},{"__isSmartRef__":true,"id":1070},{"__isSmartRef__":true,"id":1071},{"__isSmartRef__":true,"id":1072},{"__isSmartRef__":true,"id":1073},{"__isSmartRef__":true,"id":1070},{"__isSmartRef__":true,"id":1071},{"__isSmartRef__":true,"id":1072},{"__isSmartRef__":true,"id":1073},{"__isSmartRef__":true,"id":1070},{"__isSmartRef__":true,"id":1071},{"__isSmartRef__":true,"id":1072},{"__isSmartRef__":true,"id":1073}],"__SourceModuleName__":"Global.lively.bindings.GeometryBindings","__LivelyClassName__":"lively.morphic.GeometryTransformConnection"},"438":{"morph":{"__isSmartRef__":true,"id":439},"index":1,"connectedMagnet":{"__isSmartRef__":true,"id":27},"marker":{"__isSmartRef__":true,"id":440},"markerDirection":"prev","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"439":{"submorphs":[{"__isSmartRef__":true,"id":440}],"scripts":[],"shape":{"__isSmartRef__":true,"id":454},"id":10089,"renderContextTable":{"__isSmartRef__":true,"id":461},"eventHandler":{"__isSmartRef__":true,"id":462},"droppingEnabled":true,"halosEnabled":true,"owner":{"__isSmartRef__":true,"id":463},"controlPoints":[{"__isSmartRef__":true,"id":964},{"__isSmartRef__":true,"id":438}],"con":{"__isSmartRef__":true,"id":998},"showsMorphMenu":true,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1062},"__LivelyClassName__":"lively.morphic.Path"},"440":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":441},"id":10090,"renderContextTable":{"__isSmartRef__":true,"id":451},"eventHandler":{"__isSmartRef__":true,"id":452},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":453},"owner":{"__isSmartRef__":true,"id":439},"_Rotation":2.2771515960137525,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.Path"},"441":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":442},{"__isSmartRef__":true,"id":443},{"__isSmartRef__":true,"id":444},{"__isSmartRef__":true,"id":445}],"renderContextTable":{"__isSmartRef__":true,"id":446},"_ClipMode":"visible","_Position":{"__isSmartRef__":true,"id":447},"_Extent":{"__isSmartRef__":true,"id":448},"_Padding":{"__isSmartRef__":true,"id":449},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":{"__isSmartRef__":true,"id":450},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"442":{"isAbsolute":true,"x":-12,"y":-6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"443":{"isAbsolute":true,"x":-12,"y":6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"444":{"isAbsolute":true,"x":4,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"445":{"isAbsolute":true,"x":-12,"y":-6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"446":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML","getPathNode":"getPathNodeHTML","setPathElements":"setPathElementsHTML","getPathBounds":"getPathBoundsHTML","getTotalLength":"getTotalLengthHTML","getPointAtTotalLength":"getPointAtTotalLengthHTML"},"447":{"x":-12,"y":-6,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"448":{"x":16,"y":12,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"449":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"450":{"r":0,"g":0,"b":0,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"451":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"452":{"morph":{"__isSmartRef__":true,"id":440},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"453":{"x":171,"y":201,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"454":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":455},{"__isSmartRef__":true,"id":456}],"renderContextTable":{"__isSmartRef__":true,"id":457},"_ClipMode":"visible","_Position":{"__isSmartRef__":true,"id":458},"_Extent":{"__isSmartRef__":true,"id":459},"_Padding":{"__isSmartRef__":true,"id":460},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":12},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"455":{"isAbsolute":true,"x":264,"y":92,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"456":{"isAbsolute":true,"x":171,"y":201,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"457":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML","getPathNode":"getPathNodeHTML","setPathElements":"setPathElementsHTML","getPathBounds":"getPathBoundsHTML","getTotalLength":"getTotalLengthHTML","getPointAtTotalLength":"getPointAtTotalLengthHTML"},"458":{"x":170,"y":91,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"459":{"x":94,"y":110,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"460":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"461":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"462":{"morph":{"__isSmartRef__":true,"id":439},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"463":{"submorphs":[{"__isSmartRef__":true,"id":439},{"__isSmartRef__":true,"id":464},{"__isSmartRef__":true,"id":478}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1045},"id":2958,"renderContextTable":{"__isSmartRef__":true,"id":1052},"eventHandler":{"__isSmartRef__":true,"id":1053},"droppingEnabled":true,"halosEnabled":true,"controlPoints":[{"__isSmartRef__":true,"id":796},{"__isSmartRef__":true,"id":756}],"con":{"__isSmartRef__":true,"id":569},"showsMorphMenu":true,"attributeConnections":[{"__isSmartRef__":true,"id":974},{"__isSmartRef__":true,"id":975},{"__isSmartRef__":true,"id":976},{"__isSmartRef__":true,"id":977},{"__isSmartRef__":true,"id":991},{"__isSmartRef__":true,"id":992},{"__isSmartRef__":true,"id":993},{"__isSmartRef__":true,"id":994},{"__isSmartRef__":true,"id":1009},{"__isSmartRef__":true,"id":1010},{"__isSmartRef__":true,"id":1011},{"__isSmartRef__":true,"id":1012}],"doNotSerialize":["$$_Position","$$_Scale","$$_Rotation","$$owner"],"doNotCopyProperties":["$$_Position","$$_Scale","$$_Rotation","$$owner"],"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","owner":{"__isSmartRef__":true,"id":0},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1054},"__LivelyClassName__":"lively.morphic.Path"},"464":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":465},"id":2959,"renderContextTable":{"__isSmartRef__":true,"id":475},"eventHandler":{"__isSmartRef__":true,"id":476},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":477},"owner":{"__isSmartRef__":true,"id":463},"_Rotation":0.04448815086248811,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.Path"},"465":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":466},{"__isSmartRef__":true,"id":467},{"__isSmartRef__":true,"id":468},{"__isSmartRef__":true,"id":469}],"renderContextTable":{"__isSmartRef__":true,"id":470},"_ClipMode":"visible","_Position":{"__isSmartRef__":true,"id":471},"_Extent":{"__isSmartRef__":true,"id":472},"_Padding":{"__isSmartRef__":true,"id":473},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":{"__isSmartRef__":true,"id":474},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"466":{"isAbsolute":true,"x":-12,"y":-6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"467":{"isAbsolute":true,"x":-12,"y":6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"468":{"isAbsolute":true,"x":4,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"469":{"isAbsolute":true,"x":-12,"y":-6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"470":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML","getPathNode":"getPathNodeHTML","setPathElements":"setPathElementsHTML","getPathBounds":"getPathBoundsHTML","getTotalLength":"getTotalLengthHTML","getPointAtTotalLength":"getPointAtTotalLengthHTML"},"471":{"x":-12,"y":-6,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"472":{"x":16,"y":12,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"473":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"474":{"r":0,"g":0,"b":0,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"475":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"476":{"morph":{"__isSmartRef__":true,"id":464},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"477":{"x":500.4752129506844,"y":102.52729105481765,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"478":{"submorphs":[{"__isSmartRef__":true,"id":479},{"__isSmartRef__":true,"id":504}],"scripts":[],"id":2688,"shape":{"__isSmartRef__":true,"id":557},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":565},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":566},"eventHandler":{"__isSmartRef__":true,"id":567},"attributeConnections":[{"__isSmartRef__":true,"id":568},{"__isSmartRef__":true,"id":569},{"__isSmartRef__":true,"id":795},{"__isSmartRef__":true,"id":965},{"__isSmartRef__":true,"id":966},{"__isSmartRef__":true,"id":967},{"__isSmartRef__":true,"id":968},{"__isSmartRef__":true,"id":981},{"__isSmartRef__":true,"id":982},{"__isSmartRef__":true,"id":983},{"__isSmartRef__":true,"id":984},{"__isSmartRef__":true,"id":985},{"__isSmartRef__":true,"id":998},{"__isSmartRef__":true,"id":1003},{"__isSmartRef__":true,"id":1004},{"__isSmartRef__":true,"id":1005},{"__isSmartRef__":true,"id":1006},{"__isSmartRef__":true,"id":1007}],"doNotSerialize":["$$name","$$resultFromServer","$$_Position","$$_Scale","$$_Rotation","$$owner"],"doNotCopyProperties":["$$name","$$resultFromServer","$$_Position","$$_Scale","$$_Rotation","$$owner"],"layout":{"__isSmartRef__":true,"id":1014},"priorExtent":{"__isSmartRef__":true,"id":1015},"isInLayoutCycle":false,"connections":{"__isSmartRef__":true,"id":1016},"serverURL":{"__isSmartRef__":true,"id":1019},"isBeingDragged":false,"name":"ServerPart","resultFromServer":"Linux 2.6.32-5-amd64 (lively) \t11/30/11 \t_x86_64_\t(2 CPU)\n\n18:25:37 CPU %usr %nice %sys %iowait %irq %soft %steal %guest %idle\n18:25:38 all 50.50 0.00 0.50 0.00 0.00 0.00 0.00 0.00 49.00\n18:25:38 0 37.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 62.00\n18:25:38 1 65.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 35.00\n\nAverage: CPU %usr %nice %sys %iowait %irq %soft %steal %guest %idle\nAverage: all 50.50 0.00 0.50 0.00 0.00 0.00 0.00 0.00 49.00\nAverage: 0 37.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 62.00\nAverage: 1 65.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 35.00\n","_Position":{"__isSmartRef__":true,"id":1020},"_Scale":1,"_Rotation":0,"owner":{"__isSmartRef__":true,"id":463},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1021},"__LivelyClassName__":"lively.morphic.Box"},"479":{"submorphs":[],"scripts":[],"id":2689,"shape":{"__isSmartRef__":true,"id":480},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":486},"_MaxTextWidth":161.12746528553419,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":483},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"nameLabel","partsBinMetaInfo":{"__isSmartRef__":true,"id":487},"textChunks":[{"__isSmartRef__":true,"id":488}],"charsReplaced":"ServerPart","lastFindLoc":10,"priorSelectionRange":[2,2],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":490},"attributeConnections":[{"__isSmartRef__":true,"id":491},{"__isSmartRef__":true,"id":492}],"doNotSerialize":["$$owner","$$savedTextString"],"doNotCopyProperties":["$$owner","$$savedTextString"],"isInputLine":true,"renderContextTable":{"__isSmartRef__":true,"id":493},"eventHandler":{"__isSmartRef__":true,"id":494},"oldOwner":{"__isSmartRef__":true,"id":478},"_Align":"center","layout":{"__isSmartRef__":true,"id":495},"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":496},"_ClipMode":"visible","_MinTextWidth":161.12746528553419,"_MinTextHeight":null,"previousSelection":[3,3],"_Rotation":0,"_Scale":0.9999999999999997,"owner":{"__isSmartRef__":true,"id":478},"savedTextString":"TopLeft","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":497},"__LivelyClassName__":"lively.morphic.Text"},"480":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":481},"_Extent":{"__isSmartRef__":true,"id":482},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":483},"renderContextTable":{"__isSmartRef__":true,"id":484},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":485},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"481":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"482":{"x":161.12746528553419,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"483":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"484":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"485":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"486":{"x":-79,"y":-51,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"487":{"partsSpaceName":"PartsBin/Widgets/","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"comment":"Label that shows the name of a morph. Updates automatically.","partName":"NameLabel","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"488":{"style":{"__isSmartRef__":true,"id":489},"chunkOwner":{"__isSmartRef__":true,"id":479},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"CPU","__LivelyClassName__":"lively.morphic.TextChunk"},"489":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"490":{"x":161.12746528553419,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"491":{"sourceObj":{"__isSmartRef__":true,"id":479},"sourceAttrName":"owner","targetObj":{"__isSmartRef__":true,"id":479},"targetMethodName":"updateLabel","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"492":{"sourceObj":{"__isSmartRef__":true,"id":479},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":479},"targetMethodName":"renameOwner","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"493":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"494":{"morph":{"__isSmartRef__":true,"id":479},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"495":{"resizeHeight":false,"resizeWidth":true},"496":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"497":{"updateLabel":{"__isSmartRef__":true,"id":498},"renameOwner":{"__isSmartRef__":true,"id":501}},"498":{"varMapping":{"__isSmartRef__":true,"id":499},"source":"function updateLabel() {\n\t// observe name changes in owner\n\tif (this.owner !== this.oldOwner) {\n\t\tif (this.oldOwner)\n\t\t\tdisconnect(this.oldOwner, 'name', this, 'updateLabel')\n\t\tif (this.owner)\n\t\t\tconnect(this.owner, 'name', this, 'updateLabel')\n\t\tthis.oldOwner = this.owner\n\t}\n\tvar name = (this.owner ? this.owner.name : \"no owner\")\n\tif (this.textString != name)\n\tthis.setTextString(name)\n}","funcProperties":{"__isSmartRef__":true,"id":500},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"499":{"this":{"__isSmartRef__":true,"id":479}},"500":{},"501":{"varMapping":{"__isSmartRef__":true,"id":502},"source":"function renameOwner(name) {\n\tif (this.owner && this.owner.name != name) {\n\t\talertOK(\"renamed \" + this.owner + \" to \" + name)\n\t\tthis.owner.setName(name);\n\t}\n}","funcProperties":{"__isSmartRef__":true,"id":503},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"502":{"this":{"__isSmartRef__":true,"id":479}},"503":{},"504":{"submorphs":[{"__isSmartRef__":true,"id":505}],"scripts":[],"id":2690,"shape":{"__isSmartRef__":true,"id":520},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":536},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":524},"lighterFill":{"__isSmartRef__":true,"id":537},"label":{"__isSmartRef__":true,"id":505},"name":"runButton","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":546},"attributeConnections":[{"__isSmartRef__":true,"id":547},{"__isSmartRef__":true,"id":548}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","priorExtent":{"__isSmartRef__":true,"id":549},"renderContextTable":{"__isSmartRef__":true,"id":550},"eventHandler":{"__isSmartRef__":true,"id":551},"owner":{"__isSmartRef__":true,"id":478},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":552},"__LivelyClassName__":"lively.morphic.Button"},"505":{"submorphs":[],"scripts":[],"id":2691,"shape":{"__isSmartRef__":true,"id":506},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":512},"_MaxTextWidth":67.13566067881189,"_MaxTextHeight":null,"textStyle":null,"padding":{"__isSmartRef__":true,"id":513},"_Padding":{"__isSmartRef__":true,"id":514},"owner":{"__isSmartRef__":true,"id":504},"isLabel":true,"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","_ClipMode":"hidden","priorExtent":{"__isSmartRef__":true,"id":515},"textChunks":[{"__isSmartRef__":true,"id":516}],"_Align":"center","renderContextTable":{"__isSmartRef__":true,"id":518},"eventHandler":{"__isSmartRef__":true,"id":519},"_HandStyle":"default","_PointerEvents":"none","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":67.13566067881189,"_MinTextHeight":null,"__LivelyClassName__":"lively.morphic.Text"},"506":{"position":{"__isSmartRef__":true,"id":507},"_Extent":{"__isSmartRef__":true,"id":508},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":509},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":510},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":511},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"507":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"508":{"x":67.13566067881189,"y":19.00798003993009,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"509":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"510":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"511":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"512":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"513":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"514":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"515":{"x":67.13566067881189,"y":19.00798003993009,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"516":{"style":{"__isSmartRef__":true,"id":517},"chunkOwner":{"__isSmartRef__":true,"id":505},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"exec","__LivelyClassName__":"lively.morphic.TextChunk"},"517":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"518":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"519":{"morph":{"__isSmartRef__":true,"id":505},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"520":{"position":{"__isSmartRef__":true,"id":521},"_Extent":{"__isSmartRef__":true,"id":522},"_BorderWidth":1.1840000000000002,"_BorderColor":{"__isSmartRef__":true,"id":523},"_Fill":{"__isSmartRef__":true,"id":524},"_BorderRadius":5.2,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":534},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":535},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"521":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"522":{"x":67.13566067881189,"y":19.00798003993009,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"523":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"524":{"stops":[{"__isSmartRef__":true,"id":525},{"__isSmartRef__":true,"id":527},{"__isSmartRef__":true,"id":529},{"__isSmartRef__":true,"id":531}],"vector":{"__isSmartRef__":true,"id":533},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"525":{"offset":0,"color":{"__isSmartRef__":true,"id":526}},"526":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"527":{"offset":0.4,"color":{"__isSmartRef__":true,"id":528}},"528":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"529":{"offset":0.6,"color":{"__isSmartRef__":true,"id":530}},"530":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"531":{"offset":1,"color":{"__isSmartRef__":true,"id":532}},"532":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"533":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"534":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"535":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"536":{"x":-32.00409769663888,"y":-24.000000000000007,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"537":{"stops":[{"__isSmartRef__":true,"id":538},{"__isSmartRef__":true,"id":540},{"__isSmartRef__":true,"id":542},{"__isSmartRef__":true,"id":544}],"vector":{"__isSmartRef__":true,"id":533},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"538":{"offset":0,"color":{"__isSmartRef__":true,"id":539}},"539":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"540":{"offset":0.4,"color":{"__isSmartRef__":true,"id":541}},"541":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"542":{"offset":0.6,"color":{"__isSmartRef__":true,"id":543}},"543":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"544":{"offset":1,"color":{"__isSmartRef__":true,"id":545}},"545":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"546":{"partsSpaceName":"PartsBin/Inputs","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"partName":"ScriptableButton","comment":"Has a script that is called on button press","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"547":{"sourceObj":{"__isSmartRef__":true,"id":504},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":504},"targetMethodName":"onFire","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"548":{"sourceObj":{"__isSmartRef__":true,"id":504},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":478},"targetMethodName":"exec","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"549":{"x":67.13566067881189,"y":19.00798003993009,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"550":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"551":{"morph":{"__isSmartRef__":true,"id":504},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"552":{"onFire":{"__isSmartRef__":true,"id":553}},"553":{"varMapping":{"__isSmartRef__":true,"id":554},"source":"function onFire() {\n}","funcProperties":{"__isSmartRef__":true,"id":555},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"554":{"this":{"__isSmartRef__":true,"id":504}},"555":{"timestamp":{"__isSmartRef__":true,"id":556},"user":"meineerde","tags":[]},"556":{"isSerializedDate":true,"string":"Tue Nov 29 2011 20:43:53 GMT+0100 (CET)"},"557":{"position":{"__isSmartRef__":true,"id":558},"_Extent":{"__isSmartRef__":true,"id":559},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":560},"_Fill":{"__isSmartRef__":true,"id":561},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":562},"_BorderRadius":30.349999999999998,"_Opacity":1,"_BorderStyle":"solid","_Position":{"__isSmartRef__":true,"id":563},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":564},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"558":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"559":{"x":181.12746528553419,"y":67.00798003993009,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"560":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"561":{"r":0.662,"g":0.662,"b":0.662,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"562":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"563":{"x":-89,"y":-61,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"564":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"565":{"partsSpaceName":"PartsBin/Server/","__SourceModuleName__":"Global.lively.PartsBin","comment":"A component that let's you run your code on a nodejs server. Overwrite 'onServerDo'","migrationLevel":2,"partName":"ServerPart","requiredModules":["server.nodejs.RemoteJSInterface"],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"566":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"567":{"morph":{"__isSmartRef__":true,"id":478},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"568":{"sourceObj":{"__isSmartRef__":true,"id":478},"sourceAttrName":"name","targetObj":{"__isSmartRef__":true,"id":479},"targetMethodName":"updateLabel","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"569":{"sourceObj":{"__isSmartRef__":true,"id":478},"sourceAttrName":"resultFromServer","targetObj":{"__isSmartRef__":true,"id":570},"targetMethodName":"addDataAndRender","visualConnector":{"__isSmartRef__":true,"id":463},"converterString":"function converter(string) {\n var table = Strings.tableize(string),\n cpu1 = table[3][10],\n cpu2 = table[4][10];\n return 100-Number(cpu1);\n}\n","__SourceModuleName__":"Global.lively.bindings","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":791},"__LivelyClassName__":"AttributeConnection"},"570":{"submorphs":[{"__isSmartRef__":true,"id":571},{"__isSmartRef__":true,"id":614}],"scripts":[],"id":2844,"shape":{"__isSmartRef__":true,"id":738},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"ProtovisDrawing","partsBinMetaInfo":{"__isSmartRef__":true,"id":746},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":749},"eventHandler":{"__isSmartRef__":true,"id":750},"layout":{"__isSmartRef__":true,"id":751},"priorExtent":{"__isSmartRef__":true,"id":752},"connections":{"__isSmartRef__":true,"id":753},"attributeConnections":[{"__isSmartRef__":true,"id":755},{"__isSmartRef__":true,"id":759},{"__isSmartRef__":true,"id":760},{"__isSmartRef__":true,"id":761},{"__isSmartRef__":true,"id":762}],"doNotSerialize":["$$_Position","$$_Scale","$$_Rotation","$$owner"],"doNotCopyProperties":["$$_Position","$$_Scale","$$_Rotation","$$owner"],"isBeingDragged":false,"scriptAnnotations":{"__isSmartRef__":true,"id":770},"prevScroll":[0,0],"_Position":{"__isSmartRef__":true,"id":773},"_Scale":1.0040100200350561,"_Rotation":0,"owner":{"__isSmartRef__":true,"id":0},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":774},"__LivelyClassName__":"lively.morphic.Box"},"571":{"submorphs":[{"__isSmartRef__":true,"id":572}],"scripts":[],"id":2845,"shape":{"__isSmartRef__":true,"id":587},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":603},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":590},"lighterFill":{"__isSmartRef__":true,"id":604},"label":{"__isSmartRef__":true,"id":572},"attributeConnections":[{"__isSmartRef__":true,"id":613}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","padding":{"__isSmartRef__":true,"id":733},"name":"resetButton","partsBinMetaInfo":{"__isSmartRef__":true,"id":734},"renderContextTable":{"__isSmartRef__":true,"id":735},"eventHandler":{"__isSmartRef__":true,"id":736},"owner":{"__isSmartRef__":true,"id":570},"distanceToDragEvent":{"__isSmartRef__":true,"id":737},"_Rotation":0,"_Scale":1.089423869470782,"__LivelyClassName__":"lively.morphic.Button"},"572":{"submorphs":[],"scripts":[],"id":2846,"shape":{"__isSmartRef__":true,"id":573},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":true,"fixedWidth":true,"_MaxTextWidth":116,"_MaxTextHeight":null,"fixedHeight":true,"allowsInput":false,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":579},"textColor":{"__isSmartRef__":true,"id":576},"owner":{"__isSmartRef__":true,"id":571},"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","textChunks":[{"__isSmartRef__":true,"id":580}],"padding":{"__isSmartRef__":true,"id":582},"_Padding":{"__isSmartRef__":true,"id":583},"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":584},"_FontFamily":"Helvetica, Sans-Serif","renderContextTable":{"__isSmartRef__":true,"id":585},"eventHandler":{"__isSmartRef__":true,"id":586},"_HandStyle":"default","_PointerEvents":"none","_ClipMode":"visible","_WhiteSpaceHandling":"pre-wrap","_Align":"center","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":116,"_MinTextHeight":null,"__LivelyClassName__":"lively.morphic.Text"},"573":{"borderWidth":0,"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":574},"_Extent":{"__isSmartRef__":true,"id":575},"_BorderColor":{"__isSmartRef__":true,"id":576},"renderContextTable":{"__isSmartRef__":true,"id":577},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":578},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"574":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"575":{"x":116,"y":18,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"576":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"577":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"578":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"579":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"580":{"style":{"__isSmartRef__":true,"id":581},"chunkOwner":{"__isSmartRef__":true,"id":572},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"reset","__LivelyClassName__":"lively.morphic.TextChunk"},"581":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"582":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"583":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"584":{"x":116,"y":18,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"585":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"586":{"morph":{"__isSmartRef__":true,"id":572},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"587":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":588},"_Extent":{"__isSmartRef__":true,"id":589},"_Fill":{"__isSmartRef__":true,"id":590},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":600},"_BorderRadius":5,"renderContextTable":{"__isSmartRef__":true,"id":601},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":602},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"588":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"589":{"x":116,"y":20,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"590":{"stops":[{"__isSmartRef__":true,"id":591},{"__isSmartRef__":true,"id":593},{"__isSmartRef__":true,"id":595},{"__isSmartRef__":true,"id":597}],"vector":{"__isSmartRef__":true,"id":599},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"591":{"offset":0,"color":{"__isSmartRef__":true,"id":592}},"592":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"593":{"offset":0.4,"color":{"__isSmartRef__":true,"id":594}},"594":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"595":{"offset":0.6,"color":{"__isSmartRef__":true,"id":596}},"596":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"597":{"offset":1,"color":{"__isSmartRef__":true,"id":598}},"598":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"599":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"600":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"601":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"602":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"603":{"x":116.98227848038027,"y":-225.53994003998997,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"604":{"stops":[{"__isSmartRef__":true,"id":605},{"__isSmartRef__":true,"id":607},{"__isSmartRef__":true,"id":609},{"__isSmartRef__":true,"id":611}],"vector":{"__isSmartRef__":true,"id":599},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"605":{"offset":0,"color":{"__isSmartRef__":true,"id":606}},"606":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"607":{"offset":0.4,"color":{"__isSmartRef__":true,"id":608}},"608":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"609":{"offset":0.6,"color":{"__isSmartRef__":true,"id":610}},"610":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"611":{"offset":1,"color":{"__isSmartRef__":true,"id":612}},"612":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"613":{"sourceObj":{"__isSmartRef__":true,"id":571},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":614},"targetMethodName":"reset","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":732},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"614":{"submorphs":[],"scripts":[],"id":2847,"shape":{"__isSmartRef__":true,"id":615},"droppingEnabled":true,"halosEnabled":true,"data":[1.4699999999999989,1.480000000000004,1.9599999999999937,2.9099999999999966,2.930000000000007,3.980000000000004,3.9399999999999977,1.9599999999999937,1.980000000000004,1.519999999999996,14.780000000000001,18.090000000000003,7.579999999999998,13.370000000000005,11.819999999999993,1.9500000000000028,1.980000000000004,1.9599999999999937,14.709999999999994,15.61,1.9599999999999937,1.0400000000000063,6.489999999999995,1.9599999999999937,0.9899999999999949,8.870000000000005,34.16,51.74,46,22.769999999999996,3.9599999999999937,1.9899999999999949,2.0900000000000034,1.5499999999999972,7.769999999999996,15.530000000000001,9.310000000000002,1.4699999999999989,2.450000000000003,1.9699999999999989,1.4899999999999949,0.9899999999999949,1.9399999999999977,5.8799999999999955,30.349999999999994,40.96,16.58,3.6599999999999966,26.239999999999995,51.24,51],"doNotSerialize":["vis"],"showsHalos":false,"_Position":{"__isSmartRef__":true,"id":622},"name":"ProtovisMorph","partsBinMetaInfo":{"__isSmartRef__":true,"id":623},"__SourceModuleName__":"Global.apps.ProtoVisInterface","graph":{"__isSmartRef__":true,"id":624},"priorExtent":{"__isSmartRef__":true,"id":656},"layout":{"__isSmartRef__":true,"id":657},"_ClipMode":"visible","renderContextTable":{"__isSmartRef__":true,"id":658},"eventHandler":{"__isSmartRef__":true,"id":659},"attributeConnections":[],"doNotCopyProperties":[],"owner":{"__isSmartRef__":true,"id":570},"distanceToDragEvent":{"__isSmartRef__":true,"id":660},"scriptAnnotations":{"__isSmartRef__":true,"id":661},"isBeingDragged":false,"connections":{"__isSmartRef__":true,"id":676},"maxDataLength":100,"_Rotation":0,"_Scale":0.996005996001,"prevScroll":[0,0],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":678},"__LivelyClassName__":"ProtoVisMorph"},"615":{"position":{"__isSmartRef__":true,"id":616},"_Extent":{"__isSmartRef__":true,"id":617},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_BorderColor":{"__isSmartRef__":true,"id":618},"_BorderWidth":1.484,"_Position":{"__isSmartRef__":true,"id":619},"renderContextTable":{"__isSmartRef__":true,"id":620},"_BorderRadius":0,"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":621},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"616":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"617":{"x":496,"y":493,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"618":{"r":0.572,"g":0.572,"b":0.572,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"619":{"x":6.72295955392093,"y":2.2409865179703843,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"620":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"621":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"622":{"x":-255.14389450453177,"y":-199.38173624485555,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"623":{"migrationLevel":2,"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"624":{"analytics":{"__isSmartRef__":true,"id":625},"animate":{"__isSmartRef__":true,"id":629},"data":{"__isSmartRef__":true,"id":631},"display":{"__isSmartRef__":true,"id":633},"flex":{"__isSmartRef__":true,"id":634},"physics":{"__isSmartRef__":true,"id":635},"query":{"__isSmartRef__":true,"id":636},"scale":{"__isSmartRef__":true,"id":638},"util":{"__isSmartRef__":true,"id":639},"vis":{"__isSmartRef__":true,"id":643}},"625":{"cluster":{"__isSmartRef__":true,"id":626},"graph":{"__isSmartRef__":true,"id":627},"optimization":{"__isSmartRef__":true,"id":628}},"626":{"AgglomerativeCluster":3938,"CommunityStructure":3812,"HierarchicalCluster":6714,"MergeEdge":743},"627":{"BetweennessCentrality":3534,"LinkDistance":5731,"MaxFlowMinCut":7840,"ShortestPaths":5914,"SpanningTree":3416},"628":{"AspectRatioBanker":7074},"629":{"Easing":17010,"FunctionSequence":5842,"interpolate":{"__isSmartRef__":true,"id":630},"ISchedulable":1041,"Parallel":5176,"Pause":449,"Scheduler":5593,"Sequence":5534,"Transition":9201,"Transitioner":19975,"TransitionEvent":1116,"Tween":6006},"630":{"ArrayInterpolator":1983,"ColorInterpolator":2047,"DateInterpolator":1375,"Interpolator":8746,"MatrixInterpolator":2202,"NumberInterpolator":1382,"ObjectInterpolator":1629,"PointInterpolator":1675,"RectangleInterpolator":2042},"631":{"converters":{"__isSmartRef__":true,"id":632},"DataField":1759,"DataSchema":2165,"DataSet":586,"DataSource":3331,"DataTable":772,"DataUtil":3322},"632":{"Converters":721,"DelimitedTextConverter":4294,"GraphMLConverter":9800,"IDataConverter":1314,"JSONConverter":2220},"633":{"DirtySprite":8833,"LineSprite":1732,"RectSprite":3623,"TextSprite":10066},"634":{"FlareVis":4116},"635":{"DragForce":1082,"GravityForce":1336,"IForce":319,"NBodyForce":10498,"Particle":2822,"Simulation":9983,"Spring":2213,"SpringForce":1681},"636":{"AggregateExpression":1616,"And":1027,"Arithmetic":3891,"Average":891,"BinaryExpression":2893,"Comparison":5103,"CompositeExpression":3677,"Count":781,"DateUtil":4141,"Distinct":933,"Expression":5130,"ExpressionIterator":3617,"Fn":3240,"If":2732,"IsA":2039,"Literal":1214,"Match":3748,"Maximum":843,"methods":{"__isSmartRef__":true,"id":637},"Minimum":843,"Not":1554,"Or":970,"Query":13896,"Range":1594,"StringUtil":4130,"Sum":791,"Variable":1124,"Variance":1876,"Xor":1101},"637":{"add":593,"and":330,"average":287,"count":277,"distinct":292,"div":595,"eq":594,"fn":460,"gt":603,"gte":625,"iff":748,"isa":461,"lt":597,"lte":619,"max":283,"min":283,"mod":591,"mul":603,"neq":599,"not":386,"or":323,"orderby":307,"range":772,"select":296,"stddev":363,"sub":600,"sum":280,"update":307,"variance":335,"where":299,"xor":354,"_":264},"638":{"IScaleMap":2105,"LinearScale":1316,"LogScale":3151,"OrdinalScale":3770,"QuantileScale":2435,"QuantitativeScale":4839,"RootScale":1756,"Scale":4268,"ScaleType":1821,"TimeScale":5833},"639":{"Arrays":8258,"Colors":10001,"Dates":8217,"Displays":12555,"Filter":2324,"Geometry":10993,"heap":{"__isSmartRef__":true,"id":640},"IEvaluable":335,"IPredicate":383,"IValueProxy":874,"math":{"__isSmartRef__":true,"id":641},"Maths":17705,"Orientation":1486,"palette":{"__isSmartRef__":true,"id":642},"Property":5559,"Shapes":19118,"Sort":6887,"Stats":6557,"Strings":22026},"640":{"FibonacciHeap":9354,"HeapNode":1233},"641":{"DenseMatrix":3165,"IMatrix":2815,"SparseMatrix":3366},"642":{"ColorPalette":6367,"Palette":1229,"ShapePalette":2059,"SizePalette":2291},"643":{"axis":{"__isSmartRef__":true,"id":644},"controls":{"__isSmartRef__":true,"id":645},"data":{"__isSmartRef__":true,"id":646},"events":{"__isSmartRef__":true,"id":648},"legend":{"__isSmartRef__":true,"id":649},"operator":{"__isSmartRef__":true,"id":650},"Visualization":16540},"644":{"Axes":1302,"Axis":24593,"AxisGridLine":652,"AxisLabel":636,"CartesianAxes":6703},"645":{"AnchorControl":2138,"ClickControl":3824,"Control":1353,"ControlList":4665,"DragControl":2649,"ExpandControl":2832,"HoverControl":4896,"IControl":763,"PanZoomControl":5222,"SelectionControl":7862,"TooltipControl":8435},"646":{"Data":20544,"DataList":19788,"DataSprite":10349,"EdgeSprite":3301,"NodeSprite":19382,"render":{"__isSmartRef__":true,"id":647},"ScaleBinding":11275,"Tree":7147,"TreeBuilder":9930},"647":{"ArrowType":698,"EdgeRenderer":5569,"IRenderer":353,"ShapeRenderer":2247},"648":{"DataEvent":2313,"SelectionEvent":1880,"TooltipEvent":1701,"VisualizationEvent":1117},"649":{"Legend":20859,"LegendItem":4614,"LegendRange":10530},"650":{"distortion":{"__isSmartRef__":true,"id":651},"encoder":{"__isSmartRef__":true,"id":652},"filter":{"__isSmartRef__":true,"id":653},"IOperator":1286,"label":{"__isSmartRef__":true,"id":654},"layout":{"__isSmartRef__":true,"id":655},"Operator":2490,"OperatorList":5248,"OperatorSequence":4190,"OperatorSwitch":2581,"SortOperator":2023},"651":{"BifocalDistortion":4461,"Distortion":6314,"FisheyeDistortion":3444},"652":{"ColorEncoder":3179,"Encoder":4060,"PropertyEncoder":4138,"ShapeEncoder":1690,"SizeEncoder":1830},"653":{"FisheyeTreeFilter":5219,"GraphDistanceFilter":3165,"VisibilityFilter":3509},"654":{"Labeler":9956,"RadialLabeler":3899,"StackedAreaLabeler":3202},"655":{"AxisLayout":6725,"BundledEdgeRouter":3727,"CircleLayout":9317,"CirclePackingLayout":12003,"DendrogramLayout":4853,"ForceDirectedLayout":8411,"IcicleTreeLayout":4864,"IndentedTreeLayout":3174,"Layout":7881,"NodeLinkTreeLayout":12870,"PieLayout":2728,"RadialTreeLayout":12348,"RandomLayout":870,"StackedAreaLayout":9121,"TreeMapLayout":9191},"656":{"x":495,"y":493,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"657":{"resizeWidth":true,"resizeHeight":true,"moveVertical":false,"moveHorizontal":false},"658":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"659":{"morph":{"__isSmartRef__":true,"id":614},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"660":{"x":228.15662601665827,"y":-246.15021578713652,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"661":{"addDataAndRender":{"__isSmartRef__":true,"id":662},"drawAreaChart":{"__isSmartRef__":true,"id":664},"draw":{"__isSmartRef__":true,"id":666},"drawBarChart":{"__isSmartRef__":true,"id":668},"drawPieChart":{"__isSmartRef__":true,"id":670},"setChartType":{"__isSmartRef__":true,"id":672},"reset":{"__isSmartRef__":true,"id":674}},"662":{"time":{"__isSmartRef__":true,"id":663},"user":"robertkrahn"},"663":{"isSerializedDate":true,"string":"Fri Sep 30 2011 16:48:47 GMT+0200 (CEST)"},"664":{"time":{"__isSmartRef__":true,"id":665},"user":"robertkrahn"},"665":{"isSerializedDate":true,"string":"Fri Sep 30 2011 16:50:13 GMT+0200 (CEST)"},"666":{"time":{"__isSmartRef__":true,"id":667},"user":"robertkrahn"},"667":{"isSerializedDate":true,"string":"Fri Sep 30 2011 16:51:31 GMT+0200 (CEST)"},"668":{"time":{"__isSmartRef__":true,"id":669},"user":"robertkrahn"},"669":{"isSerializedDate":true,"string":"Fri Sep 30 2011 16:52:17 GMT+0200 (CEST)"},"670":{"time":{"__isSmartRef__":true,"id":671},"user":"robertkrahn"},"671":{"isSerializedDate":true,"string":"Fri Sep 30 2011 16:52:21 GMT+0200 (CEST)"},"672":{"time":{"__isSmartRef__":true,"id":673},"user":"robertkrahn"},"673":{"isSerializedDate":true,"string":"Fri Sep 30 2011 16:52:24 GMT+0200 (CEST)"},"674":{"time":{"__isSmartRef__":true,"id":675},"user":"robertkrahn"},"675":{"isSerializedDate":true,"string":"Fri Sep 30 2011 16:52:38 GMT+0200 (CEST)"},"676":{"addDataAndRender":{"__isSmartRef__":true,"id":677}},"677":{},"678":{"restoreRenderContextAfterCopy":{"__isSmartRef__":true,"id":679},"draw":{"__isSmartRef__":true,"id":686},"setupExample":{"__isSmartRef__":true,"id":697},"render":{"__isSmartRef__":true,"id":700},"setDataAndRender":{"__isSmartRef__":true,"id":707},"prepareForNewRenderContext":{"__isSmartRef__":true,"id":710},"addDataAndRender":{"__isSmartRef__":true,"id":717},"drawAreaChart":{"__isSmartRef__":true,"id":693},"drawBarChart":{"__isSmartRef__":true,"id":720},"drawPieChart":{"__isSmartRef__":true,"id":723},"setChartType":{"__isSmartRef__":true,"id":726},"reset":{"__isSmartRef__":true,"id":729}},"679":{"varMapping":{"__isSmartRef__":true,"id":680},"source":"function restoreRenderContextAfterCopy(renderCtx) {\n $super(renderCtx);\n lively.bindings.callWhenNotNull(Global, 'pv', this, 'render');\n}","funcProperties":{"__isSmartRef__":true,"id":685},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"680":{"this":{"__isSmartRef__":true,"id":614},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":681}},"681":{"$super":{"__isSmartRef__":true,"id":682}},"682":{"varMapping":{"__isSmartRef__":true,"id":683},"source":"function () {\n\t\t\t\ttry {\n\t\t\t\t\treturn obj.constructor.prototype[name].apply(obj, arguments)\n\t\t\t\t} catch(e) {\n\t\t\t\t\talert('Error in $super call: ' + e + '\\n' + e.stack);\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}","funcProperties":{"__isSmartRef__":true,"id":684},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"683":{"obj":{"__isSmartRef__":true,"id":614},"name":"restoreRenderContextAfterCopy"},"684":{},"685":{},"686":{"varMapping":{"__isSmartRef__":true,"id":687},"source":"function drawAreaChart(w, h) {\n\tw = w - 30;\n\th = h - 25;\n\n\tvar vis = new pv.Panel()\n\t\t.width(w)\n\t\t.height(h)\n\t\t.bottom(20)\n\t\t.left(20)\n\t\t.right(10)\n\t\t.top(5);\n\n\tvar xMin = pv.min(this.data.collect(function(d) {\n\t\t\treturn d instanceof Array ? d[0] : null;\n\t\t})),\n\t\txMax = Math.max(\n\t\t\tthis.data.length - 1,\n\t\t\tpv.max(this.data.collect(function(d) {\n\t\t\t\treturn d instanceof Array ? d[0] : null;\n\t\t\t}))\n\t\t),\n\t\tyVals = this.data.collect(function(d) {\n\t\t\treturn d instanceof Array ? d[1] : d;\n\t\t}),\n\t\tx = (this.xScale ?\n\t\t\t(this.xScale.hasOwnProperty('isWrapper') ? this.xScale(xMax) : this.xScale) :\n\t\t\tpv.Scale.linear(xMin, xMax)\n\t\t).range(0, w),\n\t\ty = (this.yScale ?\n\t\t\t(this.yScale.hasOwnProperty('isWrapper') ? this.yScale(pv.max(yVals)) : this.yScale) :\n\t\t\tpv.Scale.linear(\n\t\t\t\tpv.min(yVals.concat(0)),\n\t\t\t\tpv.max(yVals)\n\t\t\t)\n\t\t).range(0, h);\n\n\tvis.add(pv.Rule)\n\t\t.data(y.ticks())\n\t\t.bottom(y)\n\t\t.strokeStyle(function(d) { return d ? \"#eee\" : \"#000\"; })\n\t.anchor(\"left\").add(pv.Label)\n\t\t.text(this.yFormat || y.tickFormat);\n\n\tvis.add(pv.Rule)\n\t\t.data(x.ticks().length < this.data.length ? x.ticks() : x.ticks(this.data.length))\n\t\t.visible(function(d) { return d != 0; })\n\t\t.left(x)\n\t\t.bottom(-5)\n\t\t.height(5)\n\t.anchor(\"bottom\").add(pv.Label)\n\t .text(this.xFormat || x.tickFormat);\n\n\tvis.add(pv.Area)\n\t\t.def('idx', 0)\n\t\t.data(this.data)\n\t\t.bottom(1)\n\t\t.left(function(d) {\n\t\t\tvar idx = this.idx();\n\n\t\t\tif (d instanceof Array)\n\t\t\t\tidx = d[0];\n\t\t\tthis.idx(idx + 1);\n\t\t\n\t\t\treturn x(idx);\n\t\t})\n\t\t.height(function(d) {\n\t\t\tif (d instanceof Array)\n\t\t\t\td = d[1];\n\t\t\treturn y(d);\n\t\t})\n\t\t.fillStyle(\"rgb(121,173,210)\")\n\t.anchor(\"top\").add(pv.Line)\n\t\t.lineWidth(3);\n\n\treturn vis;\n}","funcProperties":{"__isSmartRef__":true,"id":692},"__SourceModuleName__":"Global","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":696},"__LivelyClassName__":"lively.Closure"},"687":{"this":{"__isSmartRef__":true,"id":614},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":688}},"688":{"$super":{"__isSmartRef__":true,"id":689}},"689":{"varMapping":{"__isSmartRef__":true,"id":690},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":691},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"690":{"obj":{"__isSmartRef__":true,"id":614},"name":"draw"},"691":{},"692":{"hasLivelyClosure":true,"livelyClosure":{"__isSmartRef__":true,"id":693}},"693":{"varMapping":{"__isSmartRef__":true,"id":694},"source":"function drawAreaChart(w, h) {\n\tw = w - 30;\n\th = h - 25;\n\n\tvar vis = new pv.Panel()\n\t\t.width(w)\n\t\t.height(h)\n\t\t.bottom(20)\n\t\t.left(20)\n\t\t.right(10)\n\t\t.top(5);\n\n\tvar xMin = pv.min(this.data.collect(function(d) {\n\t\t\treturn d instanceof Array ? d[0] : null;\n\t\t})),\n\t\txMax = Math.max(\n\t\t\tthis.data.length - 1,\n\t\t\tpv.max(this.data.collect(function(d) {\n\t\t\t\treturn d instanceof Array ? d[0] : null;\n\t\t\t}))\n\t\t),\n\t\tyVals = this.data.collect(function(d) {\n\t\t\treturn d instanceof Array ? d[1] : d;\n\t\t}),\n\t\tx = (this.xScale ?\n\t\t\t(this.xScale.hasOwnProperty('isWrapper') ? this.xScale(xMax) : this.xScale) :\n\t\t\tpv.Scale.linear(xMin, xMax)\n\t\t).range(0, w),\n\t\ty = (this.yScale ?\n\t\t\t(this.yScale.hasOwnProperty('isWrapper') ? this.yScale(pv.max(yVals)) : this.yScale) :\n\t\t\tpv.Scale.linear(\n\t\t\t\tpv.min(yVals.concat(0)),\n\t\t\t\tpv.max(yVals)\n\t\t\t)\n\t\t).range(0, h);\n\n\tvis.add(pv.Rule)\n\t\t.data(y.ticks())\n\t\t.bottom(y)\n\t\t.strokeStyle(function(d) { return d ? \"#eee\" : \"#000\"; })\n\t.anchor(\"left\").add(pv.Label)\n\t\t.text(this.yFormat || y.tickFormat);\n\n\tvis.add(pv.Rule)\n\t\t.data(x.ticks().length < this.data.length ? x.ticks() : x.ticks(this.data.length))\n\t\t.visible(function(d) { return d != 0; })\n\t\t.left(x)\n\t\t.bottom(-5)\n\t\t.height(5)\n\t.anchor(\"bottom\").add(pv.Label)\n\t .text(this.xFormat || x.tickFormat);\n\n\tvis.add(pv.Area)\n\t\t.def('idx', 0)\n\t\t.data(this.data)\n\t\t.bottom(1)\n\t\t.left(function(d) {\n\t\t\tvar idx = this.idx();\n\n\t\t\tif (d instanceof Array)\n\t\t\t\tidx = d[0];\n\t\t\tthis.idx(idx + 1);\n\t\t\n\t\t\treturn x(idx);\n\t\t})\n\t\t.height(function(d) {\n\t\t\tif (d instanceof Array)\n\t\t\t\td = d[1];\n\t\t\treturn y(d);\n\t\t})\n\t\t.fillStyle(\"rgb(121,173,210)\")\n\t.anchor(\"top\").add(pv.Line)\n\t\t.lineWidth(3);\n\n\treturn vis;\n}","funcProperties":{"__isSmartRef__":true,"id":695},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"694":{"this":{"__isSmartRef__":true,"id":614}},"695":{},"696":{"originalFunc":{"__isSmartRef__":true,"id":693}},"697":{"varMapping":{"__isSmartRef__":true,"id":698},"source":"function setupExample() {\n this.graph = {}; \n this.graph.nodes = [\n {nodeName:\"ObjectA\", group:1},\n {nodeName:\"ObjectB\", group:1},\n ];\n this.graph.links = [\n {source:0, target:1, value:1},\n ];\n}","funcProperties":{"__isSmartRef__":true,"id":699},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"698":{"this":{"__isSmartRef__":true,"id":614}},"699":{},"700":{"varMapping":{"__isSmartRef__":true,"id":701},"source":"function render() {\n this.removeDrawing();\n\n var w = this.getExtent().x,\n h = this.getExtent().y;\n this.vis = this.draw(w, h);\n\n var svg = this.renderContext().svgNode;\n if (svg) svg.parentNode.removeChild(svg)\n var svg = NodeFactory.create('svg');\n this.renderContext().shapeNode.appendChild(svg);\n this.renderContext().svgNode = svg;\n this.vis.canvas(svg);\n this.vis.render();\n}","funcProperties":{"__isSmartRef__":true,"id":706},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"701":{"this":{"__isSmartRef__":true,"id":614},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":702}},"702":{"$super":{"__isSmartRef__":true,"id":703}},"703":{"varMapping":{"__isSmartRef__":true,"id":704},"source":"function () {\n\t\t\t\ttry {\n\t\t\t\t\treturn obj.constructor.prototype[name].apply(obj, arguments)\n\t\t\t\t} catch(e) {\n\t\t\t\t\talert('Error in $super call: ' + e + '\\n' + e.stack);\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}","funcProperties":{"__isSmartRef__":true,"id":705},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"704":{"obj":{"__isSmartRef__":true,"id":614},"name":"render"},"705":{},"706":{},"707":{"varMapping":{"__isSmartRef__":true,"id":708},"source":"function setDataAndRender(data) {\n this.data = data;\t\n this.render();\n}","funcProperties":{"__isSmartRef__":true,"id":709},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"708":{"this":{"__isSmartRef__":true,"id":614}},"709":{},"710":{"varMapping":{"__isSmartRef__":true,"id":711},"source":"function prepareForNewRenderContext(renderCtx) {\n $super(renderCtx);\n lively.bindings.callWhenNotNull(Global, 'pv', this, 'render');\n}","funcProperties":{"__isSmartRef__":true,"id":716},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"711":{"this":{"__isSmartRef__":true,"id":614},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":712}},"712":{"$super":{"__isSmartRef__":true,"id":713}},"713":{"varMapping":{"__isSmartRef__":true,"id":714},"source":"function () {\n\t\t\t\ttry {\n\t\t\t\t\treturn obj.constructor.prototype[name].apply(obj, arguments)\n\t\t\t\t} catch(e) {\n\t\t\t\t\talert('Error in $super call: ' + e + '\\n' + e.stack);\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}","funcProperties":{"__isSmartRef__":true,"id":715},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"714":{"obj":{"__isSmartRef__":true,"id":614},"name":"prepareForNewRenderContext"},"715":{},"716":{},"717":{"varMapping":{"__isSmartRef__":true,"id":718},"source":"function addDataAndRender(data) {\n if (data == null) return;\n\n if ((typeof data == 'object') && !(data instanceof Array))\n data = [data.x, data.y];\n\n if (!this.data)\n this.data = [data];\n else {\n if (this.maxDataLength) {\n this.data = this.data.slice(\n this.data.length-this.maxDataLength,this.data.length);\n }\n this.data.push(data);\n }\n\n this.render();\n}","funcProperties":{"__isSmartRef__":true,"id":719},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"718":{"this":{"__isSmartRef__":true,"id":614}},"719":{},"720":{"varMapping":{"__isSmartRef__":true,"id":721},"source":"function drawBarChart(w, h) {\n\tvar vis = new pv.Panel()\n\t\t.width(w)\n\t\t.height(h);\n\n\tvar yRange = pv.range(\n\t\tpv.min(this.data.concat(0)),\n\t\tpv.max(this.data), 5);\n\n\tvar leftPadding = 15,\n\t\teach_w = Math.floor(((w - leftPadding) / this.data.length) * 4 / 5),\n\t\teach_p = Math.ceil(each_w / 4)\n\t\teach_h = h / 20;\n\n\tvis.add(pv.Rule)\n\t\t.data(yRange)\n\t\t.bottom(function(d) { return d * each_h + .5; })\n\t.add(pv.Label);\n\n\tvis.add(pv.Bar)\n\t\t.data(this.data)\n\t\t.width(each_w)\n\t\t.height(function(d) { return d * each_h; })\n\t\t.bottom(0)\n\t\t.left(function() { return this.index * (each_w + each_p) + each_p / 2 + leftPadding; })\n\t\t.event(\"mouseover\", function() { console.log($A(arguments)); })\n\t.anchor(\"bottom\").add(pv.Label);\n\n\treturn vis;\n}","funcProperties":{"__isSmartRef__":true,"id":722},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"721":{"this":{"__isSmartRef__":true,"id":614}},"722":{},"723":{"varMapping":{"__isSmartRef__":true,"id":724},"source":"function drawPieChart(w, h) {\n\tvar vis = new pv.Panel()\n\t\t.width(w)\n\t\t.height(h);\n\n\tvar max = Math.min(h, w),\n\t\tr = max / 2,\n\t\ta = pv.Scale.linear(0, pv.sum(this.data)).range(0, 2 * Math.PI);\n\n\tvis.add(pv.Wedge)\n\t\t.data(this.data.sort(pv.reverseOrder))\n\t\t.bottom((max + (h - max)) / 2)\n\t\t.left((max + (w - max)) / 2)\n\t\t.innerRadius(0)\n\t\t.outerRadius(r)\n\t\t.angle(a)\n\t.anchor(\"center\").add(pv.Label)\n\t\t.visible(function(d) { return d > .15; })\n\t\t.textAngle(0);\n\n\treturn vis;\n}","funcProperties":{"__isSmartRef__":true,"id":725},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"724":{"this":{"__isSmartRef__":true,"id":614}},"725":{},"726":{"varMapping":{"__isSmartRef__":true,"id":727},"source":"function setChartType(cType) {\n\tvar chart = this;\n\tif (!chart.vis) {\n\t\talert('Chart type could not be set. Chart is missing!');\n\t\tchart.render();\n\t\treturn;\n\t}\n\n\tswitch (cType.toLowerCase()) {\n\tcase 'bar':\n\t\tchart.drawBarChart.asScriptOf(chart, 'draw');\n\t\tbreak;\n\tcase 'pie':\n\t\tchart.drawPieChart.asScriptOf(chart, 'draw');\n\t\tbreak;\n\tcase 'area':\n\t\tchart.drawAreaChart.asScriptOf(chart, 'draw');\n\t\tbreak;\n\tdefault:\n\t\talert('The chart type \"' + cType + '\" is unknown!');\n\t\treturn;\n\t}\n this.render()\n}","funcProperties":{"__isSmartRef__":true,"id":728},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"727":{"this":{"__isSmartRef__":true,"id":614}},"728":{},"729":{"varMapping":{"__isSmartRef__":true,"id":730},"source":"function reset() {\n this.connections = {addDataAndRender: {}}\n this.data = [5,8,6,12];\n this.maxDataLength = 100;\n this.setChartType('area');\n}","funcProperties":{"__isSmartRef__":true,"id":731},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"730":{"this":{"__isSmartRef__":true,"id":614}},"731":{},"732":{"source":{"__isSmartRef__":true,"id":571},"target":{"__isSmartRef__":true,"id":614}},"733":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"734":{"partsSpaceName":"PartsBin/Inputs/","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"comment":"Simple button. Connect to 'fire' to trigger actions when the button is pressed.","partName":"Button","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"735":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"736":{"morph":{"__isSmartRef__":true,"id":571},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"737":{"x":-172.51423051237225,"y":-256.916125916021,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"738":{"position":{"__isSmartRef__":true,"id":739},"_Extent":{"__isSmartRef__":true,"id":740},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":741},"_Fill":{"__isSmartRef__":true,"id":742},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":743},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_Position":{"__isSmartRef__":true,"id":744},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":745},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"739":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"740":{"x":514.1704110039991,"y":539.0546128281011,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"741":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"742":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"743":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"744":{"x":-261.476262000004,"y":-235.5282360000009,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"745":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"746":{"migrationLevel":4,"partsSpaceName":"PartsBin/Visualization/","__SourceModuleName__":"Global.lively.PartsBin","partName":"ProtovisDrawing","comment":"undefined","changes":[{"__isSmartRef__":true,"id":747}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"747":{"date":{"__isSmartRef__":true,"id":748},"author":"lauritz","message":"fixed origin","id":"02F9CFD6-CCBE-4AD7-8FC3-E34E43DCD949"},"748":{"isSerializedDate":true,"string":"Tue Nov 15 2011 20:25:21 GMT+0100 (CET)"},"749":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"750":{"morph":{"__isSmartRef__":true,"id":570},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"751":{},"752":{"x":514.1704110039991,"y":540.050618823587,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"753":{"addDataAndRender":{"__isSmartRef__":true,"id":754}},"754":{"x":4,"y":3},"755":{"sourceObj":{"__isSmartRef__":true,"id":570},"sourceAttrName":"globalTransform","targetObj":{"__isSmartRef__":true,"id":756},"targetMethodName":"alignToMagnet","dependendConnections":[{"__isSmartRef__":true,"id":759},{"__isSmartRef__":true,"id":760},{"__isSmartRef__":true,"id":761},{"__isSmartRef__":true,"id":762},{"__isSmartRef__":true,"id":759},{"__isSmartRef__":true,"id":760},{"__isSmartRef__":true,"id":761},{"__isSmartRef__":true,"id":762},{"__isSmartRef__":true,"id":759},{"__isSmartRef__":true,"id":760},{"__isSmartRef__":true,"id":761},{"__isSmartRef__":true,"id":762},{"__isSmartRef__":true,"id":759},{"__isSmartRef__":true,"id":760},{"__isSmartRef__":true,"id":761},{"__isSmartRef__":true,"id":762},{"__isSmartRef__":true,"id":759},{"__isSmartRef__":true,"id":760},{"__isSmartRef__":true,"id":761},{"__isSmartRef__":true,"id":762}],"oldTransform":{"__isSmartRef__":true,"id":768},"__SourceModuleName__":"Global.lively.bindings.GeometryBindings","__LivelyClassName__":"lively.morphic.GeometryTransformConnection"},"756":{"morph":{"__isSmartRef__":true,"id":463},"index":1,"connectedMagnet":{"__isSmartRef__":true,"id":757},"marker":{"__isSmartRef__":true,"id":464},"markerDirection":"prev","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"757":{"morph":{"__isSmartRef__":true,"id":570},"position":{"__isSmartRef__":true,"id":758},"connectedControlPoints":[{"__isSmartRef__":true,"id":756}],"__SourceModuleName__":"Global.lively.morphic.Connectors","__LivelyClassName__":"lively.morphic.RelativeMagnet"},"758":{"x":-0.5085400801057964,"y":-0.43692833786232416,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"759":{"sourceObj":{"__isSmartRef__":true,"id":570},"sourceAttrName":"_Position","targetObj":{"__isSmartRef__":true,"id":755},"targetMethodName":"signalTarget","dependedBy":{"__isSmartRef__":true,"id":755},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"760":{"sourceObj":{"__isSmartRef__":true,"id":570},"sourceAttrName":"_Scale","targetObj":{"__isSmartRef__":true,"id":755},"targetMethodName":"signalTarget","dependedBy":{"__isSmartRef__":true,"id":755},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"761":{"sourceObj":{"__isSmartRef__":true,"id":570},"sourceAttrName":"_Rotation","targetObj":{"__isSmartRef__":true,"id":755},"targetMethodName":"signalTarget","dependedBy":{"__isSmartRef__":true,"id":755},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"762":{"sourceObj":{"__isSmartRef__":true,"id":570},"sourceAttrName":"owner","targetObj":{"__isSmartRef__":true,"id":755},"targetMethodName":"updateOwners","converterString":"function (newOwner, oldOwner) {\n return [newOwner, oldOwner]\n }","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":763},"dependedBy":{"__isSmartRef__":true,"id":755},"__SourceModuleName__":"Global.lively.bindings","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":764},"__LivelyClassName__":"AttributeConnection"},"763":{"source":{"__isSmartRef__":true,"id":570},"target":{"__isSmartRef__":true,"id":755}},"764":{"converter":{"__isSmartRef__":true,"id":765}},"765":{"originalFunc":null,"varMapping":{"__isSmartRef__":true,"id":766},"source":"function (newOwner, oldOwner) {\n return [newOwner, oldOwner]\n }","funcProperties":{"__isSmartRef__":true,"id":767},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"766":{"source":{"__isSmartRef__":true,"id":570},"target":{"__isSmartRef__":true,"id":755}},"767":{},"768":{"d":1.0040100200350561,"a":1.0040100200350561,"f":339,"e":763,"c":0,"b":0,"matrix_":{"__isSmartRef__":true,"id":769},"__SourceModuleName__":"Global.lively.morphic.Core","__LivelyClassName__":"lively.morphic.Similitude"},"769":{"a":1.0040100200350561,"b":0,"c":0,"d":1.0040100200350561,"e":763,"f":339,"__SourceModuleName__":"Global.lively.morphic.Core","__LivelyClassName__":"lively.morphic.Similitude"},"770":{"reset":{"__isSmartRef__":true,"id":771}},"771":{"time":{"__isSmartRef__":true,"id":772},"user":"robertkrahn"},"772":{"isSerializedDate":true,"string":"Fri Sep 30 2011 16:27:14 GMT+0200 (CEST)"},"773":{"x":763,"y":339,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"774":{"addDataAndRender":{"__isSmartRef__":true,"id":775},"reset":{"__isSmartRef__":true,"id":778},"prepareForNewRenderContext":{"__isSmartRef__":true,"id":781},"setupConnections":{"__isSmartRef__":true,"id":788}},"775":{"varMapping":{"__isSmartRef__":true,"id":776},"source":"function addDataAndRender(data) {\n this.get('ProtovisMorph').addDataAndRender(data)\n}","funcProperties":{"__isSmartRef__":true,"id":777},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"776":{"this":{"__isSmartRef__":true,"id":570}},"777":{},"778":{"varMapping":{"__isSmartRef__":true,"id":779},"source":"function reset() {\n this.connections = {addDataAndRender: {x: 4, y: 3}}\n this.get('ProtovisMorph').reset();\n}","funcProperties":{"__isSmartRef__":true,"id":780},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"779":{"this":{"__isSmartRef__":true,"id":570}},"780":{},"781":{"varMapping":{"__isSmartRef__":true,"id":782},"source":"function prepareForNewRenderContext(renderCtx) {\n $super(renderCtx);\n lively.bindings.callWhenNotNull(Global, 'pv', this.get('ProtovisMorph'), 'render');\n}","funcProperties":{"__isSmartRef__":true,"id":787},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"782":{"this":{"__isSmartRef__":true,"id":570},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":783}},"783":{"$super":{"__isSmartRef__":true,"id":784}},"784":{"varMapping":{"__isSmartRef__":true,"id":785},"source":"function () {\n\t\t\t\ttry {\n\t\t\t\t\treturn obj.constructor.prototype[name].apply(obj, arguments)\n\t\t\t\t} catch(e) {\n\t\t\t\t\talert('Error in $super call: ' + e + '\\n' + e.stack);\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}","funcProperties":{"__isSmartRef__":true,"id":786},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"785":{"obj":{"__isSmartRef__":true,"id":570},"name":"prepareForNewRenderContext"},"786":{},"787":{},"788":{"varMapping":{"__isSmartRef__":true,"id":789},"source":"function setupConnections() {\n connect(this.get('resetButton'), 'fire', this.get('ProtovisMorph'), 'render',\n {updater: function($upd) { this.targetObj.data = []; $upd() }})\n}","funcProperties":{"__isSmartRef__":true,"id":790},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"789":{"this":{"__isSmartRef__":true,"id":570}},"790":{},"791":{"converter":{"__isSmartRef__":true,"id":792}},"792":{"originalFunc":null,"varMapping":{"__isSmartRef__":true,"id":793},"source":"function converter(string) {\n var table = Strings.tableize(string),\n cpu1 = table[3][10],\n cpu2 = table[4][10];\n return 100-Number(cpu1);\n}\n","funcProperties":{"__isSmartRef__":true,"id":794},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"793":{},"794":{},"795":{"sourceObj":{"__isSmartRef__":true,"id":478},"sourceAttrName":"globalTransform","targetObj":{"__isSmartRef__":true,"id":796},"targetMethodName":"alignToMagnet","dependendConnections":[{"__isSmartRef__":true,"id":965},{"__isSmartRef__":true,"id":966},{"__isSmartRef__":true,"id":967},{"__isSmartRef__":true,"id":968},{"__isSmartRef__":true,"id":974},{"__isSmartRef__":true,"id":975},{"__isSmartRef__":true,"id":976},{"__isSmartRef__":true,"id":977},{"__isSmartRef__":true,"id":965},{"__isSmartRef__":true,"id":966},{"__isSmartRef__":true,"id":967},{"__isSmartRef__":true,"id":968},{"__isSmartRef__":true,"id":974},{"__isSmartRef__":true,"id":975},{"__isSmartRef__":true,"id":976},{"__isSmartRef__":true,"id":977},{"__isSmartRef__":true,"id":965},{"__isSmartRef__":true,"id":966},{"__isSmartRef__":true,"id":967},{"__isSmartRef__":true,"id":968},{"__isSmartRef__":true,"id":974},{"__isSmartRef__":true,"id":975},{"__isSmartRef__":true,"id":976},{"__isSmartRef__":true,"id":977},{"__isSmartRef__":true,"id":965},{"__isSmartRef__":true,"id":966},{"__isSmartRef__":true,"id":967},{"__isSmartRef__":true,"id":968},{"__isSmartRef__":true,"id":974},{"__isSmartRef__":true,"id":975},{"__isSmartRef__":true,"id":976},{"__isSmartRef__":true,"id":977},{"__isSmartRef__":true,"id":965},{"__isSmartRef__":true,"id":966},{"__isSmartRef__":true,"id":967},{"__isSmartRef__":true,"id":968},{"__isSmartRef__":true,"id":974},{"__isSmartRef__":true,"id":975},{"__isSmartRef__":true,"id":976},{"__isSmartRef__":true,"id":977}],"oldTransform":{"__isSmartRef__":true,"id":979},"__SourceModuleName__":"Global.lively.bindings.GeometryBindings","__LivelyClassName__":"lively.morphic.GeometryTransformConnection"},"796":{"morph":{"__isSmartRef__":true,"id":463},"index":0,"connectedMagnet":{"__isSmartRef__":true,"id":797},"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"797":{"morph":{"__isSmartRef__":true,"id":478},"position":{"__isSmartRef__":true,"id":798},"connectedControlPoints":[{"__isSmartRef__":true,"id":796},{"__isSmartRef__":true,"id":799},{"__isSmartRef__":true,"id":964}],"__SourceModuleName__":"Global.lively.morphic.Connectors","__LivelyClassName__":"lively.morphic.Magnet"},"798":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"799":{"morph":{"__isSmartRef__":true,"id":800},"index":1,"connectedMagnet":{"__isSmartRef__":true,"id":797},"marker":{"__isSmartRef__":true,"id":801},"markerDirection":"prev","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"800":{"submorphs":[{"__isSmartRef__":true,"id":801}],"scripts":[],"shape":{"__isSmartRef__":true,"id":815},"id":3350,"renderContextTable":{"__isSmartRef__":true,"id":822},"eventHandler":{"__isSmartRef__":true,"id":823},"droppingEnabled":true,"halosEnabled":true,"controlPoints":[{"__isSmartRef__":true,"id":824},{"__isSmartRef__":true,"id":799}],"con":{"__isSmartRef__":true,"id":922},"showsMorphMenu":true,"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"owner":{"__isSmartRef__":true,"id":0},"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":956},"__LivelyClassName__":"lively.morphic.Path"},"801":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":802},"id":3351,"renderContextTable":{"__isSmartRef__":true,"id":812},"eventHandler":{"__isSmartRef__":true,"id":813},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":814},"owner":{"__isSmartRef__":true,"id":800},"_Rotation":-0.12435499454676144,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.Path"},"802":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":803},{"__isSmartRef__":true,"id":804},{"__isSmartRef__":true,"id":805},{"__isSmartRef__":true,"id":806}],"renderContextTable":{"__isSmartRef__":true,"id":807},"_ClipMode":"visible","_Position":{"__isSmartRef__":true,"id":808},"_Extent":{"__isSmartRef__":true,"id":809},"_Padding":{"__isSmartRef__":true,"id":810},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":12},"_Fill":{"__isSmartRef__":true,"id":811},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"803":{"isAbsolute":true,"x":-12,"y":-6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"804":{"isAbsolute":true,"x":-12,"y":6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"805":{"isAbsolute":true,"x":4,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"806":{"isAbsolute":true,"x":-12,"y":-6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"807":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML","getPathNode":"getPathNodeHTML","setPathElements":"setPathElementsHTML","getPathBounds":"getPathBoundsHTML","getTotalLength":"getTotalLengthHTML","getPointAtTotalLength":"getPointAtTotalLengthHTML"},"808":{"x":-12,"y":-6,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"809":{"x":16,"y":12,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"810":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"811":{"r":0,"g":0,"b":0,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"812":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"813":{"morph":{"__isSmartRef__":true,"id":801},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"814":{"x":264,"y":92,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"815":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":816},{"__isSmartRef__":true,"id":817}],"renderContextTable":{"__isSmartRef__":true,"id":818},"_ClipMode":"visible","_Position":{"__isSmartRef__":true,"id":819},"_Extent":{"__isSmartRef__":true,"id":820},"_Padding":{"__isSmartRef__":true,"id":821},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":12},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"816":{"isAbsolute":true,"x":16,"y":123,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"817":{"isAbsolute":true,"x":264,"y":92,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"818":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML","getPathNode":"getPathNodeHTML","setPathElements":"setPathElementsHTML","getPathBounds":"getPathBoundsHTML","getTotalLength":"getTotalLengthHTML","getPointAtTotalLength":"getPointAtTotalLengthHTML"},"819":{"x":15,"y":91,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"820":{"x":249,"y":32,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"821":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"822":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"823":{"morph":{"__isSmartRef__":true,"id":800},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"824":{"morph":{"__isSmartRef__":true,"id":800},"index":0,"connectedMagnet":{"__isSmartRef__":true,"id":825},"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"825":{"morph":{"__isSmartRef__":true,"id":826},"position":{"__isSmartRef__":true,"id":955},"connectedControlPoints":[{"__isSmartRef__":true,"id":824}],"__SourceModuleName__":"Global.lively.morphic.Connectors","__LivelyClassName__":"lively.morphic.RelativeMagnet"},"826":{"submorphs":[{"__isSmartRef__":true,"id":827},{"__isSmartRef__":true,"id":844},{"__isSmartRef__":true,"id":895}],"scripts":[],"id":2557,"shape":{"__isSmartRef__":true,"id":911},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"Timer","partsBinMetaInfo":{"__isSmartRef__":true,"id":918},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":919},"eventHandler":{"__isSmartRef__":true,"id":920},"attributeConnections":[{"__isSmartRef__":true,"id":921},{"__isSmartRef__":true,"id":922},{"__isSmartRef__":true,"id":923},{"__isSmartRef__":true,"id":924},{"__isSmartRef__":true,"id":925},{"__isSmartRef__":true,"id":926},{"__isSmartRef__":true,"id":927}],"doNotSerialize":["$$running","$$tick","$$_Position","$$_Scale","$$_Rotation","$$owner"],"doNotCopyProperties":["$$running","$$tick","$$_Position","$$_Scale","$$_Rotation","$$owner"],"priorExtent":{"__isSmartRef__":true,"id":935},"layout":{"__isSmartRef__":true,"id":936},"connections":{"__isSmartRef__":true,"id":938},"isInLayoutCycle":false,"distanceToDragEvent":{"__isSmartRef__":true,"id":941},"isBeingDragged":false,"running":false,"tick":1309799475780,"_Position":{"__isSmartRef__":true,"id":942},"_Scale":1,"_Rotation":0,"owner":{"__isSmartRef__":true,"id":0},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":943},"__LivelyClassName__":"lively.morphic.Box"},"827":{"submorphs":[],"scripts":[],"id":2558,"shape":{"__isSmartRef__":true,"id":828},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":835},"_MaxTextWidth":85.33100664937592,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":831},"showsHalos":false,"_FontSize":12,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"tickInput","partsBinMetaInfo":{"__isSmartRef__":true,"id":836},"textChunks":[{"__isSmartRef__":true,"id":837}],"charsReplaced":"some text","lastFindLoc":-9,"priorSelectionRange":[1,1],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":839},"renderContextTable":{"__isSmartRef__":true,"id":840},"eventHandler":{"__isSmartRef__":true,"id":841},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"owner":{"__isSmartRef__":true,"id":826},"layout":{"__isSmartRef__":true,"id":842},"_Align":"center","distanceToDragEvent":{"__isSmartRef__":true,"id":843},"lastDragTime":1309420114788,"_MinTextWidth":85.33100664937592,"_MinTextHeight":null,"previousSelection":[0,0],"_ClipMode":"visible","_WhiteSpaceHandling":"pre-wrap","_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"828":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":829},"_Extent":{"__isSmartRef__":true,"id":830},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":831},"renderContextTable":{"__isSmartRef__":true,"id":832},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_Fill":{"__isSmartRef__":true,"id":833},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":834},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"829":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"830":{"x":85.33100664937592,"y":18,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"831":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"832":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"833":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"834":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"835":{"x":8.580000000000002,"y":39.19,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"836":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"837":{"style":{"__isSmartRef__":true,"id":838},"chunkOwner":{"__isSmartRef__":true,"id":827},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"500","__LivelyClassName__":"lively.morphic.TextChunk"},"838":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"839":{"x":85.33100664937592,"y":18,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"840":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"841":{"morph":{"__isSmartRef__":true,"id":827},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"842":{},"843":{"x":60.514999999999986,"y":-10.485000000000014,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"844":{"submorphs":[{"__isSmartRef__":true,"id":845}],"scripts":[],"id":2559,"shape":{"__isSmartRef__":true,"id":860},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":876},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":864},"lighterFill":{"__isSmartRef__":true,"id":877},"label":{"__isSmartRef__":true,"id":845},"name":"ScriptableButton","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":886},"attributeConnections":[{"__isSmartRef__":true,"id":887}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","priorExtent":{"__isSmartRef__":true,"id":888},"renderContextTable":{"__isSmartRef__":true,"id":889},"eventHandler":{"__isSmartRef__":true,"id":890},"owner":{"__isSmartRef__":true,"id":826},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":891},"__LivelyClassName__":"lively.morphic.Button"},"845":{"submorphs":[],"scripts":[],"id":2560,"shape":{"__isSmartRef__":true,"id":846},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":852},"_MaxTextWidth":86,"_MaxTextHeight":null,"textStyle":null,"padding":{"__isSmartRef__":true,"id":853},"_Padding":{"__isSmartRef__":true,"id":854},"owner":{"__isSmartRef__":true,"id":844},"isLabel":true,"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","_ClipMode":"hidden","priorExtent":{"__isSmartRef__":true,"id":855},"textChunks":[{"__isSmartRef__":true,"id":856}],"_Align":"center","renderContextTable":{"__isSmartRef__":true,"id":858},"eventHandler":{"__isSmartRef__":true,"id":859},"_HandStyle":"default","_PointerEvents":"none","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":86,"_MinTextHeight":null,"__LivelyClassName__":"lively.morphic.Text"},"846":{"position":{"__isSmartRef__":true,"id":847},"_Extent":{"__isSmartRef__":true,"id":848},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":849},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":850},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":851},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"847":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"848":{"x":86,"y":21,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"849":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"850":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"851":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"852":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"853":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"854":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"855":{"x":86,"y":21,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"856":{"style":{"__isSmartRef__":true,"id":857},"chunkOwner":{"__isSmartRef__":true,"id":845},"storedString":"start","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"857":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"858":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"859":{"morph":{"__isSmartRef__":true,"id":845},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"860":{"position":{"__isSmartRef__":true,"id":861},"_Extent":{"__isSmartRef__":true,"id":862},"_BorderWidth":1.1840000000000002,"_BorderColor":{"__isSmartRef__":true,"id":863},"_Fill":{"__isSmartRef__":true,"id":864},"_BorderRadius":5.2,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":874},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":875},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"861":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"862":{"x":86,"y":21,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"863":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"864":{"stops":[{"__isSmartRef__":true,"id":865},{"__isSmartRef__":true,"id":867},{"__isSmartRef__":true,"id":869},{"__isSmartRef__":true,"id":871}],"vector":{"__isSmartRef__":true,"id":873},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"865":{"offset":0,"color":{"__isSmartRef__":true,"id":866}},"866":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"867":{"offset":0.4,"color":{"__isSmartRef__":true,"id":868}},"868":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"869":{"offset":0.6,"color":{"__isSmartRef__":true,"id":870}},"870":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"871":{"offset":1,"color":{"__isSmartRef__":true,"id":872}},"872":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"873":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"874":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"875":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"876":{"x":8.580000000000002,"y":64.79999999999998,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"877":{"stops":[{"__isSmartRef__":true,"id":878},{"__isSmartRef__":true,"id":880},{"__isSmartRef__":true,"id":882},{"__isSmartRef__":true,"id":884}],"vector":{"__isSmartRef__":true,"id":873},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"878":{"offset":0,"color":{"__isSmartRef__":true,"id":879}},"879":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"880":{"offset":0.4,"color":{"__isSmartRef__":true,"id":881}},"881":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"882":{"offset":0.6,"color":{"__isSmartRef__":true,"id":883}},"883":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"884":{"offset":1,"color":{"__isSmartRef__":true,"id":885}},"885":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"886":{"partsSpaceName":"PartsBin/Inputs","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"partName":"ScriptableButton","comment":"Has a script that is called on button press","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"887":{"sourceObj":{"__isSmartRef__":true,"id":844},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":844},"targetMethodName":"onFire","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"888":{"x":86,"y":21,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"889":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"890":{"morph":{"__isSmartRef__":true,"id":844},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"891":{"onFire":{"__isSmartRef__":true,"id":892}},"892":{"varMapping":{"__isSmartRef__":true,"id":893},"source":"function onFire() {\n this.owner.running = !this.owner.running\n if (this.owner.running) {\n this.setLabel(\"stop\")\n } else {\n this.setLabel(\"start\")\n }\n}","funcProperties":{"__isSmartRef__":true,"id":894},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"893":{"this":{"__isSmartRef__":true,"id":844}},"894":{},"895":{"submorphs":[],"scripts":[],"id":2561,"shape":{"__isSmartRef__":true,"id":896},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":902},"_MaxTextWidth":85.35493484089704,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":899},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text1","partsBinMetaInfo":{"__isSmartRef__":true,"id":903},"textChunks":[{"__isSmartRef__":true,"id":904}],"charsReplaced":"some text","lastFindLoc":-9,"priorSelectionRange":[2,2],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":906},"renderContextTable":{"__isSmartRef__":true,"id":907},"eventHandler":{"__isSmartRef__":true,"id":908},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"owner":{"__isSmartRef__":true,"id":826},"_WhiteSpaceHandling":"pre-wrap","_TextColor":{"__isSmartRef__":true,"id":909},"_Align":"center","_MinTextWidth":85.35493484089704,"_MinTextHeight":null,"_ClipMode":"visible","isBeingDragged":false,"_Rotation":0,"_Scale":1,"layout":{"__isSmartRef__":true,"id":910},"previousSelection":[0,5],"__LivelyClassName__":"lively.morphic.Text"},"896":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":897},"_Extent":{"__isSmartRef__":true,"id":898},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":899},"renderContextTable":{"__isSmartRef__":true,"id":900},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":901},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"897":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"898":{"x":85.35493484089704,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"899":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"900":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"901":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"902":{"x":8.580000000000002,"y":8.580000000000002,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"903":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"904":{"style":{"__isSmartRef__":true,"id":905},"morph":{"__isSmartRef__":true,"id":895},"__SourceModuleName__":"Global.lively.morphic.TextCore","chunkOwner":{"__isSmartRef__":true,"id":895},"storedString":"Timer","__LivelyClassName__":"lively.morphic.TextChunk"},"905":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"906":{"x":85.35493484089704,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"907":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"908":{"morph":{"__isSmartRef__":true,"id":895},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"909":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"910":{},"911":{"position":{"__isSmartRef__":true,"id":912},"_Extent":{"__isSmartRef__":true,"id":913},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":914},"_Fill":{"__isSmartRef__":true,"id":915},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":916},"_BorderRadius":14.425000000000002,"_Opacity":1,"_BorderStyle":"solid","_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":917},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"912":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"913":{"x":103.16,"y":94.38,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"914":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"915":{"r":0.753,"g":0.753,"b":0.753,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"916":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"917":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"918":{"partsSpaceName":"PartsBin/Scripting/","__SourceModuleName__":"Global.lively.PartsBin","comment":"\"When in doubt let it tick\" [Dan]","migrationLevel":2,"partName":"Timer","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"919":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"920":{"morph":{"__isSmartRef__":true,"id":826},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"921":{"sourceObj":{"__isSmartRef__":true,"id":826},"sourceAttrName":"running","targetObj":{"__isSmartRef__":true,"id":826},"targetMethodName":"updateTickingScripts","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"922":{"sourceObj":{"__isSmartRef__":true,"id":826},"sourceAttrName":"tick","targetObj":{"__isSmartRef__":true,"id":478},"targetMethodName":"exec","visualConnector":{"__isSmartRef__":true,"id":800},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"923":{"sourceObj":{"__isSmartRef__":true,"id":826},"sourceAttrName":"globalTransform","targetObj":{"__isSmartRef__":true,"id":824},"targetMethodName":"alignToMagnet","dependendConnections":[{"__isSmartRef__":true,"id":924},{"__isSmartRef__":true,"id":925},{"__isSmartRef__":true,"id":926},{"__isSmartRef__":true,"id":927},{"__isSmartRef__":true,"id":924},{"__isSmartRef__":true,"id":925},{"__isSmartRef__":true,"id":926},{"__isSmartRef__":true,"id":927},{"__isSmartRef__":true,"id":924},{"__isSmartRef__":true,"id":925},{"__isSmartRef__":true,"id":926},{"__isSmartRef__":true,"id":927},{"__isSmartRef__":true,"id":924},{"__isSmartRef__":true,"id":925},{"__isSmartRef__":true,"id":926},{"__isSmartRef__":true,"id":927},{"__isSmartRef__":true,"id":924},{"__isSmartRef__":true,"id":925},{"__isSmartRef__":true,"id":926},{"__isSmartRef__":true,"id":927}],"oldTransform":{"__isSmartRef__":true,"id":933},"__SourceModuleName__":"Global.lively.bindings.GeometryBindings","__LivelyClassName__":"lively.morphic.GeometryTransformConnection"},"924":{"sourceObj":{"__isSmartRef__":true,"id":826},"sourceAttrName":"_Position","targetObj":{"__isSmartRef__":true,"id":923},"targetMethodName":"signalTarget","dependedBy":{"__isSmartRef__":true,"id":923},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"925":{"sourceObj":{"__isSmartRef__":true,"id":826},"sourceAttrName":"_Scale","targetObj":{"__isSmartRef__":true,"id":923},"targetMethodName":"signalTarget","dependedBy":{"__isSmartRef__":true,"id":923},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"926":{"sourceObj":{"__isSmartRef__":true,"id":826},"sourceAttrName":"_Rotation","targetObj":{"__isSmartRef__":true,"id":923},"targetMethodName":"signalTarget","dependedBy":{"__isSmartRef__":true,"id":923},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"927":{"sourceObj":{"__isSmartRef__":true,"id":826},"sourceAttrName":"owner","targetObj":{"__isSmartRef__":true,"id":923},"targetMethodName":"updateOwners","converterString":"function (newOwner, oldOwner) {\n return [newOwner, oldOwner]\n }","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":928},"dependedBy":{"__isSmartRef__":true,"id":923},"__SourceModuleName__":"Global.lively.bindings","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":929},"__LivelyClassName__":"AttributeConnection"},"928":{"source":{"__isSmartRef__":true,"id":826},"target":{"__isSmartRef__":true,"id":923}},"929":{"converter":{"__isSmartRef__":true,"id":930}},"930":{"originalFunc":null,"varMapping":{"__isSmartRef__":true,"id":931},"source":"function (newOwner, oldOwner) {\n return [newOwner, oldOwner]\n }","funcProperties":{"__isSmartRef__":true,"id":932},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"931":{"source":{"__isSmartRef__":true,"id":826},"target":{"__isSmartRef__":true,"id":923}},"932":{},"933":{"d":1,"a":1,"f":123,"e":16,"c":0,"b":0,"matrix_":{"__isSmartRef__":true,"id":934},"__SourceModuleName__":"Global.lively.morphic.Core","__LivelyClassName__":"lively.morphic.Similitude"},"934":{"a":1,"b":0,"c":0,"d":1,"e":16,"f":123,"__SourceModuleName__":"Global.lively.morphic.Core","__LivelyClassName__":"lively.morphic.Similitude"},"935":{"x":102.16,"y":94.38,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"936":{"layouter":{"__isSmartRef__":true,"id":937}},"937":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":8.58,"spacing":8.610000000000001,"container":{"__isSmartRef__":true,"id":826},"__SourceModuleName__":"Global.lively.morphic.Layout","__LivelyClassName__":"lively.morphic.Layout.VerticalLayout"},"938":{"tick":{"__isSmartRef__":true,"id":939},"tickTime":{"__isSmartRef__":true,"id":940}},"939":{},"940":{},"941":{"x":75,"y":3,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"942":{"x":16,"y":123,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"943":{"updateTickingScripts":{"__isSmartRef__":true,"id":944},"setupConnections":{"__isSmartRef__":true,"id":947},"updateTick":{"__isSmartRef__":true,"id":951}},"944":{"varMapping":{"__isSmartRef__":true,"id":945},"source":"function updateTickingScripts(bool) {\n var timeInMS = Number(this.get('tickInput').textString);\n\tif (bool)\n this.startStepping(timeInMS, 'updateTick')\n else\n this.stopStepping()\n}","funcProperties":{"__isSmartRef__":true,"id":946},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"945":{"this":{"__isSmartRef__":true,"id":826}},"946":{},"947":{"varMapping":{"__isSmartRef__":true,"id":948},"source":"function setupConnections() {\n this.connections = {tick: {}, tickTime: {}};\n\tconnect(this, 'running', this, 'updateTickingScripts');\n}","funcProperties":{"__isSmartRef__":true,"id":949},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"948":{"this":{"__isSmartRef__":true,"id":826}},"949":{"user":"robertkrahn","timestamp":{"__isSmartRef__":true,"id":950}},"950":{"isSerializedDate":true,"string":"Mon Jul 04 2011 19:13:46 GMT+0200 (CEST)"},"951":{"varMapping":{"__isSmartRef__":true,"id":952},"source":"function updateTick() {\n lively.bindings.signal(this, 'tick')\n lively.bindings.signal(this, 'tickTime', new Date())\n}","funcProperties":{"__isSmartRef__":true,"id":953},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"952":{"this":{"__isSmartRef__":true,"id":826}},"953":{"user":"robertkrahn","timestamp":{"__isSmartRef__":true,"id":954}},"954":{"isSerializedDate":true,"string":"Mon Jul 04 2011 19:13:46 GMT+0200 (CEST)"},"955":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"956":{"morphMenuItems":{"__isSmartRef__":true,"id":957}},"957":{"varMapping":{"__isSmartRef__":true,"id":958},"source":"function morphMenuItems() {\n var visualConnector = this, con = this.con, world = this.world();\n var items = [\n ['edit converter', function() {\n var source = con.converterString || \n 'function converter(value) {\\n return value\\n}',\n editor = new lively.morphic.Text(new Rectangle(0,0, 400, 200), source);\n editor.doitContext = con;\n connect(editor, 'savedTextString', con, 'converterString', {updater:\n function($upd, source) { this.targetObj.converter = null; $upd(source) }});\n connect(editor, 'savedTextString', world, 'alertOK', {converter: \n function() { return 'setting new converter' }})\n editor.applyStyle({syntaxHighlighting: true, \n fontFamily: 'Courier', resizeWidth: true, resizeHeight: true});\n var title = con.targetObj.name && con.sourceObj.name ?\n 'Editor for ' + con.targetObj.name + ' -> ' + con.sourceObj.name :\n 'Editor for converter function';\n var window = world.addFramedMorph(editor, title)\n window.align(window.bounds().topCenter(), \n visualConnector.bounds().bottomCenter())\n }],\n ['hide', function() {\n visualConnector.disconnectFromMagnets();\n visualConnector.remove();\n }],\n ['disconnect', function() {\n alertOK('Disconnected ' + visualConnector.con);\n visualConnector.con.visualDisconnect();\n }],\n ['cancel', function() {}],\n ];\n return items;\n }","funcProperties":{"__isSmartRef__":true,"id":963},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"958":{"this":{"__isSmartRef__":true,"id":800},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":959}},"959":{"$super":{"__isSmartRef__":true,"id":960}},"960":{"varMapping":{"__isSmartRef__":true,"id":961},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":962},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"961":{"obj":{"__isSmartRef__":true,"id":800},"name":"morphMenuItems"},"962":{},"963":{},"964":{"morph":{"__isSmartRef__":true,"id":439},"index":0,"connectedMagnet":{"__isSmartRef__":true,"id":797},"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"965":{"sourceObj":{"__isSmartRef__":true,"id":478},"sourceAttrName":"_Position","targetObj":{"__isSmartRef__":true,"id":795},"targetMethodName":"signalTarget","dependedBy":{"__isSmartRef__":true,"id":795},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"966":{"sourceObj":{"__isSmartRef__":true,"id":478},"sourceAttrName":"_Scale","targetObj":{"__isSmartRef__":true,"id":795},"targetMethodName":"signalTarget","dependedBy":{"__isSmartRef__":true,"id":795},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"967":{"sourceObj":{"__isSmartRef__":true,"id":478},"sourceAttrName":"_Rotation","targetObj":{"__isSmartRef__":true,"id":795},"targetMethodName":"signalTarget","dependedBy":{"__isSmartRef__":true,"id":795},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"968":{"sourceObj":{"__isSmartRef__":true,"id":478},"sourceAttrName":"owner","targetObj":{"__isSmartRef__":true,"id":795},"targetMethodName":"updateOwners","converterString":"function (newOwner, oldOwner) {\n return [newOwner, oldOwner]\n }","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":969},"dependedBy":{"__isSmartRef__":true,"id":795},"__SourceModuleName__":"Global.lively.bindings","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":970},"__LivelyClassName__":"AttributeConnection"},"969":{"source":{"__isSmartRef__":true,"id":478},"target":{"__isSmartRef__":true,"id":795}},"970":{"converter":{"__isSmartRef__":true,"id":971}},"971":{"originalFunc":null,"varMapping":{"__isSmartRef__":true,"id":972},"source":"function (newOwner, oldOwner) {\n return [newOwner, oldOwner]\n }","funcProperties":{"__isSmartRef__":true,"id":973},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"972":{"source":{"__isSmartRef__":true,"id":478},"target":{"__isSmartRef__":true,"id":795}},"973":{},"974":{"sourceObj":{"__isSmartRef__":true,"id":463},"sourceAttrName":"_Position","targetObj":{"__isSmartRef__":true,"id":795},"targetMethodName":"signalTarget","dependedBy":{"__isSmartRef__":true,"id":795},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"975":{"sourceObj":{"__isSmartRef__":true,"id":463},"sourceAttrName":"_Scale","targetObj":{"__isSmartRef__":true,"id":795},"targetMethodName":"signalTarget","dependedBy":{"__isSmartRef__":true,"id":795},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"976":{"sourceObj":{"__isSmartRef__":true,"id":463},"sourceAttrName":"_Rotation","targetObj":{"__isSmartRef__":true,"id":795},"targetMethodName":"signalTarget","dependedBy":{"__isSmartRef__":true,"id":795},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"977":{"sourceObj":{"__isSmartRef__":true,"id":463},"sourceAttrName":"owner","targetObj":{"__isSmartRef__":true,"id":795},"targetMethodName":"updateOwners","converter":null,"converterString":"function (newOwner, oldOwner) {\n return [newOwner, oldOwner]\n }","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":978},"dependedBy":{"__isSmartRef__":true,"id":795},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"978":{"source":{"__isSmartRef__":true,"id":463},"target":{"__isSmartRef__":true,"id":795}},"979":{"d":1,"a":1,"f":92,"e":264,"c":0,"b":0,"matrix_":{"__isSmartRef__":true,"id":980},"__SourceModuleName__":"Global.lively.morphic.Core","__LivelyClassName__":"lively.morphic.Similitude"},"980":{"a":1,"b":0,"c":0,"d":1,"e":264,"f":92,"__SourceModuleName__":"Global.lively.morphic.Core","__LivelyClassName__":"lively.morphic.Similitude"},"981":{"sourceObj":{"__isSmartRef__":true,"id":478},"sourceAttrName":"globalTransform","targetObj":{"__isSmartRef__":true,"id":799},"targetMethodName":"alignToMagnet","dependendConnections":[{"__isSmartRef__":true,"id":982},{"__isSmartRef__":true,"id":983},{"__isSmartRef__":true,"id":984},{"__isSmartRef__":true,"id":985},{"__isSmartRef__":true,"id":991},{"__isSmartRef__":true,"id":992},{"__isSmartRef__":true,"id":993},{"__isSmartRef__":true,"id":994},{"__isSmartRef__":true,"id":982},{"__isSmartRef__":true,"id":983},{"__isSmartRef__":true,"id":984},{"__isSmartRef__":true,"id":985},{"__isSmartRef__":true,"id":991},{"__isSmartRef__":true,"id":992},{"__isSmartRef__":true,"id":993},{"__isSmartRef__":true,"id":994},{"__isSmartRef__":true,"id":982},{"__isSmartRef__":true,"id":983},{"__isSmartRef__":true,"id":984},{"__isSmartRef__":true,"id":985},{"__isSmartRef__":true,"id":991},{"__isSmartRef__":true,"id":992},{"__isSmartRef__":true,"id":993},{"__isSmartRef__":true,"id":994},{"__isSmartRef__":true,"id":982},{"__isSmartRef__":true,"id":983},{"__isSmartRef__":true,"id":984},{"__isSmartRef__":true,"id":985},{"__isSmartRef__":true,"id":991},{"__isSmartRef__":true,"id":992},{"__isSmartRef__":true,"id":993},{"__isSmartRef__":true,"id":994},{"__isSmartRef__":true,"id":982},{"__isSmartRef__":true,"id":983},{"__isSmartRef__":true,"id":984},{"__isSmartRef__":true,"id":985},{"__isSmartRef__":true,"id":991},{"__isSmartRef__":true,"id":992},{"__isSmartRef__":true,"id":993},{"__isSmartRef__":true,"id":994}],"oldTransform":{"__isSmartRef__":true,"id":996},"__SourceModuleName__":"Global.lively.bindings.GeometryBindings","__LivelyClassName__":"lively.morphic.GeometryTransformConnection"},"982":{"sourceObj":{"__isSmartRef__":true,"id":478},"sourceAttrName":"_Position","targetObj":{"__isSmartRef__":true,"id":981},"targetMethodName":"signalTarget","dependedBy":{"__isSmartRef__":true,"id":981},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"983":{"sourceObj":{"__isSmartRef__":true,"id":478},"sourceAttrName":"_Scale","targetObj":{"__isSmartRef__":true,"id":981},"targetMethodName":"signalTarget","dependedBy":{"__isSmartRef__":true,"id":981},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"984":{"sourceObj":{"__isSmartRef__":true,"id":478},"sourceAttrName":"_Rotation","targetObj":{"__isSmartRef__":true,"id":981},"targetMethodName":"signalTarget","dependedBy":{"__isSmartRef__":true,"id":981},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"985":{"sourceObj":{"__isSmartRef__":true,"id":478},"sourceAttrName":"owner","targetObj":{"__isSmartRef__":true,"id":981},"targetMethodName":"updateOwners","converterString":"function (newOwner, oldOwner) {\n return [newOwner, oldOwner]\n }","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":986},"dependedBy":{"__isSmartRef__":true,"id":981},"__SourceModuleName__":"Global.lively.bindings","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":987},"__LivelyClassName__":"AttributeConnection"},"986":{"source":{"__isSmartRef__":true,"id":478},"target":{"__isSmartRef__":true,"id":981}},"987":{"converter":{"__isSmartRef__":true,"id":988}},"988":{"originalFunc":null,"varMapping":{"__isSmartRef__":true,"id":989},"source":"function (newOwner, oldOwner) {\n return [newOwner, oldOwner]\n }","funcProperties":{"__isSmartRef__":true,"id":990},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"989":{"source":{"__isSmartRef__":true,"id":478},"target":{"__isSmartRef__":true,"id":981}},"990":{},"991":{"sourceObj":{"__isSmartRef__":true,"id":463},"sourceAttrName":"_Position","targetObj":{"__isSmartRef__":true,"id":981},"targetMethodName":"signalTarget","dependedBy":{"__isSmartRef__":true,"id":981},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"992":{"sourceObj":{"__isSmartRef__":true,"id":463},"sourceAttrName":"_Scale","targetObj":{"__isSmartRef__":true,"id":981},"targetMethodName":"signalTarget","dependedBy":{"__isSmartRef__":true,"id":981},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"993":{"sourceObj":{"__isSmartRef__":true,"id":463},"sourceAttrName":"_Rotation","targetObj":{"__isSmartRef__":true,"id":981},"targetMethodName":"signalTarget","dependedBy":{"__isSmartRef__":true,"id":981},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"994":{"sourceObj":{"__isSmartRef__":true,"id":463},"sourceAttrName":"owner","targetObj":{"__isSmartRef__":true,"id":981},"targetMethodName":"updateOwners","converter":null,"converterString":"function (newOwner, oldOwner) {\n return [newOwner, oldOwner]\n }","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":995},"dependedBy":{"__isSmartRef__":true,"id":981},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"995":{"source":{"__isSmartRef__":true,"id":463},"target":{"__isSmartRef__":true,"id":981}},"996":{"d":1,"a":1,"f":92,"e":264,"c":0,"b":0,"matrix_":{"__isSmartRef__":true,"id":997},"__SourceModuleName__":"Global.lively.morphic.Core","__LivelyClassName__":"lively.morphic.Similitude"},"997":{"a":1,"b":0,"c":0,"d":1,"e":264,"f":92,"__SourceModuleName__":"Global.lively.morphic.Core","__LivelyClassName__":"lively.morphic.Similitude"},"998":{"sourceObj":{"__isSmartRef__":true,"id":478},"sourceAttrName":"resultFromServer","targetObj":{"__isSmartRef__":true,"id":28},"targetMethodName":"receiveData","visualConnector":{"__isSmartRef__":true,"id":439},"converterString":"function converter(string) {\n var table = Strings.tableize(string),\n cpu1 = table[3][10],\n cpu2 = table[4][10];\n return 100-Number(cpu1);\n}","__SourceModuleName__":"Global.lively.bindings","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":999},"__LivelyClassName__":"AttributeConnection"},"999":{"converter":{"__isSmartRef__":true,"id":1000}},"1000":{"originalFunc":null,"varMapping":{"__isSmartRef__":true,"id":1001},"source":"function converter(string) {\n var table = Strings.tableize(string),\n cpu1 = table[3][10],\n cpu2 = table[4][10];\n return 100-Number(cpu1);\n}","funcProperties":{"__isSmartRef__":true,"id":1002},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1001":{},"1002":{},"1003":{"sourceObj":{"__isSmartRef__":true,"id":478},"sourceAttrName":"globalTransform","targetObj":{"__isSmartRef__":true,"id":964},"targetMethodName":"alignToMagnet","dependendConnections":[{"__isSmartRef__":true,"id":1004},{"__isSmartRef__":true,"id":1005},{"__isSmartRef__":true,"id":1006},{"__isSmartRef__":true,"id":1007},{"__isSmartRef__":true,"id":1009},{"__isSmartRef__":true,"id":1010},{"__isSmartRef__":true,"id":1011},{"__isSmartRef__":true,"id":1012},{"__isSmartRef__":true,"id":1004},{"__isSmartRef__":true,"id":1005},{"__isSmartRef__":true,"id":1006},{"__isSmartRef__":true,"id":1007},{"__isSmartRef__":true,"id":1009},{"__isSmartRef__":true,"id":1010},{"__isSmartRef__":true,"id":1011},{"__isSmartRef__":true,"id":1012},{"__isSmartRef__":true,"id":1004},{"__isSmartRef__":true,"id":1005},{"__isSmartRef__":true,"id":1006},{"__isSmartRef__":true,"id":1007},{"__isSmartRef__":true,"id":1009},{"__isSmartRef__":true,"id":1010},{"__isSmartRef__":true,"id":1011},{"__isSmartRef__":true,"id":1012},{"__isSmartRef__":true,"id":1004},{"__isSmartRef__":true,"id":1005},{"__isSmartRef__":true,"id":1006},{"__isSmartRef__":true,"id":1007},{"__isSmartRef__":true,"id":1009},{"__isSmartRef__":true,"id":1010},{"__isSmartRef__":true,"id":1011},{"__isSmartRef__":true,"id":1012},{"__isSmartRef__":true,"id":1004},{"__isSmartRef__":true,"id":1005},{"__isSmartRef__":true,"id":1006},{"__isSmartRef__":true,"id":1007},{"__isSmartRef__":true,"id":1009},{"__isSmartRef__":true,"id":1010},{"__isSmartRef__":true,"id":1011},{"__isSmartRef__":true,"id":1012}],"__SourceModuleName__":"Global.lively.bindings.GeometryBindings","__LivelyClassName__":"lively.morphic.GeometryTransformConnection"},"1004":{"sourceObj":{"__isSmartRef__":true,"id":478},"sourceAttrName":"_Position","targetObj":{"__isSmartRef__":true,"id":1003},"targetMethodName":"signalTarget","dependedBy":{"__isSmartRef__":true,"id":1003},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1005":{"sourceObj":{"__isSmartRef__":true,"id":478},"sourceAttrName":"_Scale","targetObj":{"__isSmartRef__":true,"id":1003},"targetMethodName":"signalTarget","dependedBy":{"__isSmartRef__":true,"id":1003},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1006":{"sourceObj":{"__isSmartRef__":true,"id":478},"sourceAttrName":"_Rotation","targetObj":{"__isSmartRef__":true,"id":1003},"targetMethodName":"signalTarget","dependedBy":{"__isSmartRef__":true,"id":1003},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1007":{"sourceObj":{"__isSmartRef__":true,"id":478},"sourceAttrName":"owner","targetObj":{"__isSmartRef__":true,"id":1003},"targetMethodName":"updateOwners","converter":null,"converterString":"function (newOwner, oldOwner) {\n return [newOwner, oldOwner]\n }","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1008},"dependedBy":{"__isSmartRef__":true,"id":1003},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1008":{"source":{"__isSmartRef__":true,"id":478},"target":{"__isSmartRef__":true,"id":1003}},"1009":{"sourceObj":{"__isSmartRef__":true,"id":463},"sourceAttrName":"_Position","targetObj":{"__isSmartRef__":true,"id":1003},"targetMethodName":"signalTarget","dependedBy":{"__isSmartRef__":true,"id":1003},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1010":{"sourceObj":{"__isSmartRef__":true,"id":463},"sourceAttrName":"_Scale","targetObj":{"__isSmartRef__":true,"id":1003},"targetMethodName":"signalTarget","dependedBy":{"__isSmartRef__":true,"id":1003},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1011":{"sourceObj":{"__isSmartRef__":true,"id":463},"sourceAttrName":"_Rotation","targetObj":{"__isSmartRef__":true,"id":1003},"targetMethodName":"signalTarget","dependedBy":{"__isSmartRef__":true,"id":1003},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1012":{"sourceObj":{"__isSmartRef__":true,"id":463},"sourceAttrName":"owner","targetObj":{"__isSmartRef__":true,"id":1003},"targetMethodName":"updateOwners","converter":null,"converterString":"function (newOwner, oldOwner) {\n return [newOwner, oldOwner]\n }","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1013},"dependedBy":{"__isSmartRef__":true,"id":1003},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1013":{"source":{"__isSmartRef__":true,"id":463},"target":{"__isSmartRef__":true,"id":1003}},"1014":{"adjustForNewBounds":true},"1015":{"x":181.12746528553419,"y":67.00798003993009,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1016":{"resultFromServer":{"__isSmartRef__":true,"id":1017},"exec":{"__isSmartRef__":true,"id":1018}},"1017":{},"1018":{},"1019":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/nodejs/SandboxServer/run","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"1020":{"x":264,"y":92,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1021":{"reset":{"__isSmartRef__":true,"id":1022},"onServerDo":{"__isSmartRef__":true,"id":1025},"createServerProxy":{"__isSmartRef__":true,"id":1029},"exec":{"__isSmartRef__":true,"id":1032},"setExtent":{"__isSmartRef__":true,"id":1035},"setupConnections":{"__isSmartRef__":true,"id":1042}},"1022":{"varMapping":{"__isSmartRef__":true,"id":1023},"source":"function reset() {\n this.connections = {resultFromServer: {}, exec: {}};\n this.serverURL = new URL('http://lively-kernel.org/nodejs/SandboxServer/run');\n}","funcProperties":{"__isSmartRef__":true,"id":1024},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1023":{"this":{"__isSmartRef__":true,"id":478}},"1024":{},"1025":{"varMapping":{"__isSmartRef__":true,"id":1026},"source":"function onServerDo() {\n runOnCommandLine(\n 'mpstat -P ALL 1 1',\n function(result, send){ send(result) }\n )\n}","funcProperties":{"__isSmartRef__":true,"id":1027},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1026":{"this":{"__isSmartRef__":true,"id":478}},"1027":{"timestamp":{"__isSmartRef__":true,"id":1028},"user":"meineerde","tags":[]},"1028":{"isSerializedDate":true,"string":"Tue Nov 29 2011 20:44:04 GMT+0100 (CET)"},"1029":{"varMapping":{"__isSmartRef__":true,"id":1030},"source":"function createServerProxy() {\n module('server.nodejs.RemoteJSInterface').load(true)\n return new server.nodejs.JSRemoteServer(this.serverURL, this.getName());\n}","funcProperties":{"__isSmartRef__":true,"id":1031},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1030":{"this":{"__isSmartRef__":true,"id":478}},"1031":{},"1032":{"varMapping":{"__isSmartRef__":true,"id":1033},"source":"function exec() {\n var serverProxy = this.createServerProxy();\n connect(serverProxy, 'result', this, 'resultFromServer')\n serverProxy.evalOnServer('(' + this.onServerDo + ')()');\n}","funcProperties":{"__isSmartRef__":true,"id":1034},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1033":{"this":{"__isSmartRef__":true,"id":478}},"1034":{},"1035":{"varMapping":{"__isSmartRef__":true,"id":1036},"source":"function setExtent(value) {\n $super(value);\n var myCenter = this.get('runButton').bounds().topCenter(),\n labelCenter = this.get('nameLabel').bounds().bottomCenter().addXY(0,5);\n this.get('runButton').align(\n myCenter,\n labelCenter)\n}","funcProperties":{"__isSmartRef__":true,"id":1041},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1036":{"this":{"__isSmartRef__":true,"id":478},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1037}},"1037":{"$super":{"__isSmartRef__":true,"id":1038}},"1038":{"varMapping":{"__isSmartRef__":true,"id":1039},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":1040},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1039":{"obj":{"__isSmartRef__":true,"id":478},"name":"setExtent"},"1040":{},"1041":{},"1042":{"varMapping":{"__isSmartRef__":true,"id":1043},"source":"function setupConnections() {\n connect(this.get('runButton'), 'fire', this, 'exec')\n}","funcProperties":{"__isSmartRef__":true,"id":1044},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1043":{"this":{"__isSmartRef__":true,"id":478}},"1044":{},"1045":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":1046},{"__isSmartRef__":true,"id":1047}],"renderContextTable":{"__isSmartRef__":true,"id":1048},"_ClipMode":"visible","_Position":{"__isSmartRef__":true,"id":1049},"_Extent":{"__isSmartRef__":true,"id":1050},"_Padding":{"__isSmartRef__":true,"id":1051},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":12},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"1046":{"isAbsolute":true,"x":264,"y":92,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"1047":{"isAbsolute":true,"x":500.4752129506844,"y":102.52729105481765,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"1048":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML","getPathNode":"getPathNodeHTML","setPathElements":"setPathElementsHTML","getPathBounds":"getPathBoundsHTML","getTotalLength":"getTotalLengthHTML","getPointAtTotalLength":"getPointAtTotalLengthHTML"},"1049":{"x":263,"y":91,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1050":{"x":238,"y":12,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1051":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"1052":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1053":{"morph":{"__isSmartRef__":true,"id":463},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1054":{"morphMenuItems":{"__isSmartRef__":true,"id":1055}},"1055":{"varMapping":{"__isSmartRef__":true,"id":1056},"source":"function morphMenuItems() {\n var visualConnector = this, con = this.con, world = this.world();\n var items = [\n ['edit converter', function() {\n var source = con.converterString || \n 'function converter(value) {\\n return value\\n}',\n editor = new lively.morphic.Text(new Rectangle(0,0, 400, 200), source);\n editor.doitContext = con;\n connect(editor, 'savedTextString', con, 'converterString', {updater:\n function($upd, source) { this.targetObj.converter = null; $upd(source) }});\n connect(editor, 'savedTextString', world, 'alertOK', {converter: \n function() { return 'setting new converter' }})\n editor.applyStyle({syntaxHighlighting: true, \n fontFamily: 'Courier', resizeWidth: true, resizeHeight: true});\n var title = con.targetObj.name && con.sourceObj.name ?\n 'Editor for ' + con.targetObj.name + ' -> ' + con.sourceObj.name :\n 'Editor for converter function';\n var window = world.addFramedMorph(editor, title)\n window.align(window.bounds().topCenter(), \n visualConnector.bounds().bottomCenter())\n }],\n ['hide', function() {\n visualConnector.disconnectFromMagnets();\n visualConnector.remove();\n }],\n ['disconnect', function() {\n alertOK('Disconnected ' + visualConnector.con);\n visualConnector.con.visualDisconnect();\n }],\n ['cancel', function() {}],\n ];\n return items;\n }","funcProperties":{"__isSmartRef__":true,"id":1061},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1056":{"this":{"__isSmartRef__":true,"id":463},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1057}},"1057":{"$super":{"__isSmartRef__":true,"id":1058}},"1058":{"varMapping":{"__isSmartRef__":true,"id":1059},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":1060},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1059":{"obj":{"__isSmartRef__":true,"id":463},"name":"morphMenuItems"},"1060":{},"1061":{},"1062":{"morphMenuItems":{"__isSmartRef__":true,"id":1063}},"1063":{"varMapping":{"__isSmartRef__":true,"id":1064},"source":"function morphMenuItems() {\n var visualConnector = this, con = this.con, world = this.world();\n var items = [\n ['edit converter', function() {\n var source = con.converterString || \n 'function converter(value) {\\n return value\\n}',\n editor = new lively.morphic.Text(new Rectangle(0,0, 400, 200), source);\n editor.doitContext = con;\n connect(editor, 'savedTextString', con, 'converterString', {updater:\n function($upd, source) { this.targetObj.converter = null; $upd(source) }});\n connect(editor, 'savedTextString', world, 'alertOK', {converter: \n function() { return 'setting new converter' }})\n editor.applyStyle({syntaxHighlighting: true, \n fontFamily: 'Courier', resizeWidth: true, resizeHeight: true});\n var title = con.targetObj.name && con.sourceObj.name ?\n 'Editor for ' + con.targetObj.name + ' -> ' + con.sourceObj.name :\n 'Editor for converter function';\n var window = world.addFramedMorph(editor, title)\n window.align(window.bounds().topCenter(), \n visualConnector.bounds().bottomCenter())\n }],\n ['hide', function() {\n visualConnector.disconnectFromMagnets();\n visualConnector.remove();\n }],\n ['disconnect', function() {\n alertOK('Disconnected ' + visualConnector.con);\n visualConnector.con.visualDisconnect();\n }],\n ['cancel', function() {}],\n ];\n return items;\n }","funcProperties":{"__isSmartRef__":true,"id":1069},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1064":{"this":{"__isSmartRef__":true,"id":439},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1065}},"1065":{"$super":{"__isSmartRef__":true,"id":1066}},"1066":{"varMapping":{"__isSmartRef__":true,"id":1067},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":1068},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1067":{"obj":{"__isSmartRef__":true,"id":439},"name":"morphMenuItems"},"1068":{},"1069":{},"1070":{"sourceObj":{"__isSmartRef__":true,"id":28},"sourceAttrName":"_Position","targetObj":{"__isSmartRef__":true,"id":437},"targetMethodName":"signalTarget","dependedBy":{"__isSmartRef__":true,"id":437},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1071":{"sourceObj":{"__isSmartRef__":true,"id":28},"sourceAttrName":"_Scale","targetObj":{"__isSmartRef__":true,"id":437},"targetMethodName":"signalTarget","dependedBy":{"__isSmartRef__":true,"id":437},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1072":{"sourceObj":{"__isSmartRef__":true,"id":28},"sourceAttrName":"_Rotation","targetObj":{"__isSmartRef__":true,"id":437},"targetMethodName":"signalTarget","dependedBy":{"__isSmartRef__":true,"id":437},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1073":{"sourceObj":{"__isSmartRef__":true,"id":28},"sourceAttrName":"owner","targetObj":{"__isSmartRef__":true,"id":437},"targetMethodName":"updateOwners","converter":null,"converterString":"function (newOwner, oldOwner) {\n return [newOwner, oldOwner]\n }","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1074},"dependedBy":{"__isSmartRef__":true,"id":437},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1074":{"source":{"__isSmartRef__":true,"id":28},"target":{"__isSmartRef__":true,"id":437}},"1075":{"x":216,"y":130,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1076":{},"1077":{"receiveData":{"__isSmartRef__":true,"id":1078},"highEvent":{"__isSmartRef__":true,"id":1079},"lowEvent":{"__isSmartRef__":true,"id":1080},"average":{"__isSmartRef__":true,"id":1081}},"1078":{},"1079":{},"1080":{},"1081":{},"1082":{"date":{"__isSmartRef__":true,"id":1083},"data":1.9599999999999937},"1083":{"isSerializedDate":true,"string":"Wed Nov 30 2011 18:26:22 GMT+0100 (CET)"},"1084":{"date":{"__isSmartRef__":true,"id":1085},"data":0.9899999999999949},"1085":{"isSerializedDate":true,"string":"Wed Nov 30 2011 18:26:23 GMT+0100 (CET)"},"1086":{"date":{"__isSmartRef__":true,"id":1087},"data":8.870000000000005},"1087":{"isSerializedDate":true,"string":"Wed Nov 30 2011 18:26:23 GMT+0100 (CET)"},"1088":{"date":{"__isSmartRef__":true,"id":1089},"data":34.16},"1089":{"isSerializedDate":true,"string":"Wed Nov 30 2011 18:26:24 GMT+0100 (CET)"},"1090":{"date":{"__isSmartRef__":true,"id":1091},"data":51.74},"1091":{"isSerializedDate":true,"string":"Wed Nov 30 2011 18:26:24 GMT+0100 (CET)"},"1092":{"date":{"__isSmartRef__":true,"id":1093},"data":46},"1093":{"isSerializedDate":true,"string":"Wed Nov 30 2011 18:26:25 GMT+0100 (CET)"},"1094":{"date":{"__isSmartRef__":true,"id":1095},"data":22.769999999999996},"1095":{"isSerializedDate":true,"string":"Wed Nov 30 2011 18:26:25 GMT+0100 (CET)"},"1096":{"date":{"__isSmartRef__":true,"id":1097},"data":3.9599999999999937},"1097":{"isSerializedDate":true,"string":"Wed Nov 30 2011 18:26:26 GMT+0100 (CET)"},"1098":{"date":{"__isSmartRef__":true,"id":1099},"data":1.9899999999999949},"1099":{"isSerializedDate":true,"string":"Wed Nov 30 2011 18:26:26 GMT+0100 (CET)"},"1100":{"date":{"__isSmartRef__":true,"id":1101},"data":2.0900000000000034},"1101":{"isSerializedDate":true,"string":"Wed Nov 30 2011 18:26:27 GMT+0100 (CET)"},"1102":{"date":{"__isSmartRef__":true,"id":1103},"data":1.5499999999999972},"1103":{"isSerializedDate":true,"string":"Wed Nov 30 2011 18:26:27 GMT+0100 (CET)"},"1104":{"date":{"__isSmartRef__":true,"id":1105},"data":7.769999999999996},"1105":{"isSerializedDate":true,"string":"Wed Nov 30 2011 18:26:28 GMT+0100 (CET)"},"1106":{"date":{"__isSmartRef__":true,"id":1107},"data":15.530000000000001},"1107":{"isSerializedDate":true,"string":"Wed Nov 30 2011 18:26:28 GMT+0100 (CET)"},"1108":{"date":{"__isSmartRef__":true,"id":1109},"data":9.310000000000002},"1109":{"isSerializedDate":true,"string":"Wed Nov 30 2011 18:26:29 GMT+0100 (CET)"},"1110":{"date":{"__isSmartRef__":true,"id":1111},"data":1.4699999999999989},"1111":{"isSerializedDate":true,"string":"Wed Nov 30 2011 18:26:29 GMT+0100 (CET)"},"1112":{"date":{"__isSmartRef__":true,"id":1113},"data":2.450000000000003},"1113":{"isSerializedDate":true,"string":"Wed Nov 30 2011 18:26:30 GMT+0100 (CET)"},"1114":{"date":{"__isSmartRef__":true,"id":1115},"data":1.9699999999999989},"1115":{"isSerializedDate":true,"string":"Wed Nov 30 2011 18:26:30 GMT+0100 (CET)"},"1116":{"date":{"__isSmartRef__":true,"id":1117},"data":1.4899999999999949},"1117":{"isSerializedDate":true,"string":"Wed Nov 30 2011 18:26:31 GMT+0100 (CET)"},"1118":{"date":{"__isSmartRef__":true,"id":1119},"data":0.9899999999999949},"1119":{"isSerializedDate":true,"string":"Wed Nov 30 2011 18:26:31 GMT+0100 (CET)"},"1120":{"date":{"__isSmartRef__":true,"id":1121},"data":1.9399999999999977},"1121":{"isSerializedDate":true,"string":"Wed Nov 30 2011 18:26:32 GMT+0100 (CET)"},"1122":{"date":{"__isSmartRef__":true,"id":1123},"data":5.8799999999999955},"1123":{"isSerializedDate":true,"string":"Wed Nov 30 2011 18:26:32 GMT+0100 (CET)"},"1124":{"date":{"__isSmartRef__":true,"id":1125},"data":30.349999999999994},"1125":{"isSerializedDate":true,"string":"Wed Nov 30 2011 18:26:33 GMT+0100 (CET)"},"1126":{"date":{"__isSmartRef__":true,"id":1127},"data":40.96},"1127":{"isSerializedDate":true,"string":"Wed Nov 30 2011 18:26:33 GMT+0100 (CET)"},"1128":{"date":{"__isSmartRef__":true,"id":1129},"data":16.58},"1129":{"isSerializedDate":true,"string":"Wed Nov 30 2011 18:26:34 GMT+0100 (CET)"},"1130":{"date":{"__isSmartRef__":true,"id":1131},"data":3.6599999999999966},"1131":{"isSerializedDate":true,"string":"Wed Nov 30 2011 18:26:34 GMT+0100 (CET)"},"1132":{"date":{"__isSmartRef__":true,"id":1133},"data":26.239999999999995},"1133":{"isSerializedDate":true,"string":"Wed Nov 30 2011 18:26:35 GMT+0100 (CET)"},"1134":{"date":{"__isSmartRef__":true,"id":1135},"data":51.24},"1135":{"isSerializedDate":true,"string":"Wed Nov 30 2011 18:26:35 GMT+0100 (CET)"},"1136":{"date":{"__isSmartRef__":true,"id":1137},"data":51},"1137":{"isSerializedDate":true,"string":"Wed Nov 30 2011 18:26:36 GMT+0100 (CET)"},"1138":{"x":171,"y":201,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1139":{"receiveData":{"__isSmartRef__":true,"id":1140},"reset":{"__isSmartRef__":true,"id":1144},"updateAverage":{"__isSmartRef__":true,"id":1148},"emitHighEvent":{"__isSmartRef__":true,"id":1152},"emitLowEvent":{"__isSmartRef__":true,"id":1156},"setupConnections":{"__isSmartRef__":true,"id":1160}},"1140":{"varMapping":{"__isSmartRef__":true,"id":1141},"source":"function receiveData(data) {\n var highLimit = Number(this.get('highLimit').textString),\n emitRate = Number(this.get('emitRate').textString) * 1000,\n data = Number(data),\n now = new Date();\n\n var average = this.updateAverage(now, data);\n if (this.lastEventDate < (now - emitRate)) {\n if (average > highLimit && (this.lastEventMsg == 'low')) {\n lively.bindings.signal(this, 'highEvent', average);\n this.lastEventDate = now;\n this.lastEventMsg = 'high';\n } else if (average <= highLimit && (this.lastEventMsg == 'high')) {\n lively.bindings.signal(this, 'lowEvent', average);\n this.lastEventDate = now;\n this.lastEventMsg = 'low';\n }\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1142},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1141":{"this":{"__isSmartRef__":true,"id":28}},"1142":{"timestamp":{"__isSmartRef__":true,"id":1143},"user":"meineerde","tags":[]},"1143":{"isSerializedDate":true,"string":"Tue Nov 29 2011 21:12:40 GMT+0100 (CET)"},"1144":{"varMapping":{"__isSmartRef__":true,"id":1145},"source":"function reset() {\n this.averageData = new Array();\n\n this.lastEventDate = new Date() - Number(this.get('emitRate').textString) * 1000;\n this.lastEventMsg = 'low';\n}","funcProperties":{"__isSmartRef__":true,"id":1146},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1145":{"this":{"__isSmartRef__":true,"id":28}},"1146":{"timestamp":{"__isSmartRef__":true,"id":1147},"user":"meineerde","tags":[]},"1147":{"isSerializedDate":true,"string":"Tue Nov 29 2011 20:54:20 GMT+0100 (CET)"},"1148":{"varMapping":{"__isSmartRef__":true,"id":1149},"source":"function updateAverage(date, data) {\n var history = Number(this.get('emitRate').textString) * 1000;\n\n // add new element\n this.averageData.push({date: date, data: data});\n\n // remove old elements\n while ((this.averageData.length < 1) || ((this.averageData[0].date.getTime() + history) < date.getTime())) {\n this.averageData.shift();\n }\n\n // calculate average\n for(var i=0,sum=0;i ' + con.sourceObj.name :\n 'Editor for converter function';\n var window = world.addFramedMorph(editor, title)\n window.align(window.bounds().topCenter(), \n visualConnector.bounds().bottomCenter())\n }],\n ['hide', function() {\n visualConnector.disconnectFromMagnets();\n visualConnector.remove();\n }],\n ['disconnect', function() {\n alertOK('Disconnected ' + visualConnector.con);\n visualConnector.con.visualDisconnect();\n }],\n ['cancel', function() {}],\n ];\n return items;\n }","funcProperties":{"__isSmartRef__":true,"id":1172},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1167":{"this":{"__isSmartRef__":true,"id":1},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1168}},"1168":{"$super":{"__isSmartRef__":true,"id":1169}},"1169":{"varMapping":{"__isSmartRef__":true,"id":1170},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":1171},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1170":{"obj":{"__isSmartRef__":true,"id":1},"name":"morphMenuItems"},"1171":{},"1172":{},"1173":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1174},"id":2,"renderContextTable":{"__isSmartRef__":true,"id":1180},"eventHandler":{"__isSmartRef__":true,"id":1181},"droppingEnabled":false,"halosEnabled":false,"_world":{"__isSmartRef__":true,"id":0},"eventsAreIgnored":true,"_HandStyle":"default","_PointerEvents":"none","priorExtent":{"__isSmartRef__":true,"id":1182},"__SourceModuleName__":"Global.lively.morphic.Events","clickedOnMorph":{"__isSmartRef__":true,"id":0},"carriesGrabbedMorphs":false,"internalClickedOnMorph":{"__isSmartRef__":true,"id":0},"scrollFocusMorph":{"__isSmartRef__":true,"id":0},"lastScrollTime":1322668963255,"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Position":{"__isSmartRef__":true,"id":1183},"_Scale":1,"_Rotation":0,"owner":{"__isSmartRef__":true,"id":0},"__LivelyClassName__":"lively.morphic.HandMorph","withLayers":["Global.NoMagnetsLayer"]},"1174":{"_Position":{"__isSmartRef__":true,"id":1175},"renderContextTable":{"__isSmartRef__":true,"id":1176},"_Extent":{"__isSmartRef__":true,"id":1177},"_Fill":{"__isSmartRef__":true,"id":1178},"__SourceModuleName__":"Global.lively.morphic.Shapes","_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1179},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1175":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1176":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1177":{"x":2,"y":2,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1178":{"r":0.8,"g":0,"b":0,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1179":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"1180":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1181":{"morph":{"__isSmartRef__":true,"id":1173},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1182":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1183":{"x":320,"y":158,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1184":{"_Position":{"__isSmartRef__":true,"id":1185},"renderContextTable":{"__isSmartRef__":true,"id":1186},"_Extent":{"__isSmartRef__":true,"id":1187},"_Fill":{"__isSmartRef__":true,"id":1188},"__SourceModuleName__":"Global.lively.morphic.Shapes","_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1189},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1185":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1186":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1187":{"x":1024,"y":768,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1188":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1189":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"1190":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setScroll":"setScrollHTML"},"1191":{"morph":{"__isSmartRef__":true,"id":0},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1192":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1193":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"1194":{"name":"Local code","__LivelyClassName__":"ChangeSet","__SourceModuleName__":"Global.lively.ChangeSet"},"1195":{"sourceObj":{"__isSmartRef__":true,"id":0},"sourceAttrName":"savedWorldAsURL","targetObj":{"__isSmartRef__":true,"id":0},"targetMethodName":"visitNewPageAfterSaveAs","converter":null,"converterString":null,"updaterString":"function ($upd, v) { \n if (v && v.toString() !== URL.source.toString()) {\n $upd(v) \n }\n }","varMapping":{"__isSmartRef__":true,"id":1196},"__SourceModuleName__":"Global.lively.bindings","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1197},"__LivelyClassName__":"AttributeConnection"},"1196":{"source":{"__isSmartRef__":true,"id":0},"target":{"__isSmartRef__":true,"id":0}},"1197":{"updater":{"__isSmartRef__":true,"id":1198}},"1198":{"originalFunc":null,"varMapping":{"__isSmartRef__":true,"id":1196},"source":"function ($upd, v) { \n if (v && v.toString() !== URL.source.toString()) {\n $upd(v) \n }\n }","funcProperties":{"__isSmartRef__":true,"id":1199},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"1199":{},"1200":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/users/hjust/playground.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"isSimplifiedRegistry":true}}]]>