Skip to content

Node labels placed below node icon #106

@fouufi

Description

@fouufi

Hello; i have a question, I am using the component :
<d3-Network :net-links="links" :net-nodes="nodes" :options="options" />
with following options:

options: {
      fontSize: 11,
      force: 4000,
      strLinks: true,
      nodeSize: 40,
      nodeLabels: true,
      linkLabels: true,
      canvas: false,

      linkWidth: 1,
      offset: {
        x: 0,
        y: 0,
      },
    },

I am adding nodes when data is loaded with icons corresponding to each node and i have the labels of nodes appearing on the right of the icon :
this.nodes.push({ id: nd["name"], name: nd["name"], svgSym: this.url });
Is there any way to change the position of the label ? I would like it placed below the icon but I don't know how to do that, I tried adjusting some css with the class node-label with no luck.

Thanks,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions