src/lib/background.el.tsx:
class: NfBackgroundElement, nf-background
Name
Privacy
Type
Default
Description
Inherited From
slot
(typeof Nfe)['SLOT']['background']
flow
public
GenericFlow | undefined
Name
Default
Description
--nf-background-grid-line-colors
#191919
--nf-background-grid-line-width
1
--nf-background-grid-line-spacing
64
class: NfCanvasElement, nf-interactive-canvas
Name
Privacy
Type
Default
Description
Inherited From
SLOT_NAMES
public
`{
background: 'background',
foreground: 'foreground',
}|{ background: 'background', foreground: 'foreground', }` | | |
Name
Privacy
Type
Default
Description
Inherited From
flow
public
Flow
class: NfFlowElement, nf-flow
Name
Privacy
Type
Default
Description
Inherited From
SLOT
public
FLOW_SLOT
Name
Privacy
Type
Default
Description
Inherited From
flow
public
Flow<any, any>
Name
Description
background
background-interactive
foreground
foreground-interactive
class: NfHandleElement, nf-handle
Name
Privacy
Type
Default
Description
Inherited From
[HANDLE]
public
boolean
true
class: NfLinksElement, nf-links
Name
Privacy
Type
Default
Description
Inherited From
slot
(typeof Nfe)['SLOT']['fgInteractive']
flow
public
GenericFlow | undefined
class: NfNodeElement, nf-node
Name
Privacy
Type
Default
Description
Inherited From
[NODE]
public
boolean
true
node
public
Node
class: NfPortElement, nf-port
Name
Privacy
Type
Default
Description
Inherited From
[PORT]
public
boolean
true
port
public
GenericPort | undefined
cableOffset
public
number | undefined
Name
Field
Inherited From
cableOffset
cableOffset
src/lib/themes/lit-renderer.el.ts:
class: LitRenderer, lit-renderer
Name
Privacy
Type
Default
Description
Inherited From
template
public
unknown | undefined
src/lib/themes/webawesome/demo-nodes/broadcast-channel.el.tsx:
class: NfWaBroadcastChannelNode
Name
Privacy
Type
Default
Description
Inherited From
type
public
string
'NfWaBroadcastChannelNode'
defaultDisplayName
public
string
'Broadcast'
defaultIcon
public
string
'broadcast-pin'
ports
public
object
{ messageInput: this.addPort({ direction: 'in', customDisplayName: 'TX', }), messageOutput: this.addPort({ direction: 'out', customDisplayName: 'RX', }), }
defaultValue
string
'main'
Template
public
class: NfWaBroadcastChannelElement, wf-broadcast-channel
Name
Privacy
Type
Default
Description
Inherited From
messageInput
Port<any>
messageOutput
Port<any>
channel
string
'main'
src/lib/themes/webawesome/demo-nodes/canvas-color.el.tsx:
class: NfWaCanvasColorNode
Name
Privacy
Type
Default
Description
Inherited From
type
public
string
'NfWaCanvasColorNode'
defaultDisplayName
public
string
'Solid color'
defaultIcon
public
string
'alphabet-uppercase'
ports
public
object
{ text: this.addPort<TextPort>({ direction: 'in', customDisplayName: 'Text', metadata: { schema: textPortSchema }, }), canvas: this.addPort<HTMLCanvasElement>({ direction: 'out', customDisplayName: 'Canvas', }), }
Template
public
class: NfWaCanvasColorElement, nf-canvas-color
Name
Privacy
Type
Default
Description
Inherited From
canvasOut
Port<HTMLCanvasElement> | null
null
textIn
Port<TextPort> | null
null
color
string
'#45001d'
Name
Privacy
Description
Parameters
Return
Inherited From
draw
src/lib/themes/webawesome/demo-nodes/canvas-comparer.el.tsx:
class: NfWaCanvasComparerNode
Name
Privacy
Type
Default
Description
Inherited From
type
public
string
'NfWaCanvasComparerNode'
defaultDisplayName
public
string
'A/B Comparer'
defaultIcon
public
string
'layout-split'
ports
public
object
{ canvasBefore: this.addPort<HTMLCanvasElement>({ direction: 'in', customDisplayName: 'Before', }), canvasAfter: this.addPort<HTMLCanvasElement>({ direction: 'in', customDisplayName: 'After', }), }
Template
public
class: NfWaCanvasComparerElement, nf-wa-canvas-comparer
Name
Privacy
Type
Default
Description
Inherited From
canvasBeforeIn
Port<HTMLCanvasElement>
canvasAfterIn
Port<HTMLCanvasElement>
blurFactor
number
5
Name
Privacy
Description
Parameters
Return
Inherited From
draw
src/lib/themes/webawesome/demo-nodes/canvas-filters.el.tsx:
class: NfWaCanvasFiltersNode
Name
Privacy
Type
Default
Description
Inherited From
type
public
string
'NfWaCanvasFiltersNode'
defaultDisplayName
public
string
'Filters'
defaultIcon
public
string
'shadows'
helpText
public
string
'Cool canvas filters…'
ports
public
object
{ blurIn: this.addPort<NumberPort>({ direction: 'in', customDisplayName: 'Blur (px)', metadata: { schema: { title: 'Blur', type: 'number', minimum: 0, maximum: 25, default: 15, }, }, }), brightnessIn: this.addPort<NumberPort>({ direction: 'in', customDisplayName: 'Brightness (%)', metadata: { schema: { title: 'Brightness', type: 'number', minimum: 0, maximum: 100, default: 75, }, }, }), canvasIn: this.addPort<HTMLCanvasElement>({ direction: 'in', customDisplayName: 'Canvas', // TODO: validate }), canvasOut: this.addPort<HTMLCanvasElement>({ direction: 'out', customDisplayName: 'Result', }), }
Template
public
class: NfWaCanvasFiltersElement, nf-wa-canvas-filters
Name
Privacy
Type
Default
Description
Inherited From
canvasIn
Port<HTMLCanvasElement, PortsWithSchema>
canvasOut
Port<HTMLCanvasElement, PortsWithSchema>
blurIn
`Port<
number,
PortsWithSchema >` | | | |
| brightnessIn | | Port<number, PortsWithSchema> | | | |
Name
Privacy
Description
Parameters
Return
Inherited From
draw
src/lib/themes/webawesome/demo-nodes/canvas-mixer.el.tsx:
class: NfWaCanvasMixerNode
Name
Privacy
Type
Default
Description
Inherited From
type
public
string
'NfWaCanvasMixerNode'
defaultDisplayName
public
string
'Mixer'
defaultIcon
public
string
'transparency'
ports
public
object
{ canvasAIn: this.addPort<HTMLCanvasElement>({ direction: 'in', customDisplayName: 'Canvas A', }), canvasBIn: this.addPort<HTMLCanvasElement>({ direction: 'in', customDisplayName: 'Canvas B', }), canvasOut: this.addPort<HTMLCanvasElement>({ direction: 'out', customDisplayName: 'Result', }), }
Template
public
class: NfWaCanvasMixerElement, wf-canvas-mixer
Name
Privacy
Type
Default
Description
Inherited From
canvasAIn
Port<HTMLCanvasElement> | null
null
canvasBIn
Port<HTMLCanvasElement> | null
null
canvasOut
Port<HTMLCanvasElement> | null
null
Name
Privacy
Description
Parameters
Return
Inherited From
draw
src/lib/themes/webawesome/demo-nodes/canvas-text.el.tsx:
class: NfWaCanvasTextNode
Name
Privacy
Type
Default
Description
Inherited From
type
public
string
'NfWaCanvasTextNode'
defaultDisplayName
public
string
'Text'
defaultIcon
public
string
'alphabet-uppercase'
ports
public
object
{ text: this.addPort<TextPort>({ direction: 'in', customDisplayName: 'Text', metadata: { schema: textPortSchema }, }), canvas: this.addPort<HTMLCanvasElement>({ direction: 'out', customDisplayName: 'Canvas', }), }
Template
public
class: NfWaCanvasTextElement, nf-canvas-text
Name
Privacy
Type
Default
Description
Inherited From
canvasOut
Port<HTMLCanvasElement> | null
null
textIn
Port<TextPort> | null
null
Name
Privacy
Description
Parameters
Return
Inherited From
draw
src/lib/themes/webawesome/demo-nodes/display-number.el.tsx:
class: NfWaDisplayNumberNode
Name
Privacy
Type
Default
Description
Inherited From
type
public
string
'NfWaDisplayNumberNode'
defaultDisplayName
public
string
'Display'
defaultIcon
public
string
'clipboard-pulse'
ports
public
object
{ number: this.addPort<unknown>({ direction: 'in', customDisplayName: 'Number', metadata: { schema: numberPortSchema }, }), }
Template
public
src/lib/themes/webawesome/demo-nodes/note.el.tsx:
Name
Privacy
Type
Default
Description
Inherited From
type
public
string
'NfWaNoteNode'
defaultDisplayName
public
string
'Sticky note'
defaultIcon
public
string
'sticky'
ports
public
object
{ text: this.addPort<string>({ direction: 'in', metadata: { hidden: true }, }), }
Template
public
class: NfWaNoteElement, nf-wa-note
Name
Privacy
Type
Default
Description
Inherited From
textContent
string
''
src/lib/themes/webawesome/demo-nodes/number.el.tsx:
Name
Privacy
Type
Default
Description
Inherited From
type
public
string
'NfWaNumberNode'
defaultDisplayName
public
string
'Number Input'
defaultIcon
public
string
'input-cursor'
ports
public
object
{ number: this.addPort<number>({ direction: 'out', customDisplayName: 'Number', validate: schemas.numberPortValidator, // FIXME: // value: 3, metadata: { schema: schemas.numberPortSchema }, }), }
Template
public
src/lib/themes/webawesome/demo-nodes/operation.el.tsx:
Name
Privacy
Type
Default
Description
Inherited From
operations
public
`[
'Sum',
'Divide',
'Minus',
'Multiply',
]|[ 'Sum', 'Divide', 'Minus', 'Multiply', ]` | | |
Name
Privacy
Type
Default
Description
Inherited From
type
public
string
'NfWaOperationNode'
defaultDisplayName
public
string
'Operation'
defaultIcon
public
string
'calculator'
foo
string
'foo'
ports
public
object
{ numberA: this.addPort<NumberPort>({ direction: 'in', customDisplayName: 'Operand A', validate: numberPortValidator, metadata: { schema: schemas.numberPortSchema }, }), numberB: this.addPort<NumberPort>({ direction: 'in', customDisplayName: 'Operand B', validate: numberPortValidator, metadata: { schema: schemas.numberPortSchema }, }), result: this.addPort<NumberPort>({ direction: 'out', customDisplayName: 'Result', value: 0, }), }
$currentOperation
public
Template
public
Name
Privacy
Description
Parameters
Return
Inherited From
changeOperation
public
operation: Operation
void
updateResult
public
void
fromJSON
public
options: NodeSerializableOptions<this, { initialOperation: Operation }>
void
src/lib/themes/webawesome/demo-nodes/text.el.tsx:
Name
Privacy
Type
Default
Description
Inherited From
type
public
string
'NfWaTextNode'
defaultDisplayName
public
string
'Text Input'
defaultIcon
public
string
'input-cursor'
ports
public
object
{ textOutput: this.addPort<TextPort>({ direction: 'out', customDisplayName: 'Text', metadata: { schema: textPortSchema }, }), }
Template
public
src/lib/themes/webawesome/extra/center.el.tsx:
class: NfWaCenterElement, nf-wa-center
Name
Privacy
Type
Default
Description
Inherited From
slot
(typeof Nfe)['SLOT']['bgInteractive']
flow
GenericFlow
src/lib/themes/webawesome/extra/inventory.el.tsx:
class: NfWaInventoryElement, nf-wa-inventory
Name
Privacy
Type
Default
Description
Inherited From
slot
(typeof Nfe)['SLOT']['foreground']
flow
GenericFlow
MenuPanel
src/lib/themes/webawesome/extra/minimap.el.tsx:
class: NfWaMinimapElement, nf-wa-minimap
Name
Privacy
Type
Default
Description
Inherited From
slot
(typeof Nfe)['SLOT']['foreground']
flow
GenericFlow
scale
number
10
width
number
256
height
number
256
updateCanvas
Name
Field
Inherited From
width
width
height
height
src/lib/themes/webawesome/extra/navigation.el.tsx:
class: NfWaNavigationElement, nf-wa-navigation
Name
Privacy
Type
Default
Description
Inherited From
slot
(typeof Nfe)['SLOT']['foreground']
flow
GenericFlow
src/lib/themes/webawesome/node.el.tsx:
class: NfWaNodeElement, nf-wa-node
Name
Privacy
Type
Default
Description
Inherited From
isNodeInfosEditModeActive
boolean
false
isDeleting
boolean
false
node
GenericNode
src/lib/themes/webawesome/port.el.tsx:
class: NfWaPortElement, nf-wa-port
Name
Privacy
Type
Default
Description
Inherited From
port
Port