public class Debt {
	private int amount;
	private Node from;
	private Node to;
	
	public Debt(String from, String to, int amount){

	}

	public Node getFrom() {
		return from;
	}
}
@@ -91,27 +91,23 @@
 ebt(
-String
+Node
  from, 
-String
+Node
  to,
@@ -124,53 +124,278 @@
 t)%7B%0A
-%0A%09%7D%0A%0A%09public Node getFrom() %7B%0A%09%09return from;%0A%09
+        from = from;%0A        to = to;%0A        amount = amount;%0A%09%7D%0A%0A%09public Node getFrom() %7B%0A%09%09return from;%0A%09%7D%0A%0A    public static Debt fromInfo(Graph graph, String from, String to, int amount) %7B%0A        return new Debt(graph.getNode(from), graph.getNode(to), amount);%0A    
 %7D%0A%7D

add debt truc.