Module

Hylograph.HATS.Friendly

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

HATS Friendly API

Convenience helpers for building HATS attributes. These produce the new thunked Attr type for use in HATS trees.

#attr Source

attr :: String -> String -> Attr

Create a string attribute

#attrNum Source

attrNum :: String -> Number -> Attr

Create a numeric attribute

#viewBox Source

viewBox :: Number -> Number -> Number -> Number -> Attr

SVG viewBox attribute

#transform Source

transform :: String -> Attr

Transform attribute

#class_ Source

class_ :: String -> Attr

Class attribute

#style Source

style :: String -> Attr

Style attribute

#cx Source

cx :: Number -> Attr

cx attribute (circle center x)

#cy Source

cy :: Number -> Attr

cy attribute (circle center y)

#r Source

r :: Number -> Attr

r attribute (radius)

#x Source

x :: Number -> Attr

x attribute

#y Source

y :: Number -> Attr

y attribute

#x1 Source

x1 :: Number -> Attr

x1 attribute (line start x)

#y1 Source

y1 :: Number -> Attr

y1 attribute (line start y)

#x2 Source

x2 :: Number -> Attr

x2 attribute (line end x)

#y2 Source

y2 :: Number -> Attr

y2 attribute (line end y)

#width Source

width :: Number -> Attr

width attribute

#height Source

height :: Number -> Attr

height attribute

#d Source

d :: String -> Attr

d attribute (path data)

#fill Source

fill :: String -> Attr

fill attribute

#stroke Source

stroke :: String -> Attr

stroke attribute

#strokeWidth Source

strokeWidth :: Number -> Attr

stroke-width attribute

#opacity Source

opacity :: String -> Attr

opacity attribute

#fillOpacity Source

fillOpacity :: String -> Attr

fill-opacity attribute

#strokeOpacity Source

strokeOpacity :: String -> Attr

stroke-opacity attribute

#textAnchor Source

textAnchor :: String -> Attr

text-anchor attribute

#fontSize Source

fontSize :: String -> Attr

font-size attribute

#fontFamily Source

fontFamily :: String -> Attr

font-family attribute

#fontWeight Source

fontWeight :: String -> Attr

font-weight attribute

#preserveAspectRatio Source

preserveAspectRatio :: String -> Attr

preserveAspectRatio attribute

#points Source

points :: String -> Attr

points attribute (polygon/polyline)

Modules
Data.DependencyGraph
Hylograph.AST
Hylograph.Axis.Axis
Hylograph.Brush
Hylograph.Brush.FFI
Hylograph.Brush.Types
Hylograph.Classify
Hylograph.Data.Graph
Hylograph.Data.Graph.Algorithms
Hylograph.Data.Node
Hylograph.Data.Tree
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.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.Capabilities.Selection
Hylograph.Internal.Capabilities.Transition
Hylograph.Internal.FFI
Hylograph.Internal.Selection.Join
Hylograph.Internal.Selection.Operations
Hylograph.Internal.Selection.Operations.Conversions
Hylograph.Internal.Selection.Operations.Helpers
Hylograph.Internal.Selection.Operations.Selection
Hylograph.Internal.Selection.Query
Hylograph.Internal.Selection.Types
Hylograph.Internal.Transition.FFI
Hylograph.Internal.Transition.Manager
Hylograph.Internal.Transition.Scene
Hylograph.Internal.Transition.Types
Hylograph.Internal.Types
Hylograph.Interpreter.D3
Hylograph.Interpreter.English
Hylograph.Interpreter.Mermaid
Hylograph.Interpreter.MetaAST
Hylograph.Interpreter.SemiQuine
Hylograph.Interpreter.SemiQuine.TreeToCode
Hylograph.Interpreter.SemiQuine.Types
Hylograph.Render
Hylograph.Scale
Hylograph.Scale.FP
Hylograph.Shape.Arc
Hylograph.Shape.Pie
Hylograph.Shape.Polygon
Hylograph.Tooltip
Hylograph.Transform
Hylograph.TreeDSL
Hylograph.TreeDSL.ShapeTree
Hylograph.Unified
Hylograph.Unified.Attribute
Hylograph.Unified.DataDSL
Hylograph.Unified.Display
Hylograph.Unified.Examples
Hylograph.Unified.Join
Hylograph.Unified.Sugar