-
Hi, I'm using this library together with ELK. Just like in this example: https://x6.antv.vision/en/examples/showcase/practices#elk and svelte. I also use svelte and have my own shape registrar lib that is just "edited for svelte ™️" copy of x6-react-shape How can I modify ports? Is graph's function More importantly, how can I display and position port labels? (the text and position is outputted by ELK). It doesnt seem to work for me: https://codesandbox.io/s/fancy-rgb-sflzyf?file=/index.ts Everything is working so smoothly together (svelte + ELK + x6 ) but ports and its labels are giving me a headache. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I kinda figured it out, can't use svelte component with this approach though. But I went with x6' native way of editing node's metadata on registering and adding |
Beta Was this translation helpful? Give feedback.
I kinda figured it out, can't use svelte component with this approach though. But I went with x6' native way of editing node's metadata on registering and adding