Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/kieler/elkjs
/ functions
Functions
96 in github.com/kieler/elkjs
⨍
Functions
96
◇
Types & classes
49
↓ 47 callers
Method
layout
( graph: T, args?: ElkLayoutArguments )
typings/elk-api.d.ts:116
↓ 11 callers
Method
postMessage
(msg)
src/js/elk-api.js:114
↓ 4 callers
Function
_typeof
(o)
lib/main.js:3
↓ 4 callers
Method
terminateWorker
()
typings/elk-api.d.ts:123
↓ 3 callers
Function
_typeof
(o)
lib/elk-api.js:8
↓ 3 callers
Method
addElement
(tag, attrs)
test/examples/SimpleElkGraphDrawer.js:272
↓ 3 callers
Method
convertGwtStyleError
(err)
src/js/elk-api.js:153
↓ 3 callers
Method
drawLabel
(label)
test/examples/SimpleElkGraphDrawer.js:193
↓ 3 callers
Method
getLayoutData
(final Collection<? extends ILayoutMetaData> data)
src/java/org/eclipse/elk/js/ElkJs.java:266
↓ 3 callers
Method
terminate
()
src/js/elk-api.js:147
↓ 2 callers
Function
_classCallCheck
(a, n)
lib/elk-api.js:9
↓ 2 callers
Function
_createClass
(e, r, t)
lib/elk-api.js:11
↓ 2 callers
Function
_defineProperties
(e, r)
lib/elk-api.js:10
↓ 2 callers
Function
_defineProperties
(e, r)
lib/main.js:4
↓ 2 callers
Function
_getPrototypeOf
(t)
lib/main.js:13
↓ 2 callers
Method
drawRectangle
(r, style)
test/examples/SimpleElkGraphDrawer.js:128
↓ 2 callers
Method
enterRectangle
(r)
test/examples/SimpleElkGraphDrawer.js:133
↓ 2 callers
Method
exitRectangle
()
test/examples/SimpleElkGraphDrawer.js:145
↓ 2 callers
Method
getEdgeShift
()
test/examples/SimpleElkGraphDrawer.js:109
↓ 2 callers
Method
getShapeShift
()
test/examples/SimpleElkGraphDrawer.js:94
↓ 2 callers
Method
makeElement
(tag, attrs)
test/examples/SimpleElkGraphDrawer.js:264
↓ 2 callers
Method
polyline
(pointsArray, style)
test/examples/SimpleElkGraphDrawer.js:293
↓ 2 callers
Method
receive
(self, answer)
src/js/elk-api.js:134
↓ 2 callers
Method
reset
()
test/examples/SimpleElkGraphDrawer.js:71
↓ 1 callers
Function
_assertThisInitialized
(e)
lib/main.js:11
↓ 1 callers
Function
_callSuper
(t, o, e)
lib/main.js:9
↓ 1 callers
Function
_classCallCheck
(a, n)
lib/main.js:8
↓ 1 callers
Function
_createClass
(e, r, t)
lib/main.js:5
↓ 1 callers
Function
_inherits
(t, e)
lib/main.js:14
↓ 1 callers
Function
_isNativeReflectConstruct
()
lib/main.js:12
↓ 1 callers
Function
_possibleConstructorReturn
(t, e)
lib/main.js:10
↓ 1 callers
Function
_setPrototypeOf
(t, e)
lib/main.js:15
↓ 1 callers
Function
_toPrimitive
(t, r)
lib/elk-api.js:13
↓ 1 callers
Function
_toPrimitive
(t, r)
lib/main.js:7
↓ 1 callers
Function
_toPropertyKey
(t)
lib/elk-api.js:12
↓ 1 callers
Function
_toPropertyKey
(t)
lib/main.js:6
↓ 1 callers
Method
arrowHead
(p, q, L, style)
test/examples/SimpleElkGraphDrawer.js:304
↓ 1 callers
Method
collectLogs
(final IElkProgressMonitor currentPM, final JSONObject logObject,
src/java/org/eclipse/elk/js/ElkJs.java:213
↓ 1 callers
Method
drawEdge
(edge)
test/examples/SimpleElkGraphDrawer.js:202
↓ 1 callers
Method
drawEdgeSection
(section, drawArrowHead)
test/examples/SimpleElkGraphDrawer.js:219
↓ 1 callers
Method
drawNode
(node)
test/examples/SimpleElkGraphDrawer.js:159
↓ 1 callers
Method
drawPort
(port)
test/examples/SimpleElkGraphDrawer.js:182
↓ 1 callers
Method
exportLayout
()
src/java/org/eclipse/elk/js/ElkJs.java:52
↓ 1 callers
Function
o
(i,f)
lib/elk-api.js:1
↓ 1 callers
Method
optsToCfg
(final JSONObject opts)
src/java/org/eclipse/elk/js/ElkJs.java:275
↓ 1 callers
Method
rect
(x, y, w, h, style)
test/examples/SimpleElkGraphDrawer.js:282
↓ 1 callers
Method
text
(x0, y0, width, height, text, style)
test/examples/SimpleElkGraphDrawer.js:330
Function
ELK
()
lib/elk-api.js:24
Function
ELKNode
()
lib/main.js:26
Function
PromisedWorker
(worker)
lib/elk-api.js:118
Method
SVGImage
The constructor disables the output if the filename is null. @param file the SVG's filename
src/java-additional/org/eclipse/elk/alg/common/utils/SVGImage.java:32
Method
addCircle
(final double x, final double y)
src/java-additional/org/eclipse/elk/alg/common/utils/SVGImage.java:93
Method
addElementStr
(final String element)
src/java-additional/org/eclipse/elk/alg/common/utils/SVGImage.java:90
Method
addGroups
Add SVG groups. @param keys the new groups' identifiers
src/java-additional/org/eclipse/elk/alg/common/utils/SVGImage.java:50
Method
addLine
(final double x1, final double y1, final double x2, final double y2)
src/java-additional/org/eclipse/elk/alg/common/utils/SVGImage.java:99
Method
addPoint
(point)
test/examples/SimpleElkGraphDrawer.js:224
Method
addPoly
(final String attributes, final KVector... points)
src/java-additional/org/eclipse/elk/alg/common/utils/SVGImage.java:111
Method
addRect
(final double x, final double y, final double w, final double h, final String attributes)
src/java-additional/org/eclipse/elk/alg/common/utils/SVGImage.java:105
Method
addText
(final double x, final double y, final String text, final String attributes)
src/java-additional/org/eclipse/elk/alg/common/utils/SVGImage.java:114
Method
addTo
(element)
test/examples/SimpleElkGraphDrawer.js:278
Method
clear
Clears the entire image and resets the output according to the availability of a filename.
src/java-additional/org/eclipse/elk/alg/common/utils/SVGImage.java:85
Method
clearGroup
Clears the specified group. @param key identifier of the group
src/java-additional/org/eclipse/elk/alg/common/utils/SVGImage.java:58
Method
constructor
({ nodeStyle = {stroke: "black", fill: "none"}, edgeStyle = {stroke: "black", "stroke-width":
test/examples/SimpleElkGraphDrawer.js:41
Method
constructor
(W, H)
test/examples/SimpleElkGraphDrawer.js:253
Method
constructor
({ defaultLayoutOptions = {}, algorithms = [ 'layered', 'stress', 'mrtree',
src/js/elk-api.js:12
Method
constructor
(worker)
src/js/elk-api.js:100
Method
constructor
(options = {})
src/js/main-node.js:12
Method
draw
(root)
test/examples/SimpleElkGraphDrawer.js:87
Method
g
Select an SVG group. @param key the identifier of an existing or a new group @return the image with the selected group being active
src/java-additional/org/eclipse/elk/alg/common/utils/SVGImage.java:41
Method
getDescription
()
src/java/org/eclipse/elk/js/linker/NodeJsModuleLinker.java:112
Method
getLayoutAlgorithms
()
src/java/org/eclipse/elk/js/ElkJs.java:254
Method
getLayoutCategories
()
src/java/org/eclipse/elk/js/ElkJs.java:258
Method
getLayoutOptions
()
src/java/org/eclipse/elk/js/ElkJs.java:262
Method
isave
Writes the SVG to the given file and appends an incrementing number. @param fName filename without file extension
src/java-additional/org/eclipse/elk/alg/common/utils/SVGImage.java:139
Method
knownLayoutAlgorithms
()
lib/elk-api.d.ts:120
Method
knownLayoutAlgorithms
()
src/js/elk-api.js:79
Method
knownLayoutAlgorithms
()
typings/elk-api.d.ts:120
Method
knownLayoutCategories
()
lib/elk-api.d.ts:122
Method
knownLayoutCategories
()
src/js/elk-api.js:87
Method
knownLayoutCategories
()
typings/elk-api.d.ts:122
Method
knownLayoutOptions
()
lib/elk-api.d.ts:121
Method
knownLayoutOptions
()
src/js/elk-api.js:83
Method
knownLayoutOptions
()
typings/elk-api.d.ts:121
Method
layout
( graph: T, args?: ElkLayoutArguments )
lib/elk-api.d.ts:116
Method
layout
(graph, { layoutOptions = this.defaultLayoutOptions, logging = false, measureExecutionTime =
src/js/elk-api.js:60
Method
layout
(final JavaScriptObject graphObj, final JavaScriptObject layoutOptionsObj,
src/java/org/eclipse/elk/js/ElkJs.java:159
Method
link
{@inheritDoc}
src/java/org/eclipse/elk/js/linker/NodeJsModuleLinker.java:33
Method
onModuleLoad
This is the entry point method.
src/java/org/eclipse/elk/js/ElkJs.java:46
Function
r
(e,n,t)
lib/elk-api.js:1
Method
registerLayoutAlgorithms
(final JavaScriptObject arrayObj)
src/java/org/eclipse/elk/js/ElkJs.java:130
Method
removeGroup
Removes group. @param key identifier of the group
src/java-additional/org/eclipse/elk/alg/common/utils/SVGImage.java:66
Method
save
Writes the SVG to the given file. @param fName filename without file extension
src/java-additional/org/eclipse/elk/alg/common/utils/SVGImage.java:125
Method
setViewBox
Sets the SVG's viewbox to a fixed size and position and disables its automatic updating. @param x x @param y y @param w width @param h height
src/java-additional/org/eclipse/elk/alg/common/utils/SVGImage.java:78
Method
terminateWorker
()
lib/elk-api.d.ts:123
Method
terminateWorker
()
src/js/elk-api.js:91
Method
updateViewBox
(final KVector... points)
src/java-additional/org/eclipse/elk/alg/common/utils/SVGImage.java:117