{% import 'visualizers/connectivity/matrix_with_quadrants.html' as mwq %}
{{ mwq.draw2DConnectivityMatrix('leftHemisphere', 0, pointsLabels, 0, halfNodeCount, 0, halfNodeCount, 'w') }}
{{ mwq.draw2DConnectivityMatrix('leftRightQuarter', 2, pointsLabels, 0, halfNodeCount, halfNodeCount, nodeCount, 'w') }}
{{ mwq.draw2DConnectivityMatrix('rightLeftQuarter', 1, pointsLabels, halfNodeCount, nodeCount, 0, halfNodeCount, 'w') }}
{{ mwq.draw2DConnectivityMatrix('rightHemisphere', 3, pointsLabels, halfNodeCount, nodeCount, halfNodeCount, nodeCount, 'w') }}
{{ drawMatrixLegendArea('weights-legend') }}
{{ mwq.draw2DConnectivityMatrix('leftHemisphereTracts', 0, pointsLabels, 0, halfNodeCount, 0, halfNodeCount, 't') }}
{{ mwq.draw2DConnectivityMatrix('leftRightQuarterTracts', 2, pointsLabels, 0, halfNodeCount, halfNodeCount, nodeCount, 't') }}
{{ mwq.draw2DConnectivityMatrix('rightLeftQuarterTracts', 1, pointsLabels, halfNodeCount, nodeCount, 0, halfNodeCount, 't') }}
{{ mwq.draw2DConnectivityMatrix('rightHemisphereTracts', 3, pointsLabels, halfNodeCount, nodeCount, halfNodeCount, nodeCount, 't') }}
{{ drawMatrixLegendArea('tracts-legend') }}
{% with %}
{% set start_points_x = ([0, halfNodeCount, 0, halfNodeCount] | string) %}
{% set end_points_x = ([halfNodeCount, nodeCount, halfNodeCount, nodeCount] | string) %}
{% set start_points_y = ([0, halfNodeCount, halfNodeCount, 0] | string) %}
{% set end_points_y = ([halfNodeCount, nodeCount, nodeCount, halfNodeCount] | string) %}
{% endwith %}