[{"name":"Svg.Editor","comment":" Basic types\n\n@docs Config, Model, Msg\n\n\n## Elm Archtecture\n\n@docs defaulConfig, init, subscriptions, update, view, cmd\n\n","unions":[],"aliases":[{"name":"Config","comment":" Editor config\n","args":[],"type":"Svg.Editor.Config.Config"},{"name":"Model","comment":" Editor model\n","args":[],"type":"Model.Model"},{"name":"Msg","comment":" Message\n","args":[],"type":"Msg.Msg"}],"values":[{"name":"cmd","comment":" Command to properly initialize the editor\n","type":"Platform.Cmd.Cmd Svg.Editor.Msg"},{"name":"defaulConfig","comment":" Configuration object\n","type":"Svg.Editor.Config"},{"name":"init","comment":" Init function in TEA\n","type":"Svg.Editor.Model"},{"name":"subscriptions","comment":" Subscription function in TEA\n","type":"Svg.Editor.Config -> Svg.Editor.Model -> Platform.Sub.Sub Svg.Editor.Msg"},{"name":"update","comment":" Update function in TEA\n","type":"Svg.Editor.Config -> Svg.Editor.Msg -> Svg.Editor.Model -> ( Svg.Editor.Model, Platform.Cmd.Cmd Svg.Editor.Msg )"},{"name":"view","comment":" View function in TEA\n","type":"Svg.Editor.Config -> Svg.Editor.Model -> Html.Html Svg.Editor.Msg"}],"binops":[]},{"name":"Svg.Editor.Config","comment":" Global application configuration\n\n@docs Config, init\n\n\n## Custom config\n\n@docs config, controls, groups, pointRadius, sceneId\n\n","unions":[],"aliases":[{"name":"Config","comment":" The config object. Usually should be created using init or the config utilitiy function\n","args":[],"type":"{ pointRadius : Basics.Float, zoomControls : Basics.Bool, panControls : Basics.Bool, panWithTouch : Basics.Bool, groups : List.List Types.Label, sceneId : String.String, drag : Draggable.Config ( Types.Key, Types.SubKey ) Msg.Msg }"}],"values":[{"name":"config","comment":" Create a custom config from a list of properties,\ne.g.\n\n    config\n        [ groups [ \"routes\", \"rock-faces\", \"elements\" ]\n        , pointRadius 2\n        , controls { zoom = False, pan = True, drag = False }\n        ]\n\n","type":"List.List (Svg.Editor.Config.Config -> Svg.Editor.Config.Config) -> Svg.Editor.Config.Config"},{"name":"controls","comment":" Enable/disable zoom and pan controls in the UI\n","type":"{ zoom : Basics.Bool, pan : Basics.Bool, drag : Basics.Bool } -> Svg.Editor.Config.Config -> Svg.Editor.Config.Config"},{"name":"groups","comment":" List of allowed groups in scene.\n\nEach element can be in at most a single group and have a unique index in that group.\n\nThis is useful, for instance, to mark routes or other highlights on the topo map and\nhave numbers identifying each element.\n\n","type":"List.List Types.Label -> Svg.Editor.Config.Config -> Svg.Editor.Config.Config"},{"name":"init","comment":" Default config\n","type":"Svg.Editor.Config.Config"},{"name":"pointRadius","comment":" Radius of points, when rendered as circles.\n","type":"Basics.Float -> Svg.Editor.Config.Config -> Svg.Editor.Config.Config"},{"name":"sceneId","comment":" Change the default scene id.\n\nThis is necessary if two scenes are present in the same screen. Each scene must have a unique id.\n\n","type":"String.String -> Svg.Editor.Config.Config -> Svg.Editor.Config.Config"}],"binops":[]}]