Idris2Doc : CyBy.Draw

CyBy.Draw

(source)

Reexports

importpublic CyBy.Draw.Draw
importpublic CyBy.Draw.Event
importpublic CyBy.Draw.Internal.Abbreviations
importpublic CyBy.Draw.Internal.Atom
importpublic CyBy.Draw.Internal.CoreDims
importpublic CyBy.Draw.Internal.Graph
importpublic CyBy.Draw.Internal.Ring
importpublic CyBy.Draw.Internal.Role
importpublic CyBy.Draw.Internal.Settings
importpublic CyBy.Draw.MoleculeCanvas
importpublic CyBy.Draw.PeriodicTableCanvas
importpublic Text.Molfile

Definitions

color : ColorScheme->Elem->SVGColor
Totality: total
Visibility: export
storeSVG : String->Act ()
Totality: total
Visibility: export
recordDrawEnv : Type
  Minimal environment required to run the core of cyby-draw.

Totality: total
Visibility: public export
Constructor: 
DE : String->DrawSettings=>SinkDrawEvent=>DrawEnv

Projections:
.events : DrawEnv->SinkDrawEvent
.pre : DrawEnv->String
.sets : DrawEnv->DrawSettings
.pre : DrawEnv->String
Totality: total
Visibility: public export
pre : DrawEnv->String
Totality: total
Visibility: public export
.sets : DrawEnv->DrawSettings
Totality: total
Visibility: public export
sets : DrawEnv->DrawSettings
Totality: total
Visibility: public export
.events : DrawEnv->SinkDrawEvent
Totality: total
Visibility: public export
events : DrawEnv->SinkDrawEvent
Totality: total
Visibility: public export
recordExtension : Type
  Extension interface, currently used for the word plugin.
If the import button should be used, a tuple with the
class and title has to be specified. If no import button
is used, this is indicated by a `Nothing`.
If the export button should be modified, it also had to
be specified.

Totality: total
Visibility: public export
Constructor: 
E : (DrawSettings=>DrawState->Act ()) -> (DrawEnv->DrawState->ActHTMLNodes) -> (DrawEnv->DrawEvent->DrawState->Act ()) ->Extension

Projections:
.adjust : Extension->DrawEnv->DrawEvent->DrawState->Act ()
  Make adjustments to the additional top bar buttons 
.buttons : Extension->DrawEnv->DrawState->ActHTMLNodes
  Creats additional buttons to be displayed in the top bar
These might require additional mutable state (for instance, the current
colour scheme) , so this is an effectful computation
.doExport : Extension->DrawSettings=>DrawState->Act ()

Hint: 
Extension
.doExport : Extension->DrawSettings=>DrawState->Act ()
Totality: total
Visibility: public export
doExport : Extension->DrawSettings=>DrawState->Act ()
Totality: total
Visibility: public export
.buttons : Extension->DrawEnv->DrawState->ActHTMLNodes
  Creats additional buttons to be displayed in the top bar
These might require additional mutable state (for instance, the current
colour scheme) , so this is an effectful computation

Totality: total
Visibility: public export
buttons : Extension->DrawEnv->DrawState->ActHTMLNodes
  Creats additional buttons to be displayed in the top bar
These might require additional mutable state (for instance, the current
colour scheme) , so this is an effectful computation

Totality: total
Visibility: public export
.adjust : Extension->DrawEnv->DrawEvent->DrawState->Act ()
  Make adjustments to the additional top bar buttons 

Totality: total
Visibility: public export
adjust : Extension->DrawEnv->DrawEvent->DrawState->Act ()
  Make adjustments to the additional top bar buttons 

Totality: total
Visibility: public export
moleculeCanvas : String->RefDiv
Totality: total
Visibility: export
sketcherDiv : String->RefDiv
Totality: total
Visibility: export
sketcherDivInner : String->RefDiv
Totality: total
Visibility: export
molReader : String->RefDiv
Totality: total
Visibility: export
molInput : String->RefTextArea
Totality: total
Visibility: export
leftBarID : String->RefDiv
Totality: total
Visibility: export
rightBarID : String->RefDiv
Totality: total
Visibility: export
topBarID : String->RefDiv
Totality: total
Visibility: export
bottomBarID : String->RefDiv
Totality: total
Visibility: export
abbrID : String->RefSelect
Totality: total
Visibility: export
expButton : String->RefButton
Totality: total
Visibility: export
sketcher : SinkDrawEvent=>DrawSettings=>String->HTMLNodes->DrawState->HTMLNode
Totality: total
Visibility: export
cybyDrawBtn : Sinke=>String->e->AttributesButton->HTMLNode
Totality: total
Visibility: export
expBtn : DrawEnv=>String->DrawState->HTMLNode
Totality: total
Visibility: export
displaySketcher : DrawSettings=>SinkDrawEvent=>LoggableJSDrawMsg=>Extension=>String->DrawEvent->DrawState->Act ()
Totality: total
Visibility: export
disableExport : DrawEnv=>DrawState->Act ()
Totality: total
Visibility: export
displayMol : DrawSettings=>SceneDims->MolGraphAT->Maybe (ListNat) ->HTMLNode
  Renders a molecule at the given canvas.

The molecule will be scaled and centered to fit the canvas and
the given nodes will be highlighted.

Totality: total
Visibility: export
molEdit : Extension=>LoggableJSDrawMsg=>ActDrawSettings->SceneDims->EditorMolfileAT
  An editor for molecules.

Totality: total
Visibility: export
NoExt : Extension
  The default `Extension`

Totality: total
Visibility: export