Class EdgeColor.Builder

  • Enclosing class:
    EdgeColor

    public static class EdgeColor.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • withColor

        public EdgeColor.Builder withColor​(java.lang.String color)
        Represents color information when edge is not selected. Default value is #848484.
      • withHighlight

        public EdgeColor.Builder withHighlight​(java.lang.String highlight)
        Represents color information when edge is selected. Default value is #848484.
      • withHover

        public EdgeColor.Builder withHover​(java.lang.String hover)
        Represents color information when mouse is over an edge. Default value is #848484.
      • withInherit

        public EdgeColor.Builder withInherit​(java.lang.String inherit)
        When set to "from", then edge will inherit color from a border of node on a 'from' side. When set to 'to' then edge will inherit color from a border of node on a 'to' side. Possible values are true, false, 'from','to','both'. Default value is 'from'.
      • withOpacity

        public EdgeColor.Builder withOpacity​(java.lang.Integer opacity)
        Opacity of an edge. The allowed range of opacity values are [0..1]. Default value is 1.