I'm probably doing something wrong but I don't understand why ipyelk is ignoring certain layout options:
Node(
id="x",
labels=[{"text": "x"}],
width=80, # ignored
height=50, # ignored
layoutOptions = {
layout_options.NodeLabelPlacement.identifier: "V_CENTER H_CENTER", # ignored
layout_options.NodeSizeConstraints.identifier: "PORTS PORT_LABELS NODE_LABELS MINIMUM_SIZE",
layout_options.NodeSizeMinimum.identifier: "80, 50", # this one works
}
)
What am I doing wrong? I tried using .clear_defaults() on the loader but it just put the label on the top left with no padding instead...
I'm probably doing something wrong but I don't understand why ipyelk is ignoring certain layout options:
What am I doing wrong? I tried using .clear_defaults() on the loader but it just put the label on the top left with no padding instead...