github graphieros/vue-data-ui v3.8.2

latest releases: v3.8.5, v3.8.4...
2 days ago

VueUiDag

  • Slightly trim the edge path when arrows are present, to avoid seeing the edge tip when the arrow is highlighted
  • Add the #free-node-label scoped slot, to customize labels inside an exposed svg G element:
   <VueUiDag :dataset="dataset" :config="config">
        <template #free-node-label="{ node }">
            <!-- Content will be injected inside a svg G element -->
            <!-- Use this to place the label below the node, for example -->
            <text :x="node.x" :y="node.y + node.height" fill="black" text-anchor="middle">
                {{ node.label }}
            </text>
        </template>
    </VueUiDag>

Docs are up to date

Don't miss a new vue-data-ui release

NewReleases is sending notifications on new releases.