Class TreeGraphLink

    • Constructor Detail

      • TreeGraphLink

        public TreeGraphLink()
    • Method Detail

      • getColor

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

        Default: #666666

      • setColor

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

        public String getCursor()
        Returns the mouse cursor.

        Default: "default"

      • setCursor

        public void setCursor​(String cursor)
        Sets the mouse cursor.

        Default: "default"

      • getLineWidth

        public Number getLineWidth()
        Returns pixel width of the graph line.

        Default: 1.

      • setLineWidth

        public void setLineWidth​(Number lineWidth)
        Sets pixel width of the graph line.
      • getRadius

        public Number getRadius()
        Returns radius for the rounded corners of the links between nodes. Works for "default" link type.

        Default: 10

      • setRadius

        public void setRadius​(Number radius)
        Sets radius for the rounded corners of the links between nodes. Works for "default" link type.

        Default: 10

      • getType

        public String getType()
        Returns the type of the link shape

        Default: "curved"

      • setType

        public void setType​(String type)
        Sets the type of the link shape in "default", "curved", and "straight".

        Default: "curved"