//        Copyright 2016, 2021, 2023 Avid Technology, Inc.
//        All rights reserved.
// 
// CONFIDENTIAL: this document contains confidential information of Avid. Do
// not disclose to any third party. Use of the information contained in this
// document is subject to an Avid SDK license.

graph aax_parameter_entities_touch_handled {
	graph [ fontname=Helvetica ];
	node [shape=record, fontname=Helvetica, fontsize=10];
	
	// Nodes
	//
	node_host [ label="Host" shape="diamond" ];
	
	node_parameterdata [ label="Parameter Data" shape="record" style="filled" fillcolor="lightblue" ];
	
	subgraph cluster_view1 {
		label="Client 1";
		style=rounded;
		node_view1 [ label="View" shape="oval" style="filled" fillcolor="lightblue" ];
		node_viewcontroller1 [ label="View Controller" shape="oval" style="filled" ];
	}
	subgraph cluster_view2 {
		label="Client 2";
		style=rounded;
		node_view2 [ label="View" shape="oval" style="filled" fillcolor="lightblue" ];
		node_viewcontroller2 [ label="View Controller" shape="oval" style="filled" ];
	}
	subgraph cluster_view3 {
		label="Client 3";
		style=rounded;
		node_view3 [ label="View" shape="oval" style="filled" fillcolor="lightblue" ];
	}
	//
	/////////
	
	// Arrangement constraints
	rankdir=BT;
	node_viewcontroller1 -- node_parameterdata [ style="invis" ];
	node_viewcontroller2 -- node_parameterdata [ style="invis" ];
	node_view3 -- node_parameterdata [ style="invis" ];
	node_parameterdata -- node_host [style="invis" ];
//	{rank=same; node_host node_parameterdata}

	// TOUCH
	node_viewcontroller1 -- node_host [ label="touch" URL="\ref AAX_IAutomationDelegate::PostTouchRequest()" arrowhead="normal" dir="forward" ];

	// TOUCH HANDLED
//	node_host [ label="Host\r(Client 1 is Touched)" shape="diamond" ];
	node_host -- node_parameterdata [  label="update touch\r(async)" URL="\ref AAX_IEffectParameters::UpdateParameterTouch()" arrowhead="normal" dir="forward" constraint=false ];
}


