def ERVisualiser(**dictArgs): """\ - particleTypes - laws - simCyclesPerRedraw - extraWindowFurniture """ # # Allow particleTypes to be overridden # args = dict(dictArgs) particleTypes = { "entity": PEntity, "relation": PRelation.Relation, "isa": PISA.Isa, "attribute": PAttribute.Attribute, } # particleTypes.update( (args.get("particleTypes",{})) ) args["particleTypes"] = particleTypes args.pop("laws", None) return _TopologyViewer(laws=AxonLaws(), simCyclesPerRedraw=3, showGrid=False, extraDrawing=ExtraWindowFurniture(), **args)
def AxonVisualiser(**dictArgs): """\ AxonVisualiserServer(...) -> new AxonVisualiserServer component. A specialisation of the TopologyViewerServer component for viewing Axon/Kamaelia systems. Keyword arguments are those for TopologyViewerServer, excluding: - particleTypes - laws - simCyclesPerRedraw - extraWindowFurniture """ # # Allow particleTypes to be overridden # args = dict(dictArgs) particleTypes = { "component": PComponent, "inbox": PPostbox.Inbox, "outbox": PPostbox.Outbox } # particleTypes.update( (args.get("particleTypes",{})) ) args["particleTypes"] = particleTypes args.pop("laws", None) return _TopologyViewer(laws=AxonLaws(), simCyclesPerRedraw=3, extraDrawing=ExtraWindowFurniture(), **args)
def AxonVisualiser( **dictArgs): """\ AxonVisualiserServer(...) -> new AxonVisualiserServer component. A specialisation of the TopologyViewerServer component for viewing Axon/Kamaelia systems. Keyword arguments are those for TopologyViewerServer, excluding: - particleTypes - laws - simCyclesPerRedraw - extraWindowFurniture """ # # Allow particleTypes to be overridden # args = dict(dictArgs) particleTypes = { "component" : PComponent, "inbox" : PPostbox.Inbox, "outbox" : PPostbox.Outbox } # particleTypes.update( (args.get("particleTypes",{})) ) args["particleTypes"] = particleTypes args.pop("laws", None) return _TopologyViewer( laws = AxonLaws(), simCyclesPerRedraw = 3, extraDrawing = ExtraWindowFurniture(), **args )
def ERVisualiser( **dictArgs): """\ - particleTypes - laws - simCyclesPerRedraw - extraWindowFurniture """ # # Allow particleTypes to be overridden # args = dict(dictArgs) particleTypes = { "entity" : PEntity, "relation" : PRelation.Relation, "isa" : PISA.Isa, "attribute" : PAttribute.Attribute, } # particleTypes.update( (args.get("particleTypes",{})) ) args["particleTypes"] = particleTypes args.pop("laws", None) return _TopologyViewer( laws = AxonLaws(), simCyclesPerRedraw = 3, showGrid = False, extraDrawing = ExtraWindowFurniture(), **args )