.. role:: ts-api-decorator

################
ComparisonConfig
################

.. container:: ts-api-section

   .. js:class:: ComparisonConfig

      Settings that control the behavior of visual node comparison enabled
      by [[View.startComparison]].



.. container:: api-index-section

   .. rubric:: Properties

   .. rst-class:: api-index-list-item api-kind-property api-parent-kind-interface

   * :js:attr:`~ComparisonConfig.only1Color`
   * :js:attr:`~ComparisonConfig.only2Color`
   * :js:attr:`~ComparisonConfig.sameColor`





------------

Properties
==========

.. container:: ts-api-section

   .. js:attribute:: ComparisonConfig.only1Color

      :type: Color :ts-api-decorator:`optional`

      The color used for areas covered by the first set of nodes but not the second set.



.. container:: ts-api-section

   .. js:attribute:: ComparisonConfig.only2Color

      :type: Color :ts-api-decorator:`optional`

      The color used for areas covered by the second set of nodes but not the first set.



.. container:: ts-api-section

   .. js:attribute:: ComparisonConfig.sameColor

      :type: Color :ts-api-decorator:`optional`

      The color used for areas covered by both sets of nodes.



