Loaders
The goal of loaders are to make it easier to create a valid ELK JSON from common
sources.
JSON Loader
-
class ipyelk.loaders.ElkJSONLoader(**kwargs)
Element Loader
-
class ipyelk.loaders.ElementLoader(**kwargs)
-
load(root)
Build a diagram source from the loader’s input type.
Positional-only here so subclasses can name their input
(root=, graph=, data=).
- Return type:
MarkElementWidget
NetworkX Loader
-
class ipyelk.loaders.NXLoader(**kwargs)
-
load(graph, hierarchy=None)
Build a diagram source from the loader’s input type.
Positional-only here so subclasses can name their input
(root=, graph=, data=).
- Return type:
MarkElementWidget