Module

GoJS.Tool

Package
purescript-gojs
Repository
AdaBeat/purescript-gojs

Re-exports from GoJS.Tool.LinkingBaseTool.Methods

#setNoTargetPortProperties_ Source

setNoTargetPortProperties_ :: forall n g t. IsLinkingBaseTool t => IsNode n => IsGraphObject g => n -> g -> Boolean -> t -> Effect Unit

#isValidTo_ Source

isValidTo_ :: forall n g t. IsLinkingBaseTool t => IsNode n => IsGraphObject g => n -> g -> t -> Effect Boolean

#isValidFrom_ Source

isValidFrom_ :: forall n g t. IsLinkingBaseTool t => IsNode n => IsGraphObject g => n -> g -> t -> Effect Boolean

#isValidCycle_ Source

isValidCycle_ :: forall n1 n2 t. IsLinkingBaseTool t => IsNode n1 => IsNode n2 => n1 -> n2 -> t -> Effect Boolean

#isLinked_ Source

isLinked_ :: forall g1 g2 t. IsLinkingBaseTool t => IsGraphObject g1 => IsGraphObject g2 => g1 -> g2 -> t -> Effect Boolean

#isInSameNode_ Source

isInSameNode_ :: forall g1 g2 t. IsLinkingBaseTool t => IsGraphObject g1 => IsGraphObject g2 => g1 -> g2 -> t -> Effect Boolean

#findTargetPort_ Source

findTargetPort_ :: forall @g t. IsLinkingBaseTool t => IsGraphObject g => Boolean -> t -> Effect (Maybe g)

#copyPortProperties_ Source

copyPortProperties_ :: forall n1 g1 n2 g2 t. IsLinkingBaseTool t => IsNode n1 => IsGraphObject g1 => IsNode n2 => IsGraphObject g2 => Boolean -> n1 -> g1 -> n2 -> g2 -> t -> Effect Unit

Re-exports from GoJS.Tool.LinkingBaseTool.Properties

#_temporaryToPort Source

_temporaryToPort :: forall t @p. IsLinkingBaseTool t => IsGraphObject p => t -> p

#_temporaryToNode Source

_temporaryToNode :: forall t @n. IsLinkingBaseTool t => IsNode n => t -> n

#_temporaryFromPort Source

_temporaryFromPort :: forall t @p. IsLinkingBaseTool t => IsGraphObject p => t -> p

#_temporaryFromNode Source

_temporaryFromNode :: forall t @n. IsLinkingBaseTool t => IsNode n => t -> n

#_targetPort Source

_targetPort :: forall t @p. IsLinkingBaseTool t => IsGraphObject p => t -> p

#_portTargeted Source

_portTargeted :: forall t n1 p1 n2 p2. IsLinkingBaseTool t => IsNode n1 => IsGraphObject p1 => IsNode n2 => IsGraphObject p2 => t -> EffectFn5 n1 p1 n2 p2 Boolean Unit

#_portGravity Source

_portGravity :: forall t. IsLinkingBaseTool t => t -> Number

#_originalToPort Source

_originalToPort :: forall t @p. IsLinkingBaseTool t => IsGraphObject p => t -> p

#_originalToNode Source

_originalToNode :: forall t @n. IsLinkingBaseTool t => IsNode n => t -> n

#_originalFromPort Source

_originalFromPort :: forall t @p. IsLinkingBaseTool t => IsGraphObject p => t -> p

#_originalFromNode Source

_originalFromNode :: forall t @n. IsLinkingBaseTool t => IsNode n => t -> n

#_linkingCursor Source

_linkingCursor :: forall t. IsLinkingBaseTool t => t -> String

#_linkValidation Source

_linkValidation :: forall t n1 p1 n2 p2. IsLinkingBaseTool t => IsNode n1 => IsGraphObject p1 => IsNode n2 => IsGraphObject p2 => t -> EffectFn5 n1 p1 n2 p2 Link_ Boolean

#_isUnconnectedLinkValid Source

#_isForwards Source

_isForwards :: forall t. IsLinkingBaseTool t => t -> Boolean

Re-exports from GoJS.Tool.Methods

#updateAdornments_ Source

updateAdornments_ :: forall t p. IsTool t => IsPart p => p -> t -> Effect Unit

#stopTransaction_ Source

stopTransaction_ :: forall t. IsTool t => t -> Effect Boolean

#stopTool_ Source

stopTool_ :: forall t. IsTool t => t -> Effect Unit

#startTransaction_ Source

startTransaction_ :: forall t. IsTool t => String -> t -> Effect Boolean

#standardWaitAfter_ Source

standardWaitAfter_ :: forall t d. IsTool t => Number -> InputEvent_ d -> t -> Effect Unit

#standardPinchZoomStart_ Source

standardPinchZoomStart_ :: forall t. IsTool t => t -> Effect Unit

#standardPinchZoomMove_ Source

standardPinchZoomMove_ :: forall t. IsTool t => t -> Effect Unit

#standardMouseWheel_ Source

standardMouseWheel_ :: forall t. IsTool t => t -> Effect Unit

#standardMouseSelect_ Source

standardMouseSelect_ :: forall t. IsTool t => t -> Effect Unit

#standardMouseOver_ Source

standardMouseOver_ :: forall t. IsTool t => t -> Effect Unit

#standardMouseClick_ Source

standardMouseClick_ :: forall t. IsTool t => t -> Effect Boolean

#isBeyondDragSize_ Source

isBeyondDragSize_ :: forall t. IsTool t => t -> Effect Boolean

#findToolHandleAt_ Source

findToolHandleAt_ :: forall t @g. IsTool t => IsGraphObject g => Point_ -> t -> Effect (Maybe g)

#doWaitAfter_ Source

doWaitAfter_ :: forall t d. IsTool t => t -> InputEvent_ d -> Effect Unit

#doStop_ Source

doStop_ :: forall t. IsTool t => t -> Effect Unit

#doStart_ Source

doStart_ :: forall t. IsTool t => t -> Effect Unit

#doMouseWheel_ Source

doMouseWheel_ :: forall t. IsTool t => t -> Effect Boolean

#doMouseUp_ Source

doMouseUp_ :: forall t. IsTool t => t -> Effect Boolean

#doMouseMove_ Source

doMouseMove_ :: forall t. IsTool t => t -> Effect Boolean

#doMouseDown_ Source

doMouseDown_ :: forall t. IsTool t => t -> Effect Boolean

#doKeyUp_ Source

doKeyUp_ :: forall t. IsTool t => t -> Effect Boolean

#doKeyDown_ Source

doKeyDown_ :: forall t. IsTool t => t -> Effect Boolean

#doDeactivate_ Source

doDeactivate_ :: forall t. IsTool t => t -> Effect Unit

#doCancel_ Source

doCancel_ :: forall t. IsTool t => t -> Effect Unit

#doActivate_ Source

doActivate_ :: forall t. IsTool t => t -> Effect Unit

#cancelWaitAfter_ Source

cancelWaitAfter_ :: forall t. IsTool t => t -> Effect Unit

#canStart_ Source

canStart_ :: forall t. IsTool t => t -> Effect Boolean

#canStartMultiTouch_ Source

canStartMultiTouch_ :: forall t. IsTool t => t -> Effect Boolean

Re-exports from GoJS.Tool.MouseDownTools

#setReshapingBehavior_ Source

#getReshapingBehavior_ Source

#copyLinkProperties_ Source

#computeRotationPoint_ Source

Re-exports from GoJS.Tool.MouseMoveTools

#findLinkablePort_ Source

#findDraggablePart_ Source

#computeMove_ Source

computeMove_ :: forall n. IsNode n => n -> Point_ -> DraggingTool_ -> Effect Point_

Re-exports from GoJS.Tool.MouseUpTools

#showContextMenu_ Source

#positionContextMenu_ Source

#insertPart_ Source

insertPart_ :: forall p. IsPart p => p -> ClickCreatingTool_ -> Effect p

#findGraphObjectWithContextMenu_ Source

#findDiagramWithContextMenu_ Source

Re-exports from GoJS.Tool.Properties

#_transactionResult Source

_transactionResult :: forall t. IsTool t => t -> Maybe String

#_name Source

_name :: forall t. IsTool t => t -> String

#_isEnabled Source

_isEnabled :: forall t. IsTool t => t -> Boolean

#_isActive Source

_isActive :: forall t. IsTool t => t -> Boolean

#_diagram Source

_diagram :: forall t @d. IsTool t => IsDiagram d => t -> d

Re-exports from GoJS.Tool.ToolManager.Methods

#showToolTip_ Source

#replaceTool_ Source

replaceTool_ :: forall t. IsTool t => String -> Nullable t -> ToolManager_ -> Effect (Maybe t)

#positionToolTip_ Source

#findTool_ Source

findTool_ :: forall @t. String -> ToolManager_ -> Effect (Maybe t)

#doToolTip_ Source

doToolTip_ :: forall g. IsGraphObject g => g -> ToolManager_ -> Effect Unit

#doMouseHover_ Source

Re-exports from GoJS.Tool.ToolManager.Properties

Re-exports from GoJS.Tool.Types

#Tool_ Source

data Tool_

#ToolManager_ Source

#TextEditingTool_ Source

#RotatingTool_ Source

#ResizingTool_ Source

#RelinkingTool_ Source

#PanningTool_ Source

#LinkingTool_ Source

#LinkReshapingTool_ Source

#HTMLInfo_ Source

#DraggingTool_ Source

#DragSelectingTool_ Source

#ContextMenuTool_ Source

#ClickSelectingTool_ Source

#ClickCreatingTool_ Source

#ActionTool_ Source

data ActionTool_

Tool types.

Instances

Modules
GoJS.Class
GoJS.Collection
GoJS.Debug
GoJS.Diagram
GoJS.Diagram.Animation.Constructors
GoJS.Diagram.Animation.Methods
GoJS.Diagram.Animation.Properties
GoJS.Diagram.AnimationManager.Constructors
GoJS.Diagram.AnimationManager.Methods
GoJS.Diagram.AnimationManager.Properties
GoJS.Diagram.AnimationManager.Static
GoJS.Diagram.AnimationTrigger.Constructors
GoJS.Diagram.AnimationTrigger.Methods
GoJS.Diagram.AnimationTrigger.Properties
GoJS.Diagram.CommandHandler.Methods
GoJS.Diagram.CommandHandler.Properties
GoJS.Diagram.CommandHandler.Types
GoJS.Diagram.Constructors
GoJS.Diagram.DiagramEvent.Properties
GoJS.Diagram.DraggingInfo.Constructors
GoJS.Diagram.DraggingInfo.Properties
GoJS.Diagram.DraggingOptions.Constructors
GoJS.Diagram.DraggingOptions.Properties
GoJS.Diagram.InputEvent.Methods
GoJS.Diagram.InputEvent.Properties
GoJS.Diagram.Layer.Constructors
GoJS.Diagram.Layer.Methods
GoJS.Diagram.Layer.Properties
GoJS.Diagram.Layout.Constants
GoJS.Diagram.Layout.Methods
GoJS.Diagram.Methods
GoJS.Diagram.Overview.Constructors
GoJS.Diagram.Overview.Properties
GoJS.Diagram.Palette.Constructors
GoJS.Diagram.Properties
GoJS.Diagram.Types
GoJS.EnumValue
GoJS.Geometry.Brush.BrushPattern
GoJS.Geometry.Brush.Methods
GoJS.Geometry.Brush.Properties
GoJS.Geometry.Brush.Static
GoJS.Geometry.Constructors
GoJS.Geometry.Margin.Constructors
GoJS.Geometry.Margin.Methods
GoJS.Geometry.Margin.Properties
GoJS.Geometry.Margin.Static
GoJS.Geometry.Methods
GoJS.Geometry.PathFigure.Constructors
GoJS.Geometry.PathFigure.Methods
GoJS.Geometry.PathFigure.Properties
GoJS.Geometry.PathSegment.Constructors
GoJS.Geometry.PathSegment.Methods
GoJS.Geometry.PathSegment.Properties
GoJS.Geometry.Point.Constructors
GoJS.Geometry.Point.Methods
GoJS.Geometry.Point.Properties
GoJS.Geometry.Point.Static
GoJS.Geometry.Properties
GoJS.Geometry.Rect.Constructors
GoJS.Geometry.Rect.Methods
GoJS.Geometry.Rect.Properties
GoJS.Geometry.Rect.Static
GoJS.Geometry.Size.Constructors
GoJS.Geometry.Size.Methods
GoJS.Geometry.Size.Properties
GoJS.Geometry.Size.Static
GoJS.Geometry.Spot
GoJS.Geometry.Spot.Methods
GoJS.Geometry.Spot.Properties
GoJS.Geometry.Spot.Static
GoJS.Geometry.Static
GoJS.Geometry.Types
GoJS.GraphObject.Constructors
GoJS.GraphObject.Methods
GoJS.GraphObject.Panel.Methods
GoJS.GraphObject.Panel.Part.Adornment.Properties
GoJS.GraphObject.Panel.Part.Link.Methods
GoJS.GraphObject.Panel.Part.Link.Properties
GoJS.GraphObject.Panel.Part.Methods
GoJS.GraphObject.Panel.Part.Node.Group.Methods
GoJS.GraphObject.Panel.Part.Node.Group.Properties
GoJS.GraphObject.Panel.Part.Node.Methods
GoJS.GraphObject.Panel.Part.Node.Properties
GoJS.GraphObject.Panel.Part.Properties
GoJS.GraphObject.Panel.Properties
GoJS.GraphObject.Picture.Methods
GoJS.GraphObject.Picture.PictureElement
GoJS.GraphObject.Picture.Properties
GoJS.GraphObject.Placeholder.Constructors
GoJS.GraphObject.Placeholder.Properties
GoJS.GraphObject.Properties
GoJS.GraphObject.Shape.Properties
GoJS.GraphObject.Shape.Static
GoJS.GraphObject.TextBlock.Properties
GoJS.GraphObject.TextBlock.Static
GoJS.GraphObject.Types
GoJS.Key
GoJS.Layout
GoJS.Layout.CircularLayout.Constructors
GoJS.Layout.CircularLayout.Methods
GoJS.Layout.CircularLayout.Properties
GoJS.Layout.ForceDirectedLayout.Constructors
GoJS.Layout.ForceDirectedLayout.Methods
GoJS.Layout.ForceDirectedLayout.Properties
GoJS.Layout.GridLayout.Constructors
GoJS.Layout.GridLayout.Properties
GoJS.Layout.LayeredDigraphLayout.Constructors
GoJS.Layout.LayeredDigraphLayout.Properties
GoJS.Layout.LayoutEdge.CircularEdge.Constructors
GoJS.Layout.LayoutEdge.ForceDirectedEdge.Constructors
GoJS.Layout.LayoutEdge.ForceDirectedEdge.Properties
GoJS.Layout.LayoutEdge.LayeredDigraphEdge.Constructors
GoJS.Layout.LayoutEdge.LayeredDigraphEdge.Properties
GoJS.Layout.LayoutEdge.Methods
GoJS.Layout.LayoutEdge.Properties
GoJS.Layout.LayoutEdge.TreeEdge.Constructors
GoJS.Layout.LayoutEdge.TreeEdge.Properties
GoJS.Layout.LayoutNetwork.Constructors
GoJS.Layout.LayoutNetwork.Methods
GoJS.Layout.LayoutNetwork.Properties
GoJS.Layout.LayoutVertex.CircularVertex.Constructors
GoJS.Layout.LayoutVertex.CircularVertex.Properties
GoJS.Layout.LayoutVertex.ForceDirectedVertex.Constructors
GoJS.Layout.LayoutVertex.ForceDirectedVertex.Properties
GoJS.Layout.LayoutVertex.LayeredDigraphVertex.Constructors
GoJS.Layout.LayoutVertex.LayeredDigraphVertex.Properties
GoJS.Layout.LayoutVertex.Methods
GoJS.Layout.LayoutVertex.Properties
GoJS.Layout.LayoutVertex.Static
GoJS.Layout.LayoutVertex.TreeVertex.Constructors
GoJS.Layout.LayoutVertex.TreeVertex.Methods
GoJS.Layout.LayoutVertex.TreeVertex.Properties
GoJS.Layout.Properties
GoJS.Layout.TreeLayout.Constructors
GoJS.Layout.TreeLayout.Properties
GoJS.Layout.Types
GoJS.Model
GoJS.Model.Binding.Constructors
GoJS.Model.Binding.Methods
GoJS.Model.Binding.Properties
GoJS.Model.Binding.Static
GoJS.Model.ChangedEvent.Constructors
GoJS.Model.ChangedEvent.Methods
GoJS.Model.ChangedEvent.Properties
GoJS.Model.Constructors
GoJS.Model.GraphLinksModel.Constructors
GoJS.Model.GraphLinksModel.Methods
GoJS.Model.GraphLinksModel.Properties
GoJS.Model.Methods
GoJS.Model.Properties
GoJS.Model.Static
GoJS.Model.Transaction.Constructors
GoJS.Model.Transaction.Methods
GoJS.Model.Transaction.Properties
GoJS.Model.TreeModel.Constructors
GoJS.Model.TreeModel.Methods
GoJS.Model.TreeModel.Properties
GoJS.Model.Types
GoJS.Model.UndoManager.Constructors
GoJS.Model.UndoManager.Methods
GoJS.Model.UndoManager.Properties
GoJS.Prototype
GoJS.RowColumnDefinition.Constructors
GoJS.RowColumnDefinition.Methods
GoJS.RowColumnDefinition.Properties
GoJS.RowColumnDefinition.Types
GoJS.Tool
GoJS.Tool.HTMLInfo.Constructors
GoJS.Tool.HTMLInfo.Properties
GoJS.Tool.LinkingBaseTool.Methods
GoJS.Tool.LinkingBaseTool.Properties
GoJS.Tool.LinkingBaseTool.Types
GoJS.Tool.Methods
GoJS.Tool.MouseDownTools
GoJS.Tool.MouseDownTools.ActionTool.Constructors
GoJS.Tool.MouseDownTools.LinkReshapingTool.Constructors
GoJS.Tool.MouseDownTools.LinkReshapingTool.Methods
GoJS.Tool.MouseDownTools.LinkReshapingTool.Properties
GoJS.Tool.MouseDownTools.RelinkingTool.Constructors
GoJS.Tool.MouseDownTools.RelinkingTool.Methods
GoJS.Tool.MouseDownTools.RelinkingTool.Properties
GoJS.Tool.MouseDownTools.ResizingTool.Constructors
GoJS.Tool.MouseDownTools.ResizingTool.Methods
GoJS.Tool.MouseDownTools.ResizingTool.Properties
GoJS.Tool.MouseDownTools.RotatingTool.Constructors
GoJS.Tool.MouseDownTools.RotatingTool.Methods
GoJS.Tool.MouseDownTools.RotatingTool.Properties
GoJS.Tool.MouseMoveTools
GoJS.Tool.MouseMoveTools.DragSelectingTool.Constructors
GoJS.Tool.MouseMoveTools.DragSelectingTool.Methods
GoJS.Tool.MouseMoveTools.DraggingTool.Constructors
GoJS.Tool.MouseMoveTools.DraggingTool.Methods
GoJS.Tool.MouseMoveTools.LinkingTool.Constructors
GoJS.Tool.MouseMoveTools.LinkingTool.Methods
GoJS.Tool.MouseMoveTools.LinkingTool.Properties
GoJS.Tool.MouseMoveTools.PanningTool.Constructors
GoJS.Tool.MouseMoveTools.PanningTool.Properties
GoJS.Tool.MouseUpTools
GoJS.Tool.MouseUpTools.ClickCreatingTool.Constructors
GoJS.Tool.MouseUpTools.ClickCreatingTool.Methods
GoJS.Tool.MouseUpTools.ClickSelectingTool.Constructors
GoJS.Tool.MouseUpTools.ContextMenuTool.Constructors
GoJS.Tool.MouseUpTools.ContextMenuTool.Methods
GoJS.Tool.MouseUpTools.ContextMenuTool.Properties
GoJS.Tool.MouseUpTools.TextEditingTool.Constructors
GoJS.Tool.MouseUpTools.TextEditingTool.Properties
GoJS.Tool.Properties
GoJS.Tool.ToolManager.Methods
GoJS.Tool.ToolManager.Properties
GoJS.Tool.Types
GoJS.Unsafe
GoJS.Unsafe.Constructor
GoJS.Unsafe.Get
GoJS.Unsafe.InstanceOf
GoJS.Unsafe.Method
GoJS.Unsafe.Prototype
GoJS.Unsafe.Set
GoJS.Unsafe.Static