Module

GoJS.Diagram.Methods

Package
purescript-gojs
Repository
AdaBeat/purescript-gojs

#addNodeTemplate_ Source

addNodeTemplate_ :: forall d n. String -> n -> d -> Effect Unit

#addLinkTemplate_ Source

addLinkTemplate_ :: forall d l. String -> l -> d -> Effect Unit

#addGroupTemplate_ Source

addGroupTemplate_ :: forall d g. String -> g -> d -> Effect Unit

#add_ Source

add_ :: forall d p. IsDiagram d => IsPart p => p -> d -> Effect Unit

#addDiagramListener_ Source

addDiagramListener_ :: forall d s. IsDiagram d => String -> (Fn1 (DiagramEvent_ s) Unit) -> d -> Effect d

#addLayer_ Source

addLayer_ :: forall d. IsDiagram d => Layer_ -> d -> Effect d

#addLayerAfter_ Source

addLayerAfter_ :: forall d. IsDiagram d => Layer_ -> Layer_ -> d -> Effect d

#addLayerBefore_ Source

addLayerBefore_ :: forall d. IsDiagram d => Layer_ -> Layer_ -> d -> Effect d

#alignDocument_ Source

alignDocument_ :: forall d. IsDiagram d => Spot_ -> Spot_ -> d -> Effect Unit

#attach_ Source

attach_ :: forall r d. IsDiagram d => Record r -> d -> Effect d

#centerRect_ Source

centerRect_ :: forall d. IsDiagram d => Rect_ -> d -> Effect Unit

#clear_ Source

clear_ :: forall d. IsDiagram d => IsDiagram d => d -> Effect Unit

#clearHighlighteds_ Source

clearHighlighteds_ :: forall d. IsDiagram d => IsDiagram d => d -> Effect Unit

#clearSelection_ Source

clearSelection_ :: forall d. IsDiagram d => Boolean -> d -> Effect Unit

#commitTransaction_ Source

#computeBounds_ Source

computeBounds_ :: forall d. IsDiagram d => Rect_ -> d -> Effect Rect_

#computePartsBounds_ Source

computePartsBounds_ :: forall d. IsDiagram d => Variant (array :: Array Part_, iterator :: Iterator_ Part_) -> Boolean -> d -> Effect Rect_

#copyParts_ Source

copyParts_ :: forall d. IsDiagram d => Variant (array :: Array Part_, iterator :: Iterator_ Part_) -> Boolean -> d -> Effect (Map_ Part_ Part_)

#ensureBounds_ Source

ensureBounds_ :: forall d. IsDiagram d => IsDiagram d => d -> Effect Unit

#findLayer_ Source

findLayer_ :: forall d. IsDiagram d => String -> d -> Effect (Maybe Layer_)

#findLinkForData_ Source

findLinkForData_ :: forall r d. IsDiagram d => Record r -> d -> Effect Link_

#findLinkForKey_ Source

findLinkForKey_ :: forall d k. IsDiagram d => k -> d -> Effect Link_

#findLinksByExample_ Source

findLinksByExample_ :: forall r d. IsDiagram d => Array (Record r) -> d -> Effect (Iterator_ Link_)

#findNodeForData_ Source

findNodeForData_ :: forall r d @n. IsDiagram d => IsNode n => Record r -> d -> Effect (Maybe n)

#findNodeForKey_ Source

findNodeForKey_ :: forall d @n k. IsDiagram d => IsNode n => k -> d -> Effect (Maybe n)

#findNodesByExample_ Source

findNodesByExample_ :: forall r d. IsDiagram d => Array (Record r) -> d -> Effect (Iterator_ Node_)

#findObjectAt_ Source

findObjectAt_ :: forall d @g. IsDiagram d => IsGraphObject g => Point_ -> Boolean -> d -> Effect (Maybe g)

#findObjectsAt_ Source

#findObjectsIn_ Source

#findObjectsNear_ Source

#findPartAt_ Source

findPartAt_ :: forall d @p. IsDiagram d => IsPart p => Point_ -> Boolean -> d -> Effect (Maybe p)

#findPartForData_ Source

findPartForData_ :: forall r d @p. IsDiagram d => IsPart p => Record r -> d -> Effect (Maybe p)

#findPartForKey_ Source

findPartForKey_ :: forall d @p k. IsDiagram d => IsPart p => k -> d -> Effect (Maybe p)

#findPartsAt_ Source

findPartsAt_ :: forall d. IsDiagram d => Point_ -> Boolean -> d -> Effect (List_ Part_)

#findPartsIn_ Source

findPartsIn_ :: forall d. IsDiagram d => Rect_ -> Boolean -> Boolean -> d -> Effect (List_ Part_)

#findPartsNear_ Source

findPartsNear_ :: forall d. IsDiagram d => Rect_ -> Boolean -> Boolean -> d -> Effect (List_ Part_)

#findTopLevelGroups_ Source

#findTreeRoots_ Source

findTreeRoots_ :: forall d. IsDiagram d => d -> Effect (Iterator_ Node_)

#focus_ Source

focus_ :: forall d. IsDiagram d => IsDiagram d => d -> Effect Unit

#highlight_ Source

highlight_ :: forall d p. IsDiagram d => IsPart p => p -> d -> Effect Unit

#highlightCollection_ Source

highlightCollection_ :: forall d p. IsDiagram d => IsPart p => Variant (array :: Array Part_, iterator :: Iterator_ Part_) -> d -> Effect Unit

#layoutDiagram_ Source

layoutDiagram_ :: forall d. IsDiagram d => Boolean -> d -> Effect Unit

#makeImage_ Source

#moveParts_ Source

moveParts_ :: forall d p. IsDiagram d => IsPart p => Variant (array :: Array Part_, iterator :: Iterator_ Part_) -> Point_ -> Boolean -> DraggingOptions_ -> d -> Effect Unit

#raiseDiagramEvent_ Source

raiseDiagramEvent_ :: forall d. String -> d -> Effect Unit

#rebuildParts_ Source

rebuildParts_ :: forall d. IsDiagram d => IsDiagram d => d -> Effect Unit

#remove_ Source

remove_ :: forall d p. IsDiagram d => IsPart p => p -> d -> Effect Unit

#removeChangedListener_ Source

#removeDiagramListener_ Source

#removeLayer_ Source

removeLayer_ :: forall d. IsDiagram d => Layer_ -> d -> Effect Unit

#removeModelChangedListener_ Source

#removeParts_ Source

removeParts_ :: forall d. IsDiagram d => Variant (array :: Array Part_, iterator :: Iterator_ Part_) -> Boolean -> d -> Effect Unit

#requestUpdate_ Source

requestUpdate_ :: forall d. IsDiagram d => Boolean -> d -> Effect Unit

#rollbackTransaction_ Source

#scroll_ Source

scroll_ :: forall d. IsDiagram d => String -> String -> Number -> d -> Effect Unit

#scrollToRect_ Source

scrollToRect_ :: forall d. IsDiagram d => Rect_ -> d -> Effect Unit

#select_ Source

select_ :: forall d p. IsDiagram d => IsPart p => p -> d -> Effect Unit

#selectCollection_ Source

selectCollection_ :: forall d p. IsDiagram d => IsPart p => Variant (array :: Array Part_, iterator :: Iterator_ Part_) -> d -> Effect Unit

#startTransaction_ Source

startTransaction_ :: forall d. IsDiagram d => String -> d -> Effect Boolean

#transformDocToView_ Source

#transformViewToDoc_ Source

#updateAllRelationshipsFromData_ Source

#updateAllTargetBindings_ Source

#zoomToFit_ Source

zoomToFit_ :: forall d. IsDiagram d => IsDiagram d => d -> Effect Unit

#zoomToRect_ Source

zoomToRect_ :: forall d. IsDiagram d => Rect_ -> EnumValue_ -> d -> Effect Unit
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