Notebook Application
37 nodes
On this page 37
Make Notebook Application
FunctionThis node carries no documentation.
NotebookApplication() -> Notebook Application
NotebookApplication NotebookApplication()
Returns
| Notebook Application | Notebook Application |
- Ships with
- Divooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Notebook Application
- Package
- Divooka Notebook
Add Cell
FunctionPlace one cell made with the Notebook Cells nodes on the current page.
AddCell
Notebook Application: Notebook Application
cell: Notebook Cellvoid AddCell(
NotebookApplication Notebook Application,
NotebookCell cell)Parameters
| name | type | default | description |
|---|---|---|---|
| Notebook Application | Notebook Application | — | |
| cell | Notebook Cell | — |
- Ships with
- Divooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Notebook Application
- Package
- Divooka Notebook
Add Page
FunctionPlace cells made with the Notebook Cells nodes as a page of their own.
AddPage
Notebook Application: Notebook Application
name: Text
cells: Notebook Cell Arrayvoid AddPage(
NotebookApplication Notebook Application,
string name,
NotebookCell[] cells)Parameters
| name | type | default | description |
|---|---|---|---|
| Notebook Application | Notebook Application | — | |
| name | Text | — | |
| cells | Notebook Cell Array | — |
- Ships with
- Divooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Notebook Application
- Package
- Divooka Notebook
Answer On Load
FunctionHave every input on the site answer its starting value when a page opens, so a page shows its outputs before anyone touches it. Off unless this is called.
AnswerOnLoad(Notebook Application: Notebook Application)
void AnswerOnLoad(NotebookApplication Notebook Application)
Parameters
| name | type | default | description |
|---|---|---|---|
| Notebook Application | Notebook Application | — |
Remarks
Buttons and uploads still wait: a button has no value until it is pressed, and an upload has no file.
- Ships with
- Divooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Notebook Application
- Package
- Divooka Notebook
Begin Group
FunctionOpen an input group: the inputs added until End Group are its fields, and End Group's function computes from all of them at once. A field's own function is not called.
BeginGroup
Notebook Application: Notebook Application
label: Textvoid BeginGroup(
NotebookApplication Notebook Application,
string label)Parameters
| name | type | default | description |
|---|---|---|---|
| Notebook Application | Notebook Application | — | |
| label | Text | — |
- Ships with
- Divooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Notebook Application
- Package
- Divooka Notebook
Button
FunctionThis node carries no documentation.
Button
Notebook Application: Notebook Application
label: Text
onClick: Func<Any>void Button(
NotebookApplication Notebook Application,
string label,
Func<object> onClick)Parameters
| name | type | default | description |
|---|---|---|---|
| Notebook Application | Notebook Application | — | |
| label | Text | — | |
| onClick | Func<Any> | — |
- Ships with
- Divooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Notebook Application
- Package
- Divooka Notebook
Checkbox
FunctionThis node carries no documentation.
Checkbox
Notebook Application: Notebook Application
label: Text
initial: Truth
onChange: Func<Truth, Any>void Checkbox(
NotebookApplication Notebook Application,
string label,
bool initial,
Func<bool, object> onChange)Parameters
| name | type | default | description |
|---|---|---|---|
| Notebook Application | Notebook Application | — | |
| label | Text | — | |
| initial | Truth | — | |
| onChange | Func<Truth, Any> | — |
- Ships with
- Divooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Notebook Application
- Package
- Divooka Notebook
Choice
FunctionThis node carries no documentation.
Choice
Notebook Application: Notebook Application
label: Text
options: Text Array
initial: Text
onChange: Func<Text, Any>void Choice(
NotebookApplication Notebook Application,
string label,
string[] options,
string initial,
Func<string, object> onChange)Parameters
| name | type | default | description |
|---|---|---|---|
| Notebook Application | Notebook Application | — | |
| label | Text | — | |
| options | Text Array | — | |
| initial | Text | — | |
| onChange | Func<Text, Any> | — |
- Ships with
- Divooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Notebook Application
- Package
- Divooka Notebook
Date
FunctionThis node carries no documentation.
Date
Notebook Application: Notebook Application
label: Text
initial: Text
onChange: Func<Text, Any>void Date(
NotebookApplication Notebook Application,
string label,
string initial,
Func<string, object> onChange)Parameters
| name | type | default | description |
|---|---|---|---|
| Notebook Application | Notebook Application | — | |
| label | Text | — | |
| initial | Text | — | A date as yyyy-MM-dd; empty for none. |
| onChange | Func<Text, Any> | — |
- Ships with
- Divooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Notebook Application
- Package
- Divooka Notebook
End Group
FunctionClose the input group Begin Group opened, with the function that answers it.
EndGroup
Notebook Application: Notebook Application
onChange: Func<Notebook Inputs, Any>void EndGroup(
NotebookApplication Notebook Application,
Func<NotebookInputs, object> onChange)Parameters
| name | type | default | description |
|---|---|---|---|
| Notebook Application | Notebook Application | — | |
| onChange | Func<Notebook Inputs, Any> | — |
- Ships with
- Divooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Notebook Application
- Package
- Divooka Notebook
Get Session Id
FunctionThis visitor's session, as an id: what to name a file this visitor's functions write so that no other visitor's overwrites it.
GetSessionId(Notebook Application: Notebook Application) -> Text
string GetSessionId(NotebookApplication Notebook Application)
Parameters
| name | type | default | description |
|---|---|---|---|
| Notebook Application | Notebook Application | — |
Returns
| result | Text |
- Ships with
- Divooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Notebook Application
- Package
- Divooka Notebook
Heading
FunctionThis node carries no documentation.
Heading(Notebook Application: Notebook Application, text: Text)
void Heading(
NotebookApplication Notebook Application,
string text)Parameters
| name | type | default | description |
|---|---|---|---|
| Notebook Application | Notebook Application | — | |
| text | Text | — |
- Ships with
- Divooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Notebook Application
- Package
- Divooka Notebook
Hide Run All
FunctionHide Run All on the current page.
HideRunAll(Notebook Application: Notebook Application)
void HideRunAll(NotebookApplication Notebook Application)
Parameters
| name | type | default | description |
|---|---|---|---|
| Notebook Application | Notebook Application | — |
- Ships with
- Divooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Notebook Application
- Package
- Divooka Notebook
Html
FunctionThis node carries no documentation.
Html(Notebook Application: Notebook Application, HTML: Text)
void Html(NotebookApplication Notebook Application, string html)
Parameters
| name | type | default | description |
|---|---|---|---|
| Notebook Application | Notebook Application | — | |
| HTML | Text | — |
- Ships with
- Divooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Notebook Application
- Package
- Divooka Notebook
Image
FunctionThis node carries no documentation.
Image
Notebook Application: Notebook Application
image: Any
caption: Textvoid Image(
NotebookApplication Notebook Application,
object image,
string caption = "")Parameters
| name | type | default | description |
|---|---|---|---|
| Notebook Application | Notebook Application | — | |
| image | Any | — | A Divooka image, or a picture file's path. |
| caption | Text | — |
- Ships with
- Divooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Notebook Application
- Package
- Divooka Notebook
Input
FunctionAnother cell's current input, by its label on this page or its id: a number, text, a truth, a file, or null.
Input -> Any
Notebook Application: Notebook Application
cell: Textobject Input(
NotebookApplication Notebook Application,
string cell)Parameters
| name | type | default | description |
|---|---|---|---|
| Notebook Application | Notebook Application | — | |
| cell | Text | — |
Returns
| result | Any |
- Ships with
- Divooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Notebook Application
- Package
- Divooka Notebook
Last Disabled
FunctionMake the cell added last start disabled; a function enables it with Set Enabled.
LastDisabled(Notebook Application: Notebook Application)
void LastDisabled(NotebookApplication Notebook Application)
Parameters
| name | type | default | description |
|---|---|---|---|
| Notebook Application | Notebook Application | — |
- Ships with
- Divooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Notebook Application
- Package
- Divooka Notebook
Last Prefer View
FunctionHave the cell added last first show its table, series or chart output a particular way.
LastPreferView
Notebook Application: Notebook Application
view: Textvoid LastPreferView(
NotebookApplication Notebook Application,
string view)Parameters
| name | type | default | description |
|---|---|---|---|
| Notebook Application | Notebook Application | — | |
| view | Text | — | table, line, scatter, bar, histogram, interactive or image. |
- Ships with
- Divooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Notebook Application
- Package
- Divooka Notebook
Last Read Only
FunctionMake the cell added last read-only.
LastReadOnly(Notebook Application: Notebook Application)
void LastReadOnly(NotebookApplication Notebook Application)
Parameters
| name | type | default | description |
|---|---|---|---|
| Notebook Application | Notebook Application | — |
- Ships with
- Divooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Notebook Application
- Package
- Divooka Notebook
Markdown
FunctionThis node carries no documentation.
Markdown(Notebook Application: Notebook Application, text: Text)
void Markdown(
NotebookApplication Notebook Application,
string text)Parameters
| name | type | default | description |
|---|---|---|---|
| Notebook Application | Notebook Application | — | |
| text | Text | — |
- Ships with
- Divooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Notebook Application
- Package
- Divooka Notebook
Number
FunctionThis node carries no documentation.
Number
Notebook Application: Notebook Application
label: Text
initial: Number
onChange: Func<Number, Any>void Number(
NotebookApplication Notebook Application,
string label,
double initial,
Func<double, object> onChange)Parameters
| name | type | default | description |
|---|---|---|---|
| Notebook Application | Notebook Application | — | |
| label | Text | — | |
| initial | Number | — | |
| onChange | Func<Number, Any> | — |
- Ships with
- Divooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Notebook Application
- Package
- Divooka Notebook
Page
FunctionOpen a page: everything added after it goes on this page, until the next.
Page(Notebook Application: Notebook Application, name: Text)
void Page(NotebookApplication Notebook Application, string name)
Parameters
| name | type | default | description |
|---|---|---|---|
| Notebook Application | Notebook Application | — | |
| name | Text | — |
- Ships with
- Divooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Notebook Application
- Package
- Divooka Notebook
Page Read Only
FunctionMake the current page read-only: its inputs show their starting values and cannot be changed.
PageReadOnly(Notebook Application: Notebook Application)
void PageReadOnly(NotebookApplication Notebook Application)
Parameters
| name | type | default | description |
|---|---|---|---|
| Notebook Application | Notebook Application | — |
- Ships with
- Divooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Notebook Application
- Package
- Divooka Notebook
Set Enabled
FunctionEnable or disable another cell's input, by its label on this page or its id. The page changes when the function that called this answers.
SetEnabled
Notebook Application: Notebook Application
cell: Text
enabled: Truthvoid SetEnabled(
NotebookApplication Notebook Application,
string cell,
bool enabled)Parameters
| name | type | default | description |
|---|---|---|---|
| Notebook Application | Notebook Application | — | |
| cell | Text | — | |
| enabled | Truth | — |
- Ships with
- Divooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Notebook Application
- Package
- Divooka Notebook
Set Shared
FunctionSet a value every visitor shares.
SetShared
Notebook Application: Notebook Application
key: Text
value: Anyvoid SetShared(
NotebookApplication Notebook Application,
string key,
object value)Parameters
| name | type | default | description |
|---|---|---|---|
| Notebook Application | Notebook Application | — | |
| key | Text | — | |
| value | Any | — |
- Ships with
- Divooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Notebook Application
- Package
- Divooka Notebook
Shared
FunctionA value every visitor shares, set with Set Shared - typically in Site Started; null when nothing is set.
Shared -> Any
Notebook Application: Notebook Application
key: Textobject Shared(
NotebookApplication Notebook Application,
string key)Parameters
| name | type | default | description |
|---|---|---|---|
| Notebook Application | Notebook Application | — | |
| key | Text | — |
Returns
| result | Any |
- Ships with
- Divooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Notebook Application
- Package
- Divooka Notebook
Show
FunctionA cell with no input, showing what its function answers when the page loads.
Show
Notebook Application: Notebook Application
label: Text
compute: Func<Any>void Show(
NotebookApplication Notebook Application,
string label,
Func<object> compute)Parameters
| name | type | default | description |
|---|---|---|---|
| Notebook Application | Notebook Application | — | |
| label | Text | — | |
| compute | Func<Any> | — |
- Ships with
- Divooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Notebook Application
- Package
- Divooka Notebook
Site
FunctionName the site, as the top bar and the browser tab show it.
Site
Notebook Application: Notebook Application
name: Text
iconUrl: Textvoid Site(
NotebookApplication Notebook Application,
string name,
string iconUrl = "")Parameters
| name | type | default | description |
|---|---|---|---|
| Notebook Application | Notebook Application | — | |
| name | Text | — | |
| iconUrl | Text | — | A small picture beside the name, by URL; empty for none. |
- Ships with
- Divooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Notebook Application
- Package
- Divooka Notebook
Slider
FunctionThis node carries no documentation.
Slider
Notebook Application: Notebook Application
label: Text
min: Number
max: Number
initial: Number
onChange: Func<Number, Any>void Slider(
NotebookApplication Notebook Application,
string label,
double min,
double max,
double initial,
Func<double, object> onChange)Parameters
| name | type | default | description |
|---|---|---|---|
| Notebook Application | Notebook Application | — | |
| label | Text | — | |
| min | Number | — | |
| max | Number | — | |
| initial | Number | — | |
| onChange | Func<Number, Any> | — |
- Ships with
- Divooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Notebook Application
- Package
- Divooka Notebook
Text Area
FunctionThis node carries no documentation.
TextArea
Notebook Application: Notebook Application
label: Text
initial: Text
onChange: Func<Text, Any>void TextArea(
NotebookApplication Notebook Application,
string label,
string initial,
Func<string, object> onChange)Parameters
| name | type | default | description |
|---|---|---|---|
| Notebook Application | Notebook Application | — | |
| label | Text | — | |
| initial | Text | — | |
| onChange | Func<Text, Any> | — |
- Ships with
- Divooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Notebook Application
- Package
- Divooka Notebook
Text Box
FunctionThis node carries no documentation.
TextBox
Notebook Application: Notebook Application
label: Text
initial: Text
onChange: Func<Text, Any>void TextBox(
NotebookApplication Notebook Application,
string label,
string initial,
Func<string, object> onChange)Parameters
| name | type | default | description |
|---|---|---|---|
| Notebook Application | Notebook Application | — | |
| label | Text | — | |
| initial | Text | — | |
| onChange | Func<Text, Any> | — |
- Ships with
- Divooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Notebook Application
- Package
- Divooka Notebook
Toggle
FunctionThis node carries no documentation.
Toggle
Notebook Application: Notebook Application
label: Text
initial: Truth
onChange: Func<Truth, Any>void Toggle(
NotebookApplication Notebook Application,
string label,
bool initial,
Func<bool, object> onChange)Parameters
| name | type | default | description |
|---|---|---|---|
| Notebook Application | Notebook Application | — | |
| label | Text | — | |
| initial | Truth | — | |
| onChange | Func<Truth, Any> | — |
- Ships with
- Divooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Notebook Application
- Package
- Divooka Notebook
Upload
FunctionThis node carries no documentation.
Upload
Notebook Application: Notebook Application
label: Text
kind: Notebook Upload Kind
onChange: Func<Notebook File, Any>void Upload(
NotebookApplication Notebook Application,
string label,
NotebookUploadKind kind,
Func<NotebookFile, object> onChange)Parameters
| name | type | default | description |
|---|---|---|---|
| Notebook Application | Notebook Application | — | |
| label | Text | — | |
| kind | Notebook Upload Kind | — | |
| onChange | Func<Notebook File, Any> | — |
- Ships with
- Divooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Notebook Application
- Package
- Divooka Notebook
Build
EventLay out the notebook: name the site, open pages, add cells. Runs for every visitor's instance, so it should only lay out - not load or compute.
Build()
void Build()
- Ships with
- Divooka Compute
- Graph kinds
- Events StateMachineState
- Declared by
- Notebook Application
- Package
- Divooka Notebook
Session Ended
EventA visitor's page closed or went idle; its instance is about to be let go.
SessionEnded()
void SessionEnded()
- Ships with
- Divooka Compute
- Graph kinds
- Events StateMachineState
- Declared by
- Notebook Application
- Package
- Divooka Notebook
Session Started
EventA visitor's page has loaded and its instance is built.
SessionStarted()
void SessionStarted()
- Ships with
- Divooka Compute
- Graph kinds
- Events StateMachineState
- Declared by
- Notebook Application
- Package
- Divooka Notebook
Site Started
EventThe site is about to serve its first visitor. Runs once, on the site's own instance: the place to load what every visitor shares, with Set Shared.
SiteStarted()
void SiteStarted()
- Ships with
- Divooka Compute
- Graph kinds
- Events StateMachineState
- Declared by
- Notebook Application
- Package
- Divooka Notebook