Module lib/models/drawer-builder
Functions
createPlug
- createPlug(type: any, plug: any, i: any, vMargin: any, height: any, count: any, plugLength: any, width: any): {}
-
Parameters
-
type: any
-
plug: any
-
i: any
-
vMargin: any
-
height: any
-
count: any
-
plugLength: any
-
width: any
Returns {}
createPlugCircle
- createPlugCircle(id: any, slotId: any, moduleId: any, classes: any, cx: any, cy: any): { attributes: { cx: any; cy: any }; class: any; id: any; moduleId: any; slotId: any; tag: string }
-
Parameters
-
id: any
-
slotId: any
-
moduleId: any
-
classes: any
-
cx: any
-
cy: any
Returns { attributes: { cx: any; cy: any }; class: any; id: any; moduleId: any; slotId: any; tag: string }
-
attributes: { cx: any; cy: any }
-
class: any
-
id: any
-
moduleId: any
-
slotId: any
-
tag: string
createPlugLine
- createPlugLine(id: any, classes: any, x1: any, y1: any, x2: any, y2: any): { attributes: { x1: any; x2: any; y1: any; y2: any }; class: any; id: any; tag: string }
-
Parameters
-
id: any
-
classes: any
-
x1: any
-
y1: any
-
x2: any
-
y2: any
Returns { attributes: { x1: any; x2: any; y1: any; y2: any }; class: any; id: any; tag: string }
-
attributes: { x1: any; x2: any; y1: any; y2: any }
-
x1: any
-
x2: any
-
y1: any
-
y2: any
-
class: any
-
id: any
-
tag: string
genericModulePlot
- genericModulePlot(__namedParameters: { icon: any; module: ModuleFlux; vMargin: number; vStep: number; width: number }): SVGElement
-
Parameters
-
__namedParameters: { icon: any; module: ModuleFlux; vMargin: number; vStep: number; width: number }
-
icon: any
-
-
vMargin: number
-
vStep: number
-
width: number
Returns SVGElement
genericModulePlotData
- genericModulePlotData(__namedParameters: { actions: any; icon: any; inputs: any; module: ModuleFlux; outputs: any; vMargin: number; vStep: number; width: number }): { children: { actions: { children: {}; style: { transform: string }; tag: string }; content: { attributes: { filter: string; height: number; width: number; x: number; y: number }; class: string; tag: string }; headerBg: { attributes: { d: string }; class: string; tag: string }; headerOutline: { attributes: { d: string }; class: string; tag: string }; icon: { class: string; innerHTML: string; style: { transform: string }; tag: string }; inputs: { children: any; tag: string }; outputs: { children: any; tag: string }; title: { attributes: { x: number; y: number }; class: string; tag: string; textContent: string } }; ondragenter: (event: any) => any; ondragleave: (event: any) => any; tag: string }
-
Parameters
-
__namedParameters: { actions: any; icon: any; inputs: any; module: ModuleFlux; outputs: any; vMargin: number; vStep: number; width: number }
-
actions: any
-
icon: any
-
inputs: any
-
-
outputs: any
-
vMargin: number
-
vStep: number
-
width: number
Returns { children: { actions: { children: {}; style: { transform: string }; tag: string }; content: { attributes: { filter: string; height: number; width: number; x: number; y: number }; class: string; tag: string }; headerBg: { attributes: { d: string }; class: string; tag: string }; headerOutline: { attributes: { d: string }; class: string; tag: string }; icon: { class: string; innerHTML: string; style: { transform: string }; tag: string }; inputs: { children: any; tag: string }; outputs: { children: any; tag: string }; title: { attributes: { x: number; y: number }; class: string; tag: string; textContent: string } }; ondragenter: (event: any) => any; ondragleave: (event: any) => any; tag: string }
-
children: { actions: { children: {}; style: { transform: string }; tag: string }; content: { attributes: { filter: string; height: number; width: number; x: number; y: number }; class: string; tag: string }; headerBg: { attributes: { d: string }; class: string; tag: string }; headerOutline: { attributes: { d: string }; class: string; tag: string }; icon: { class: string; innerHTML: string; style: { transform: string }; tag: string }; inputs: { children: any; tag: string }; outputs: { children: any; tag: string }; title: { attributes: { x: number; y: number }; class: string; tag: string; textContent: string } }
-
actions: { children: {}; style: { transform: string }; tag: string }
-
children: {}
-
style: { transform: string }
-
tag: string
-
content: { attributes: { filter: string; height: number; width: number; x: number; y: number }; class: string; tag: string }
-
attributes: { filter: string; height: number; width: number; x: number; y: number }
-
filter: string
-
height: number
-
width: number
-
x: number
-
y: number
-
class: string
-
tag: string
-
headerBg: { attributes: { d: string }; class: string; tag: string }
-
attributes: { d: string }
-
class: string
-
tag: string
-
headerOutline: { attributes: { d: string }; class: string; tag: string }
-
attributes: { d: string }
-
class: string
-
tag: string
-
icon: { class: string; innerHTML: string; style: { transform: string }; tag: string }
-
class: string
-
innerHTML: string
-
style: { transform: string }
-
tag: string
-
inputs: { children: any; tag: string }
-
children: any
-
tag: string
-
outputs: { children: any; tag: string }
-
children: any
-
tag: string
-
title: { attributes: { x: number; y: number }; class: string; tag: string; textContent: string }
-
attributes: { x: number; y: number }
-
class: string
-
tag: string
-
textContent: string
-
ondragenter: (event: any) => any
-
ondragleave: (event: any) => any
-
tag: string
getTransforms
- getTransforms(g: any): string
-
Parameters
Returns string
toCssName
- toCssName(name: string): string
-
Parameters
Returns string