<?xml version="1.0" encoding="UTF-8"?>
<constellation_config>

	<visualization>
	
		<!-- the depth of the tree displayed in the visualization.  the
		   - depth includes the selected node.  for example, a depth of
		   - 1 will display only the selected node.  a depth of 2 will
		   - display the selected node and its neighbours.  a depth of
		   - 3 will display the selected node, its neighbours, and their
		   - neighbours
		   -->
		<tree_depth>1</tree_depth>
		
		<!-- the preferred minimum distance between unconnected nodes
		  -->
		<node_repulsion_distance>180</node_repulsion_distance>
		
		<!-- the base value for calculating the preferred distance between
		   - two connected nodes.  the actual edge length depends on other
		   - factors but this value can be used to influence it
		   -
		   - larger values result in more spread out node layouts
		   -->
		<base_edge_length>150</base_edge_length>
		
		<!-- the amount of variation allowed in the preferred distance
		   - between two  connected nodes.  this value determines the extent
		   - to which an edge's 'edge_length_weight' property affects the
		   - preferred edge length.  the preferred length will be between:
		   -
		   -    base_edge_length * (1 - edge_length_variation)
		   -
		   - and
		   -
		   -    base_edge_length * (1 + edge_length_variation)
		   -
		   - the value should be a number between 0 and 1. larger values
		   - result in larger differences in the distance between nodes
		   -->
		<edge_length_variation>0.25</edge_length_variation>
		
		<!-- indicates whether the mouse can drag the visualization.  when
		   - set to true, clicking the background and dragging the mouse
		   - will pan the visualization
		   -->
		<mouse_drag_panning>true</mouse_drag_panning>
		
		<!-- indicates whether the horizontal scrollbar should be displayed
		   -->
		<horizontal_scrollbar>false</horizontal_scrollbar>
		
		<!-- indicates whether the vertical scrollbar should be displayed
		   -->
		<vertical_scrollbar>false</vertical_scrollbar>
		
		<!-- indicates whether the zoom controls should be displayed
		   -->
		<zoom_controls>true</zoom_controls>
		
		<!-- the background color for the mouse over tooltip
		   -->
		<tooltip_background_color>#FFFFCC</tooltip_background_color>
		
		<!-- the font color for the mouse over tooltip
		   -->
		<tooltip_font_color>#000000</tooltip_font_color>
		
		<!-- indicates whether tooltips should use bold fonts
		   -->
		<tooltip_font_bold>false</tooltip_font_bold>
		
		<!-- indicates whether tooltips should use italic fonts
		   -->
		<tooltip_font_italic>false</tooltip_font_italic>
		
		<!-- the tooltip font family.  this value is ignored if embedded fonts are used
		   -->
		<tooltip_font_family>Arial</tooltip_font_family>
		
		<!-- the tooltip font size
		   -->
		<tooltip_font_size>12</tooltip_font_size>
		
		<!-- indicates whether tooltips should use embedded fonts.  if set to true,
		   - the font family is forced to Arial.
		   -->
		<tooltip_embed_fonts>true</tooltip_embed_fonts>
		
		<!-- the maximum width of a tooltip
		   -->
		<tooltip_max_width>350</tooltip_max_width>
		
	</visualization>
	
	<integration>
	
		<!-- indicates whether the javascript interface should be activated.
		   - when set to true, the Flash movie can communicate with the
		   - embedding web page via javascript
		   -->
		<use_javascript>true</use_javascript>
		
		<!-- indicates whether javascript calls receive an instance ID.  the
		   - instance ID is set by the embedding web page and setting this
		   - to true will have it passed back to the web page's javascript
		   - methods in the first argument.  if you have multiple instances
		   - on the same page, this allows you to determine which one is
		   - firing an event
		   -->
		<include_instance_id>true</include_instance_id>
		
	</integration>
	
	<data>
		
		<!-- the type of interface used to load graph data. currently
		   - supported values are 'static_xml' and 'rest_tree'
		   -
		   - the 'static_xml' interface mode simply loads an XML file
		   - containing graph data from the given URL.  this is the
		   - simplest interface but all the data is loaded before the
		   - visualization is displayed, it is not suitable for large
		   - datasets
		   -
		   - the 'rest_tree' interface mode loads data dynamically from
		   - a REST-like web service.  the client sends the ID of a node
		   - and the server responds with the nodes and edges contained
		   - in a tree rooted at that node. more information about
		   - implementing the interface is available at the
		   - Constellation website
		   -->
		<interface_mode>static_xml</interface_mode>
		
		<!-- the URL where the graph data is loaded.  when the request
		   - is made, the following strings will be replaced with
		   - variable values:
		   -
		   - [instance_id]  - the chart ID passed to the Constellation
		   -                  Chart instance in the flash_vars
		   - [passthru]     - a pass-through variable from the FlashVars
		   - [node_id]      - the ID of the node to load (in REST tree mode)
		   - [depth]        - the depth of the tree to load (in REST tree mode)
		   - [timestamp]    - the current unix timestamp.  use to break caching
		   -->
		<url>/cluster/constellation_source.php</url>
		
		<!-- the depth of the tree to load from the server. in any tree
		   - interface mode, the client will request a tree of this
		   - depth.  ensure that the value of 'load_depth' is not lower
		   - than 'min_load_depth'
		   -->
		<load_depth>4</load_depth>
		
		<!-- the depth of the selected node's tree that must be loaded.
		   - in any tree interface mode, when a node is selected, the
		   - client will ensure that all the nodes in the tree of this
		   - depth and rooted at the selected node will be loaded.  for
		   - example, if node A is selected and the load ahead depth is
		   - 2, then the client will check whether node A's neighbours
		   - have been loaded.  if not, it will request the information
		   - from the server.
		   -
		   - the depth value includes the selected node.  so a value of
		   - 1 will only require that the selected node is loaded.  a
		   - value of 2 will require that the selected node and its
		   - neighbours are loaded.  a value of 3 will require the
		   - selected node, its neighbours, and their neighbours.
		   -->
		<min_load_depth>3</min_load_depth>
	</data>
	
	<defaults>
		<node
			label=""
			tooltip=""
			
			url=""
			url_target="_self"
			
			graphic_type="shape"
			graphic_image_url=""
			
			graphic_shape="circle"
			graphic_fill_color="#ffffff"
			graphic_line_color="#000000"
			graphic_gradient_fill="true"
			graphic_size="40"
			
			selected_graphic_shape="circle"
			selected_graphic_fill_color="#ffffff"
			selected_graphic_line_color="#000000"
			selected_graphic_gradient_fill="true"
			selected_graphic_size="40"
			
			left_icon_url=""
			right_icon_url=""
			
			selected_left_icon_url=""
			selected_right_icon_url=""
			
			left_icon_spacing="0"
			right_icon_spacing="0"
			
			label_bg_enabled="true"
			label_bg_fill_color="#ffffff"
			label_bg_line_color="#000000"
			label_bg_rounded_corners="true"
			
			selected_label_bg_enabled="true"
			selected_label_bg_fill_color="#ffffff"
			selected_label_bg_line_color="#000000"
			selected_label_bg_rounded_corners="true"
			
			label_embed_fonts="true"
			
			label_font_color="#000000"
			label_font_bold="false"
			label_font_family="Arial"
			label_font_italic="false"
			label_font_size="12"
			
			selected_label_font_color="#000000"
			selected_label_font_bold="true"
			selected_label_font_family="Arial"
			selected_label_font_italic="false"
			selected_label_font_size="12"
			/>
		
		<edge
			tooltip=""
			
			edge_line_color="#000000"
			edge_line_thickness="1"
			
			arrowhead="false"
			bidirectional="false"
			
			edge_length_weight="0"
			/>
			
	</defaults>
	
	<license>
	
		<!-- the ID of the licensed product
		   -->
		<product_id>0688172172</product_id>
		
		<!-- the domain where the Constellation Chart will be accessed.
		   - this value must reflect your license agreement. any URLs
		   - that embed the Constellation Chart must be in the given
		   - domain or in a subdomain. only the top-level domain and the
		   - subdomain should be entered. for example, if the
		   - Constellation Chart is embedded in the HTML page at:
		   -
		   -   http://vis.example.com/friends/contellation.html
		   -
		   - the value of the domain tag should be:
		   -
		   -   example.com
		   -
		   --> 
		<domain>scienceportugal.com</domain>
		
		<!-- the date when the Constellation Chart will expire.  the
		   - date format is iso 8601 (i.e., YYYY-MM-DD).  if your
		   - license has no expiry date, leave this field blank
		   -->
		<expiry></expiry>
		
		<!-- your license key.  the license key must correspond to the
		   - the license details entered above (e.g., domain, expiry) or
		   - the Constellation Chart will fail to initialize
		   -->
		<key>5ef91b4012407c84408ac54b62e45d3612b670c9f405336666cc6ce4d8b8d082</key>

	</license>
	
</constellation_config>