Skip to content

The edges with different color exchange color with the other when moving a node manually #2220

@SYSU-Coder

Description

@SYSU-Coder

Image

My network option:

const options = {
        nodes: {
          shape: 'dot',
          size: 15,
          font: {
            color: '#FFFFFF',
            size: 15
          },
          physics: false,
        },
        edges: {
          width: 1,
          color: { inherit: 'from' },
          smooth: { enabled: false },
          arrows: {
            to: {
              enabled: true,
              scaleFactor: 1,
              type: 'arrow'
            }
          }
        },
        interaction: {
          selectable: false
        },
        physics: {
          enabled: false,
          forceAtlas2Based: {
            gravitationalConstant: -50,
            centralGravity: 0.01,
            springLength: 200,
            springConstant: 0.1,
          },
          minVelocity: 0.75,
          maxVelocity: 5,
          solver: 'forceAtlas2Based',
          timestep: 0.5,
        },
      };

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions