Module

Hylograph.Internal.Types

Package
purescript-hylograph-selection
Repository
afcondon/purescript-hylograph-selection

DEPRECATED — moved to Hylograph.Foreign.Types.

This module now re-exports the opaque foreign handles — Datum_, Index_, D3Selection_ from its new public home. It never should have lived under Internal: it is not an implementation detail, it is vocabulary that every consumer needs. It landed here by inheritance during an earlier refactor, and by the time that was noticed several hundred imports across the ecosystem already pointed at this path.

Nothing here is going away without warning — this shim exists so that those imports keep working. New code should import Hylograph.Foreign.Types, and for ElementType in particular Hylograph.HATS now re-exports it, so the common case needs no extra import at all.

Re-exports from Hylograph.Foreign.Types

#Selector Source

type Selector :: forall k. k -> Typetype Selector selection = String

CSS selector type - phantom typed but just String underneath

#PointXY Source

type PointXY = { x :: Number, y :: Number }

Simple 2D point record

#Index_ Source

data Index_

Opaque type representing array indices in D3 callbacks Int under the hood, but kept opaque to match D3's conventions

Instances

#Datum_ Source

data Datum_

Opaque type representing data bound to D3 elements Used at FFI boundary when the actual data type is erased

#D3Simulation_ Source

data D3Simulation_

Opaque type for D3 simulations

#D3Selection_ Source

data D3Selection_ t0

Opaque type for D3 selections (v1 style, still used by FFI)

#intToIndex_ Source

intToIndex_ :: Int -> Index_

Convert Int to Index_

#index_ToNumber Source

index_ToNumber :: Index_ -> Number

Convert Index_ to Number (useful for calculations)

#index_ToInt Source

index_ToInt :: Index_ -> Int

Convert Index_ to Int

Modules
Data.DependencyGraph
Hylograph.Attribute
Hylograph.Behavior
Hylograph.Behavior.Types
Hylograph.Brush
Hylograph.Brush.FFI
Hylograph.Brush.Types
Hylograph.Classify
Hylograph.Data.Graph
Hylograph.Data.Graph.Algorithms
Hylograph.Data.Node
Hylograph.Data.Tree
Hylograph.Element.Types
Hylograph.Expr.Animation
Hylograph.Expr.Attr
Hylograph.Expr.Datum
Hylograph.Expr.Expr
Hylograph.Expr.Friendly
Hylograph.Expr.Integration
Hylograph.Expr.Interpreter.CodeGen
Hylograph.Expr.Interpreter.Eval
Hylograph.Expr.Interpreter.Meta
Hylograph.Expr.Interpreter.PureSVG
Hylograph.Expr.Interpreter.SVG
Hylograph.Expr.Path
Hylograph.Expr.Path.Generators
Hylograph.Expr.Sugar
Hylograph.Expr.Units
Hylograph.Foreign.Types
Hylograph.HATS
Hylograph.HATS.Friendly
Hylograph.HATS.InterpreterTick
Hylograph.HATS.Transitions
Hylograph.Interaction.Brush
Hylograph.Interaction.Coordinated
Hylograph.Interaction.Pointer
Hylograph.Interaction.Zoom
Hylograph.Internal.Attribute
Hylograph.Internal.Behavior.FFI
Hylograph.Internal.Behavior.Types
Hylograph.Internal.Element.Operations
Hylograph.Internal.Element.Types
Hylograph.Internal.FFI
Hylograph.Internal.Transition.FFI
Hylograph.Internal.Transition.Manager
Hylograph.Internal.Transition.Scene
Hylograph.Internal.Transition.Types
Hylograph.Internal.Types
Hylograph.Interpreter.English
Hylograph.Interpreter.Mermaid
Hylograph.Interpreter.MetaHATS
Hylograph.Interpreter.SemiQuine
Hylograph.Interpreter.SemiQuine.TreeToCode
Hylograph.Interpreter.SemiQuine.Types
Hylograph.Scale
Hylograph.Scale.ColorSchemes
Hylograph.Scale.FP
Hylograph.Scale.Interpolation
Hylograph.Scale.Pure
Hylograph.Scale.Sequential
Hylograph.Shape.Arc
Hylograph.Shape.Pie
Hylograph.Shape.Polygon
Hylograph.Tooltip
Hylograph.Transform
Hylograph.Transition.Types
Hylograph.Unified
Hylograph.Unified.Attribute
Hylograph.Unified.DataDSL
Hylograph.Unified.Display
Hylograph.Unified.Sugar