Class ChosenEdge.Builder

  • Enclosing class:
    ChosenEdge

    public static class ChosenEdge.Builder
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Builder()  
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • withEdge

        public ChosenEdge.Builder withEdge​(java.lang.String edge)
        "true", "false" or javascript's function can be provided. If 'true', selecting or hovering on an edge will change its characteristics. if 'false', selecting or hovering on an edge will not change its characteristics. If a function is provided, it should have the following signature: function(values, id, selected, hovering) Default value is null
      • withLabel

        public ChosenEdge.Builder withLabel​(java.lang.String label)
        "true", "false" or javascript's function can be provided. If 'true', selecting or hovering on an edge will change its label's characteristics. if 'false', selecting or hovering on an edge will not change its label's characteristics. If a function is provided, it should have the following signature: function(values, id, selected, hovering) Default value is null