<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE GraphXML SYSTEM "GraphXML.dtd">
<GraphXML>
    <graph id="some_example">

    	<!--********************************************
    		* First we have to define some nodes       *
    		******************************************** -->
    	<!--A simple node, the root of the tree.
    		The text of the node is blue, the background of the node is a light blue.
    		If the node is clicked, the HyperGraph homepage is opened in a new window. -->
		<node name="ceci est un essai" >
			<label>
				The root
			</label>
			<dataref>
				<ref xlink:href="http://www.example.com/linkprops/studentlist" xlink:title="Student List"/>
			</dataref>
			<style>
				<line colour="blue"/>
				<fill colour="#d0d0ff"/>
			</style>
		</node>
    	<!--A node with an empty label. 
    		An icon is shown together with the label.
    		If the node is clicked, the HyperGraph homepage is opened.
    		The attribute "xlink:show" is not specified, so it depends on the
    		property "hypergraph.examples.hexplorer.GraphPanel.target"
    		in the property file how the browser shows the new page.
    		-->
		<node name="2">
			<label/> <!-- No label -->
			<dataref>
				<ref xlink:href = "http://hypergraph.sourceforge.net"/>
			</dataref>
			<style>
				<fill xlink:href="point.gif"/>
			</style>
		</node>
    	<!--A node with a label and an icon.
    		This node has a reference to node "31" in the same graph;
    		if the node is clicked, node "31" is centered. -->
		<node name="3" >
			<label>
				Click to center node 31
			</label>
			<dataref>
				<ref xlink:href = "#31"/>
			</dataref>
			<style>
				<fill xlink:href="point.gif"/>
			</style>
		</node>
		<!-- If the user clicks this node,
			the hypergraph homepage is loaded in the same window.
			Same behaviour as property 
			"hypergraph.examples.hexplorer.GraphPanel.target=_self"
			-->
		<node name="4" >
			<label>
				xlink:show = replace
			</label>
			<dataref>
				<ref xlink:show = "replace"
					 xlink:href = "http://hypergraph.sourceforge.net"/>
			</dataref>
		</node>
		<!-- If the user clicks this node,
			the hypergraph homepage is loaded in the same window.
			Same behaviour as property 
			"hypergraph.examples.hexplorer.GraphPanel.target=_self"
			-->
		<node name="5" >
			<label>
				xlink:show = new
			</label>
			<dataref>
				<ref xlink:show = "new"
					 xlink:href = "http://hypergraph.sourceforge.net"/>
			</dataref>
		</node>
		<node name="7" >
			<label>
				xlink:show = none
			</label>
			<dataref>
				<ref xlink:show = "none"
					 xlink:href = "http://hypergraph.sourceforge.net"/>
			</dataref>
		</node>
		<node name="8" >
			<label>
				no xlink:show
			</label>
			<dataref>
				<ref xlink:href = "http://hypergraph.sourceforge.net"/>
			</dataref>
		</node>

		<!-- This node is linked to node 1 with an invisible edge
			(see edge definition below) -->
		<node name="6" >
			<label>
				Invisible edge !
			</label>
		</node>

    	<!--********************************************
    		* Now some egdes                           *
    		******************************************** -->
		<!-- A dashed red egde from node 1 to node 2 -->
        <edge source="ceci est un essai" target="2">
			<style>
				<line linewidth="1" linestyle="dashed" colour="red"/>
			</style>
		</edge>
		<!--A dotted red egde from node 2 to node 10.
			Node 10 hasn't been defined, so it's created and gets default attributes.-->
         <edge source="2" target="10">
			<style>
				<line linewidth="1" linestyle="dotted" colour="red"/>
			</style>
		</edge>
		<!--A default egde from node 2 to node 11 (which is created with default attributes).
			This edge has a label -->
        <edge source="2" target="11">
        	<label>edge label</label>
		</edge>
		<edge source="2" target="12"/>
        <edge source="2" target="13"/>
        <edge source="2" target="14"/>
        <!-- some other edges with line styles and widths-->
		<edge source="ceci est un essai" target="3">
			<style>
				<line linewidth="1" linestyle="dotted" colour="red"/>
			</style>
		</edge>
		<edge source="ceci est un essai" target="4">
			<style>
				<line linewidth="1" linestyle="dash-dotted" colour="red"/>
			</style>
		</edge>
		<edge source="ceci est un essai" target="5">
			<style>
				<line linewidth="3" linestyle="solid" colour="red"/>
			</style>
		</edge>
		<edge source="ceci est un essai" target="6">
			<style>
				<line linewidth="1" linestyle="none" colour="red"/>
			</style>
		</edge>
		<edge source="ceci est un essai" target="7"/>
		<edge source="ceci est un essai" target="8"/>
		<edge source="ceci est un essai" target="9"/>
		<edge source="4" target="15"/>
		<edge source="4" target="16"/>
		<edge source="4" target="17"/>
		<edge source="4" target="18"/>
		<edge source="4" target="19"/>
		<edge source="4" target="20"/>
		<edge source="4" target="21"/>
		<edge source="4" target="22"/>
		<edge source="4" target="23"/>
		<edge source="4" target="24"/>
		<edge source="16" target="25"/>
		<edge source="16" target="26"/>
		<edge source="16" target="27"/>
		<edge source="16" target="28"/>
		<edge source="16" target="29"/>
		<edge source="16" target="30"/>
		<edge source="16" target="31"/>
    </graph>
</GraphXML>
