Class: Graphomaton::Layout::ForceTree::Node

Inherits:
Struct
  • Object
show all
Defined in:
lib/graphomaton/layout/force_tree.rb

Instance Attribute Summary collapse

Instance Attribute Details

#center_xObject

Returns the value of attribute center_x

Returns:

  • (Object)

    the current value of center_x



10
11
12
# File 'lib/graphomaton/layout/force_tree.rb', line 10

def center_x
  @center_x
end

#center_yObject

Returns the value of attribute center_y

Returns:

  • (Object)

    the current value of center_y



10
11
12
# File 'lib/graphomaton/layout/force_tree.rb', line 10

def center_y
  @center_y
end

#childrenObject

Returns the value of attribute children

Returns:

  • (Object)

    the current value of children



10
11
12
# File 'lib/graphomaton/layout/force_tree.rb', line 10

def children
  @children
end

#leftObject

Returns the value of attribute left

Returns:

  • (Object)

    the current value of left



10
11
12
# File 'lib/graphomaton/layout/force_tree.rb', line 10

def left
  @left
end

#massObject

Returns the value of attribute mass

Returns:

  • (Object)

    the current value of mass



10
11
12
# File 'lib/graphomaton/layout/force_tree.rb', line 10

def mass
  @mass
end

#pointsObject

Returns the value of attribute points

Returns:

  • (Object)

    the current value of points



10
11
12
# File 'lib/graphomaton/layout/force_tree.rb', line 10

def points
  @points
end

#sizeObject

Returns the value of attribute size

Returns:

  • (Object)

    the current value of size



10
11
12
# File 'lib/graphomaton/layout/force_tree.rb', line 10

def size
  @size
end

#topObject

Returns the value of attribute top

Returns:

  • (Object)

    the current value of top



10
11
12
# File 'lib/graphomaton/layout/force_tree.rb', line 10

def top
  @top
end