Class NetworkGraphLink

    • Constructor Detail

      • NetworkGraphLink

        public NetworkGraphLink()
    • Method Detail

      • getColor

        public String getColor()
        Returns the color of the link between two nodes.

        Default: rgba(100, 100, 100, 0.5)

      • setColor

        public void setColor​(String color)
        Sets the color of the link between two nodes.
      • getDashStyle

        public String getDashStyle()
        Returns a name for the dash style to use for links.

        Default: null

      • setDashStyle

        public void setDashStyle​(String dashStyle)
        Sets a name for the dash style to use for links.
      • getLength

        public Number getLength()
        Returns the length (px) of the link between two nodes.

        Default: null

      • setLength

        public void setLength​(Number length)
        Sets the length (px) of the link between two nodes.
      • getWidth

        public Number getWidth()
        Returns the width (px) of the link between two nodes.

        Default: 1

      • setWidth

        public void setWidth​(Number width)
        Sets the width (px) of the link between two nodes.