Class Interaction.Builder

  • Enclosing class:
    Interaction

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

      • Builder

        public Builder()
    • Method Detail

      • withDragNodes

        public Interaction.Builder withDragNodes​(java.lang.Boolean dragNodes)
        Indicates whether nodes that are not fixed can be dragged. Default value is true.
      • withDragView

        public Interaction.Builder withDragView​(java.lang.Boolean dragView)
        Indicates whether view can be dragged. Default value is true.
      • withHideEdgesOnDrag

        public Interaction.Builder withHideEdgesOnDrag​(java.lang.Boolean hideEdgesOnDrag)
        Indicates whether edges should be hide while dragging. Default value is false.
      • withHideNodesOnDrag

        public Interaction.Builder withHideNodesOnDrag​(java.lang.Boolean hideNodesOnDrag)
        Indicates whether nodes should be hide while dragging. Default value is false.
      • withHover

        public Interaction.Builder withHover​(java.lang.Boolean hover)
        Indicates whether nodes should use their hover colors on a moveover event. Default value is false.
      • withHoverConnectedEdges

        public Interaction.Builder withHoverConnectedEdges​(java.lang.Boolean hoverConnectedEdges)
        Indicates whether on hovering over a node its edges should be highlighted. Default value is true.
      • withMultiselect

        public Interaction.Builder withMultiselect​(java.lang.Boolean multiselect)
        Indicates whether multiselect should be possible. Default value is false.
      • withNavigationButtons

        public Interaction.Builder withNavigationButtons​(java.lang.Boolean navigationButtons)
        Indicates whether navigation buttons should be visible on a canvas. Default value is false.
      • withSelectable

        public Interaction.Builder withSelectable​(java.lang.Boolean selectable)
        Indicates whether nodes and edges can be selected by user. Default value is true.
      • withSelectConnectedEdges

        public Interaction.Builder withSelectConnectedEdges​(java.lang.Boolean selectConnectedEdges)
        Indicates whether selection on a node should highlight its edges. Default value is true.
      • withZoomView

        public Interaction.Builder withZoomView​(java.lang.Boolean zoomView)
        Indicates delay of showing tooltip for edges or nodes. Edges or nodes have to have defined 'title' property. Default value is 300.
      • withTooltipDelay

        public Interaction.Builder withTooltipDelay​(java.lang.Integer tooltipDelay)
        Indicates whether zooming is possible. Default value is true.