// Generated by Haxe 4.3.3
package schema;

import haxe.root.*;

@SuppressWarnings(value={"rawtypes", "unchecked"})
public class MCDToSVG extends haxe.lang.HxObject
{
	public MCDToSVG(haxe.lang.EmptyObject empty)
	{
	}
	
	
	public MCDToSVG()
	{
		//line 7 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
		schema.MCDToSVG.__hx_ctor_schema_MCDToSVG(this);
	}
	
	
	protected static void __hx_ctor_schema_MCDToSVG(schema.MCDToSVG __hx_this)
	{
	}
	
	
	public static haxe.root.Xml generateSVG(model.Diagram diagram)
	{
		//line 14 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
		haxe.root.Xml doc = haxe.root.Xml.createDocument();
		//line 15 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
		haxe.root.Xml svg = schema.Svg.initSvg(doc);
		//line 17 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
		{
			//line 17 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
			java.lang.Object set = diagram.iterator();
			//line 17 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
			while (haxe.lang.Runtime.toBool(((java.lang.Boolean) (haxe.lang.Runtime.callField(set, "hasNext", null)) )))
			{
				//line 17 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
				model.Set set1 = ((model.Set) (haxe.lang.Runtime.callField(set, "next", null)) );
				//line 18 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
				if (haxe.root.Std.isOfType(set1, model.Association.class)) 
				{
					//line 19 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
					set1.svg = schema.MCDToSVG.generateAssociationSVG(((model.Association) (set1) ));
				}
				else
				{
					//line 21 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
					set1.svg = schema.MCDToSVG.generateSetSVG(set1);
				}
				
				//line 23 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
				svg.addChild(set1.svg);
			}
			
		}
		
		//line 26 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
		schema.Svg.placeObjects(diagram, svg, diagram.height, diagram.width);
		//line 27 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
		schema.MCDToSVG.drawLines(diagram, svg);
		//line 28 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
		return doc;
	}
	
	
	public static haxe.root.Xml generateAssociationSVG(model.Association set)
	{
		//line 32 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
		int fieldsCount = 0;
		//line 33 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
		int chrWidth = set.name.length();
		//line 34 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
		{
			//line 34 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
			int _g = 0;
			//line 34 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
			haxe.root.Array<model.Field> _g1 = set.fields;
			//line 34 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
			while (( _g < _g1.length ))
			{
				//line 34 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
				model.Field field = _g1.__get(_g);
				//line 34 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
				 ++ _g;
				//line 35 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
				 ++ fieldsCount;
				//line 36 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
				if (( field.name.length() > chrWidth )) 
				{
					//line 37 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
					chrWidth = field.name.length();
				}
				
			}
			
		}
		
		//line 40 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
		haxe.root.Xml g = haxe.root.Xml.createElement("g");
		//line 41 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
		if (set.isAgregation) 
		{
			//line 42 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
			haxe.root.Xml rect = haxe.root.Xml.createElement("rect");
			//line 43 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
			g.addChild(rect);
			//line 44 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
			rect.set("height", haxe.root.Std.string(( ( (( (( fieldsCount == 0 )) ? (2) : (( fieldsCount + 1 )) )) * 16 ) + 6 )));
			//line 45 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
			rect.set("width", haxe.root.Std.string(( ( ( chrWidth * 10.0 ) + 6 ) + 10. )));
			//line 46 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
			rect.set("style", "fill:white");
		}
		
		//line 48 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
		haxe.root.Xml rect1 = haxe.root.Xml.createElement("rect");
		//line 49 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
		g.addChild(rect1);
		//line 50 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
		rect1.set("height", haxe.root.Std.string(( ( (( (( fieldsCount == 0 )) ? (2) : (( fieldsCount + 1 )) )) * 16 ) + 6 )));
		//line 51 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
		rect1.set("width", haxe.root.Std.string(( ( ( chrWidth * 10.0 ) + 6 ) + 10. )));
		//line 52 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
		rect1.set("rx", "20");
		//line 53 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
		rect1.set("ry", "20");
		//line 54 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
		rect1.set("style", "fill:white");
		//line 56 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
		haxe.root.Xml line = haxe.root.Xml.createElement("line");
		//line 57 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
		g.addChild(line);
		//line 58 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
		line.set("x1", "0");
		//line 59 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
		line.set("x2", haxe.root.Std.string(( ( ( chrWidth * 10.0 ) + 6 ) + 10. )));
		//line 60 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
		line.set("y1", "19");
		//line 61 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
		line.set("y2", "19");
		//line 63 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
		haxe.root.Xml title = haxe.root.Xml.createElement("text");
		//line 64 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
		g.addChild(title);
		//line 65 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
		title.addChild(haxe.root.Xml.createPCData(set.name));
		//line 66 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
		title.set("x", haxe.root.Std.string(( 8. + ( ( (( chrWidth - set.name.length() )) * 10.0 ) / 2 ) )));
		//line 67 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
		title.set("y", "17");
		//line 69 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
		haxe.root.Xml text = haxe.root.Xml.createElement("text");
		//line 70 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
		g.addChild(text);
		//line 71 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
		{
			//line 71 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
			int _g2 = 0;
			//line 71 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
			int _g3 = set.fields.length;
			//line 71 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
			while (( _g2 < _g3 ))
			{
				//line 71 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
				int i = _g2++;
				//line 72 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
				haxe.root.Xml tspan = haxe.root.Xml.createElement("tspan");
				//line 73 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
				text.addChild(tspan);
				//line 74 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
				tspan.set("x", haxe.root.Std.string(8.));
				//line 75 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
				tspan.set("y", haxe.root.Std.string(( ( 16 * (( i + 2 )) ) + 3 )));
				//line 76 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
				tspan.addChild(haxe.root.Xml.createPCData(set.fields.__get(i).name));
			}
			
		}
		
		//line 78 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
		return g;
	}
	
	
	public static haxe.root.Xml generateSetSVG(model.Set set)
	{
		//line 82 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
		int fieldsCount = 0;
		//line 83 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
		int chrWidth = set.name.length();
		//line 84 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
		{
			//line 84 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
			int _g = 0;
			//line 84 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
			haxe.root.Array<model.Field> _g1 = set.fields;
			//line 84 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
			while (( _g < _g1.length ))
			{
				//line 84 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
				model.Field field = _g1.__get(_g);
				//line 84 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
				 ++ _g;
				//line 85 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
				if ( ! (field.isStatic) ) 
				{
					//line 86 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
					 ++ fieldsCount;
					//line 87 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
					if (( field.name.length() > chrWidth )) 
					{
						//line 88 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
						chrWidth = field.name.length();
					}
					
				}
				
			}
			
		}
		
		//line 92 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
		haxe.root.Xml g = haxe.root.Xml.createElement("g");
		//line 93 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
		haxe.root.Xml rect = haxe.root.Xml.createElement("rect");
		//line 94 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
		g.addChild(rect);
		//line 95 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
		rect.set("height", haxe.root.Std.string(( ( (( (( fieldsCount == 0 )) ? (2) : (( fieldsCount + 1 )) )) * 16 ) + 6 )));
		//line 96 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
		rect.set("width", haxe.root.Std.string(((int) (( ( chrWidth * 10.0 ) + 6 )) )));
		//line 97 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
		rect.set("style", "fill:white");
		//line 99 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
		haxe.root.Xml titleBG = haxe.root.Xml.createElement("rect");
		//line 100 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
		g.addChild(titleBG);
		//line 101 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
		titleBG.set("height", "19");
		//line 102 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
		titleBG.set("width", haxe.root.Std.string(( ( chrWidth * 10.0 ) + 6 )));
		//line 103 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
		titleBG.set("style", "fill:white");
		//line 105 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
		haxe.root.Xml title = haxe.root.Xml.createElement("text");
		//line 106 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
		g.addChild(title);
		//line 107 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
		title.addChild(haxe.root.Xml.createPCData(set.name));
		//line 108 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
		title.set("x", haxe.root.Std.string(( 3 + ( ( (( chrWidth - set.name.length() )) * 10.0 ) / 2 ) )));
		//line 109 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
		title.set("y", "16");
		//line 111 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
		haxe.root.Xml text = haxe.root.Xml.createElement("text");
		//line 112 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
		g.addChild(text);
		//line 113 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
		{
			//line 113 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
			int _g2 = 0;
			//line 113 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
			int _g3 = set.fields.length;
			//line 113 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
			while (( _g2 < _g3 ))
			{
				//line 113 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
				int i = _g2++;
				//line 114 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
				if ( ! (set.fields.__get(i).isStatic) ) 
				{
					//line 115 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
					haxe.root.Xml tspan = haxe.root.Xml.createElement("tspan");
					//line 116 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
					text.addChild(tspan);
					//line 117 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
					tspan.set("x", haxe.root.Std.string(1.5));
					//line 118 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
					tspan.set("y", haxe.root.Std.string(( ( 16 * (( i + 2 )) ) + 3 )));
					//line 119 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
					if (( set.id.indexOf(set.fields.__get(i).name, null) != -1 )) 
					{
						//line 120 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
						tspan.set("style", "text-decoration:underline");
					}
					
					//line 122 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
					tspan.addChild(haxe.root.Xml.createPCData(set.fields.__get(i).name));
				}
				
			}
			
		}
		
		//line 126 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
		if (( set.subsets.length != 0 )) 
		{
			//line 127 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
			java.lang.String set1 = set.subsetType;
			//line 127 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
			if (( ( g.nodeType != haxe.root.Xml.Document ) && ( g.nodeType != haxe.root.Xml.Element ) )) 
			{
				//line 127 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
				throw ((java.lang.RuntimeException) (haxe.Exception.thrown(( "Bad node type, expected Element or Document but found " + _Xml.XmlType_Impl_.toString(g.nodeType) ))) );
			}
			
			//line 127 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
			java.lang.Object tmp = haxe.root.Std.parseInt(g.children.__get(0).get("width"));
			//line 127 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
			if (( ( g.nodeType != haxe.root.Xml.Document ) && ( g.nodeType != haxe.root.Xml.Element ) )) 
			{
				//line 127 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
				throw ((java.lang.RuntimeException) (haxe.Exception.thrown(( "Bad node type, expected Element or Document but found " + _Xml.XmlType_Impl_.toString(g.nodeType) ))) );
			}
			
			//line 127 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
			g.addChild(schema.MCDToSVG.generateInheritanceSVG(set1, ((int) (haxe.lang.Runtime.toInt(tmp)) ), ((int) (haxe.lang.Runtime.toInt(haxe.root.Std.parseInt(g.children.__get(0).get("height")))) )));
		}
		
		//line 129 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
		return g;
	}
	
	
	public static haxe.root.Xml generateInheritanceSVG(java.lang.String type, int setWidth, int setHeight)
	{
		//line 134 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
		int w = 36;
		//line 135 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
		int h = 19;
		//line 136 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
		haxe.root.Xml g = haxe.root.Xml.createElement("g");
		//line 138 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
		haxe.root.Xml line = haxe.root.Xml.createElement("line");
		//line 139 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
		g.addChild(line);
		//line 140 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
		line.set("x1", haxe.root.Std.string(((int) (( ((double) (w) ) / 2 )) )));
		//line 141 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
		line.set("x2", haxe.root.Std.string(((int) (( ((double) (w) ) / 2 )) )));
		//line 142 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
		line.set("y1", "0");
		//line 143 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
		line.set("y2", "3");
		//line 145 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
		haxe.root.Xml path = haxe.root.Xml.createElement("path");
		//line 146 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
		g.addChild(path);
		//line 147 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
		path.set("d", ( ( ( ( ( ( ( ( "M " + w ) + " " ) + (( h + 3 )) ) + " a1,1 0 1,0 -" ) + w ) + " 0 l " ) + w ) + " 0" ));
		//line 148 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
		path.set("style", "fill:white");
		//line 150 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
		haxe.root.Xml title = haxe.root.Xml.createElement("text");
		//line 151 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
		g.addChild(title);
		//line 152 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
		title.addChild(haxe.root.Xml.createPCData(type));
		//line 153 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
		title.set("x", haxe.root.Std.string(( 8. + ( ( (( 2 - type.length() )) * 10.0 ) / 2 ) )));
		//line 154 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
		title.set("y", "20");
		//line 156 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
		g.set("transform", ( ( ( ( "translate(" + haxe.root.Std.string(((int) (( ((double) ((( setWidth - w ))) ) / 2 )) )) ) + "," ) + haxe.root.Std.string(setHeight) ) + ")" ));
		//line 157 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
		return g;
	}
	
	
	public static void drawLines(model.Diagram diagram, haxe.root.Xml svg)
	{
		//line 161 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
		{
			//line 161 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
			java.lang.Object assoc = new haxe.ds._StringMap.StringMapValueIterator<model.Association>(((haxe.ds.StringMap<model.Association>) (diagram.associations) ));
			//line 161 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
			while (haxe.lang.Runtime.toBool(((java.lang.Boolean) (haxe.lang.Runtime.callField(assoc, "hasNext", null)) )))
			{
				//line 161 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
				model.Association assoc1 = ((model.Association) (haxe.lang.Runtime.callField(assoc, "next", null)) );
				//line 162 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
				if (assoc1.isReflexive()) 
				{
					//line 163 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
					haxe.root.Array<schema.Curve> curves = schema.MCDToSVG.getDoubleCurves(assoc1.links.__get(0).set, assoc1);
					//line 164 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
					svg.addChild(schema.Svg.getSvgCurve(curves.__get(0), assoc1.links.__get(1).getMCDCards(), null, null));
					//line 165 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
					svg.addChild(schema.Svg.getSvgCurve(curves.__get(1), null, assoc1.links.__get(0).getMCDCards(), ( (assoc1.links.__get(0).hasArrow) ? (haxe.lang.Runtime.toString(haxe.lang.Runtime.getField(schema.Svg.MARKERS.__get(0), "id", true))) : (null) )));
				}
				else
				{
					//line 167 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
					int _g = 0;
					//line 167 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
					haxe.root.Array<model.Link> _g1 = assoc1.links;
					//line 167 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
					while (( _g < _g1.length ))
					{
						//line 167 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
						model.Link link = _g1.__get(_g);
						//line 167 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
						 ++ _g;
						//line 168 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
						schema.Line line = schema.Box.getLine(schema.Svg.getBox(assoc1.svg), schema.Svg.getBox(link.set.svg));
						//line 169 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
						svg.addChild(schema.Svg.getSvgLine(line, null, link.getMCDCards(), ( (link.hasArrow) ? (haxe.lang.Runtime.toString(haxe.lang.Runtime.getField(schema.Svg.MARKERS.__get(0), "id", true))) : (null) )));
					}
					
				}
				
			}
			
		}
		
		//line 173 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
		{
			//line 173 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
			java.lang.Object p = new haxe.ds._StringMap.StringMapValueIterator<model.Set>(((haxe.ds.StringMap<model.Set>) (diagram.sets) ));
			//line 173 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
			while (haxe.lang.Runtime.toBool(((java.lang.Boolean) (haxe.lang.Runtime.callField(p, "hasNext", null)) )))
			{
				//line 173 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
				model.Set p1 = ((model.Set) (haxe.lang.Runtime.callField(p, "next", null)) );
				//line 174 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
				if (( p1.subsets.length != 0 )) 
				{
					//line 175 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
					int _g2 = 0;
					//line 175 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
					haxe.root.Array<model.Set> _g3 = p1.subsets;
					//line 175 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
					while (( _g2 < _g3.length ))
					{
						//line 175 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
						model.Set c = _g3.__get(_g2);
						//line 175 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
						 ++ _g2;
						//line 176 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
						schema.Box parentBox = schema.Svg.getBox(p1.svg);
						//line 177 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
						schema.Line line1 = schema.Box.getLine(parentBox, schema.Svg.getBox(c.svg));
						//line 178 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
						int __temp_expr1 = ((int) (haxe.lang.Runtime.setField_f(line1.start, "x", ((double) (((int) (haxe.lang.Runtime.getField_f(parentBox.center, "x", true)) )) ))) );
						//line 179 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
						int __temp_expr2 = ((int) (haxe.lang.Runtime.setField_f(line1.start, "y", ((double) (( ( ( ((int) (haxe.lang.Runtime.getField_f(parentBox.topleft, "y", true)) ) + parentBox.height ) + 16 ) + 6 )) ))) );
						//line 180 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
						svg.addChild(schema.Svg.getSvgLine(line1, null, null, null));
					}
					
				}
				
			}
			
		}
		
	}
	
	
	public static haxe.root.Array<schema.Curve> getDoubleCurves(model.Set set, model.Association assoc)
	{
		//line 187 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
		schema.Box box1 = schema.Svg.getBox(set.svg);
		//line 188 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
		schema.Box box2 = schema.Svg.getBox(assoc.svg);
		//line 189 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
		haxe.root.Array<schema.Curve> curves = new haxe.root.Array<schema.Curve>();
		//line 190 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
		if (schema.Box.areSameLine(box1, box2)) 
		{
			//line 191 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
			schema.Line baseLine = schema.Box.getLine(box1, box2);
			//line 192 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
			java.lang.Object __temp_stmt89 = null;
			//line 192 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
			{
				//line 192 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
				int __temp_odecl1 = ((int) (haxe.lang.Runtime.getField_f(baseLine.start, "x", true)) );
				//line 192 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
				int __temp_odecl2 = ( ((int) (haxe.lang.Runtime.getField_f(box1.topleft, "y", true)) ) + 16 );
				//line 192 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
				__temp_stmt89 = new haxe.lang.DynamicObject(new java.lang.String[]{}, new java.lang.Object[]{}, new java.lang.String[]{"x", "y"}, new double[]{((double) (((double) (__temp_odecl1) )) ), ((double) (((double) (__temp_odecl2) )) )});
			}
			
			//line 193 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
			java.lang.Object __temp_stmt90 = null;
			//line 193 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
			{
				//line 193 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
				int __temp_odecl3 = ((int) (haxe.lang.Runtime.getField_f(box2.center, "x", true)) );
				//line 193 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
				int __temp_odecl4 = ((int) (haxe.lang.Runtime.getField_f(box2.topleft, "y", true)) );
				//line 193 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
				__temp_stmt90 = new haxe.lang.DynamicObject(new java.lang.String[]{}, new java.lang.Object[]{}, new java.lang.String[]{"x", "y"}, new double[]{((double) (((double) (__temp_odecl3) )) ), ((double) (((double) (__temp_odecl4) )) )});
			}
			
			//line 193 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
			int __temp_stmt91 = ((int) (0) );
			//line 193 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
			int __temp_stmt92 = ((int) (schema.Params.BEND_DST) );
			//line 192 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
			curves.push(new schema.Curve(((java.lang.Object) (__temp_stmt89) ), ((java.lang.Object) (__temp_stmt90) ), __temp_stmt91, __temp_stmt92));
			//line 194 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
			java.lang.Object __temp_stmt93 = null;
			//line 194 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
			{
				//line 194 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
				int __temp_odecl5 = ((int) (haxe.lang.Runtime.getField_f(box2.center, "x", true)) );
				//line 194 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
				int __temp_odecl6 = ( ((int) (haxe.lang.Runtime.getField_f(box2.topleft, "y", true)) ) + box2.height );
				//line 194 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
				__temp_stmt93 = new haxe.lang.DynamicObject(new java.lang.String[]{}, new java.lang.Object[]{}, new java.lang.String[]{"x", "y"}, new double[]{((double) (((double) (__temp_odecl5) )) ), ((double) (((double) (__temp_odecl6) )) )});
			}
			
			//line 195 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
			java.lang.Object __temp_stmt94 = null;
			//line 195 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
			{
				//line 195 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
				int __temp_odecl7 = ((int) (haxe.lang.Runtime.getField_f(baseLine.start, "x", true)) );
				//line 195 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
				int __temp_odecl8 = ( ( ((int) (haxe.lang.Runtime.getField_f(box1.topleft, "y", true)) ) + box1.height ) - 16 );
				//line 195 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
				__temp_stmt94 = new haxe.lang.DynamicObject(new java.lang.String[]{}, new java.lang.Object[]{}, new java.lang.String[]{"x", "y"}, new double[]{((double) (((double) (__temp_odecl7) )) ), ((double) (((double) (__temp_odecl8) )) )});
			}
			
			//line 196 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
			int __temp_stmt95 = ((int) (0) );
			//line 196 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
			int __temp_stmt96 = ((int) ( - (schema.Params.BEND_DST) ) );
			//line 194 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
			curves.push(new schema.Curve(((java.lang.Object) (__temp_stmt93) ), ((java.lang.Object) (__temp_stmt94) ), __temp_stmt95, __temp_stmt96));
		}
		else
		{
			//line 197 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
			if (schema.Box.areSameColumn(box1, box2)) 
			{
				//line 198 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
				schema.Line baseLine1 = schema.Box.getLine(box1, box2);
				//line 199 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
				java.lang.Object __temp_stmt81 = null;
				//line 199 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
				{
					//line 199 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
					int __temp_odecl9 = ( ((int) (haxe.lang.Runtime.getField_f(box1.topleft, "x", true)) ) + 16 );
					//line 199 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
					int __temp_odecl10 = ((int) (haxe.lang.Runtime.getField_f(baseLine1.start, "y", true)) );
					//line 199 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
					__temp_stmt81 = new haxe.lang.DynamicObject(new java.lang.String[]{}, new java.lang.Object[]{}, new java.lang.String[]{"x", "y"}, new double[]{((double) (((double) (__temp_odecl9) )) ), ((double) (((double) (__temp_odecl10) )) )});
				}
				
				//line 200 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
				java.lang.Object __temp_stmt82 = null;
				//line 200 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
				{
					//line 200 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
					int __temp_odecl11 = ((int) (haxe.lang.Runtime.getField_f(box2.topleft, "x", true)) );
					//line 200 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
					int __temp_odecl12 = ((int) (haxe.lang.Runtime.getField_f(box2.center, "y", true)) );
					//line 200 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
					__temp_stmt82 = new haxe.lang.DynamicObject(new java.lang.String[]{}, new java.lang.Object[]{}, new java.lang.String[]{"x", "y"}, new double[]{((double) (((double) (__temp_odecl11) )) ), ((double) (((double) (__temp_odecl12) )) )});
				}
				
				//line 200 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
				int __temp_stmt83 = ((int) ( - (schema.Params.BEND_DST) ) );
				//line 200 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
				int __temp_stmt84 = ((int) (0) );
				//line 199 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
				curves.push(new schema.Curve(((java.lang.Object) (__temp_stmt81) ), ((java.lang.Object) (__temp_stmt82) ), __temp_stmt83, __temp_stmt84));
				//line 201 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
				java.lang.Object __temp_stmt85 = null;
				//line 201 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
				{
					//line 201 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
					int __temp_odecl13 = ( ((int) (haxe.lang.Runtime.getField_f(box2.topleft, "x", true)) ) + box2.width );
					//line 201 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
					int __temp_odecl14 = ((int) (haxe.lang.Runtime.getField_f(box2.center, "y", true)) );
					//line 201 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
					__temp_stmt85 = new haxe.lang.DynamicObject(new java.lang.String[]{}, new java.lang.Object[]{}, new java.lang.String[]{"x", "y"}, new double[]{((double) (((double) (__temp_odecl13) )) ), ((double) (((double) (__temp_odecl14) )) )});
				}
				
				//line 202 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
				java.lang.Object __temp_stmt86 = null;
				//line 202 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
				{
					//line 202 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
					int __temp_odecl15 = ( ( ((int) (haxe.lang.Runtime.getField_f(box1.topleft, "x", true)) ) + box1.width ) - 16 );
					//line 202 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
					int __temp_odecl16 = ((int) (haxe.lang.Runtime.getField_f(baseLine1.start, "y", true)) );
					//line 202 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
					__temp_stmt86 = new haxe.lang.DynamicObject(new java.lang.String[]{}, new java.lang.Object[]{}, new java.lang.String[]{"x", "y"}, new double[]{((double) (((double) (__temp_odecl15) )) ), ((double) (((double) (__temp_odecl16) )) )});
				}
				
				//line 203 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
				int __temp_stmt87 = ((int) (schema.Params.BEND_DST) );
				//line 203 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
				int __temp_stmt88 = ((int) (0) );
				//line 201 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
				curves.push(new schema.Curve(((java.lang.Object) (__temp_stmt85) ), ((java.lang.Object) (__temp_stmt86) ), __temp_stmt87, __temp_stmt88));
			}
			else
			{
				//line 205 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
				schema.Curve curve1 = null;
				//line 206 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
				schema.Curve curve2 = null;
				//line 207 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
				if (schema.Box.leftToRight(box1, box2)) 
				{
					//line 208 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
					if (schema.Box.topToBottom(box1, box2)) 
					{
						//line 209 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
						java.lang.Object __temp_stmt73 = null;
						//line 209 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
						{
							//line 209 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
							int __temp_odecl17 = ( ((int) (haxe.lang.Runtime.getField_f(box1.topleft, "x", true)) ) + box1.width );
							//line 209 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
							int __temp_odecl18 = ( ( ((int) (haxe.lang.Runtime.getField_f(box1.topleft, "y", true)) ) + box1.height ) - 32 );
							//line 209 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
							__temp_stmt73 = new haxe.lang.DynamicObject(new java.lang.String[]{}, new java.lang.Object[]{}, new java.lang.String[]{"x", "y"}, new double[]{((double) (((double) (__temp_odecl17) )) ), ((double) (((double) (__temp_odecl18) )) )});
						}
						
						//line 210 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
						java.lang.Object __temp_stmt74 = null;
						//line 210 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
						{
							//line 210 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
							int __temp_odecl19 = ((int) (haxe.lang.Runtime.getField_f(box2.center, "x", true)) );
							//line 210 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
							int __temp_odecl20 = ((int) (haxe.lang.Runtime.getField_f(box2.topleft, "y", true)) );
							//line 210 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
							__temp_stmt74 = new haxe.lang.DynamicObject(new java.lang.String[]{}, new java.lang.Object[]{}, new java.lang.String[]{"x", "y"}, new double[]{((double) (((double) (__temp_odecl19) )) ), ((double) (((double) (__temp_odecl20) )) )});
						}
						
						//line 210 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
						int __temp_stmt75 = ((int) (( schema.Params.BEND_DST * 2 )) );
						//line 210 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
						int __temp_stmt76 = ((int) (( schema.Params.BEND_DST * 2 )) );
						//line 209 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
						curve1 = new schema.Curve(((java.lang.Object) (__temp_stmt73) ), ((java.lang.Object) (__temp_stmt74) ), __temp_stmt75, __temp_stmt76);
						//line 211 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
						java.lang.Object __temp_stmt77 = null;
						//line 211 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
						{
							//line 211 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
							int __temp_odecl21 = ((int) (haxe.lang.Runtime.getField_f(box2.topleft, "x", true)) );
							//line 211 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
							int __temp_odecl22 = ((int) (haxe.lang.Runtime.getField_f(box2.center, "y", true)) );
							//line 211 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
							__temp_stmt77 = new haxe.lang.DynamicObject(new java.lang.String[]{}, new java.lang.Object[]{}, new java.lang.String[]{"x", "y"}, new double[]{((double) (((double) (__temp_odecl21) )) ), ((double) (((double) (__temp_odecl22) )) )});
						}
						
						//line 212 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
						java.lang.Object __temp_stmt78 = null;
						//line 212 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
						{
							//line 212 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
							int __temp_odecl23 = ( ( ((int) (haxe.lang.Runtime.getField_f(box1.topleft, "x", true)) ) + box1.width ) - 32 );
							//line 212 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
							int __temp_odecl24 = ( ((int) (haxe.lang.Runtime.getField_f(box1.topleft, "y", true)) ) + box1.height );
							//line 212 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
							__temp_stmt78 = new haxe.lang.DynamicObject(new java.lang.String[]{}, new java.lang.Object[]{}, new java.lang.String[]{"x", "y"}, new double[]{((double) (((double) (__temp_odecl23) )) ), ((double) (((double) (__temp_odecl24) )) )});
						}
						
						//line 213 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
						int __temp_stmt79 = ((int) ((  - (schema.Params.BEND_DST)  * 2 )) );
						//line 213 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
						int __temp_stmt80 = ((int) ((  - (schema.Params.BEND_DST)  * 2 )) );
						//line 211 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
						curve2 = new schema.Curve(((java.lang.Object) (__temp_stmt77) ), ((java.lang.Object) (__temp_stmt78) ), __temp_stmt79, __temp_stmt80);
					}
					else
					{
						//line 215 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
						java.lang.Object __temp_stmt65 = null;
						//line 215 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
						{
							//line 215 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
							int __temp_odecl25 = ( ( ((int) (haxe.lang.Runtime.getField_f(box1.topleft, "x", true)) ) + box1.width ) - 32 );
							//line 215 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
							int __temp_odecl26 = ((int) (haxe.lang.Runtime.getField_f(box1.topleft, "y", true)) );
							//line 215 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
							__temp_stmt65 = new haxe.lang.DynamicObject(new java.lang.String[]{}, new java.lang.Object[]{}, new java.lang.String[]{"x", "y"}, new double[]{((double) (((double) (__temp_odecl25) )) ), ((double) (((double) (__temp_odecl26) )) )});
						}
						
						//line 216 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
						java.lang.Object __temp_stmt66 = null;
						//line 216 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
						{
							//line 216 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
							int __temp_odecl27 = ((int) (haxe.lang.Runtime.getField_f(box2.topleft, "x", true)) );
							//line 216 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
							int __temp_odecl28 = ((int) (haxe.lang.Runtime.getField_f(box2.center, "y", true)) );
							//line 216 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
							__temp_stmt66 = new haxe.lang.DynamicObject(new java.lang.String[]{}, new java.lang.Object[]{}, new java.lang.String[]{"x", "y"}, new double[]{((double) (((double) (__temp_odecl27) )) ), ((double) (((double) (__temp_odecl28) )) )});
						}
						
						//line 216 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
						int __temp_stmt67 = ((int) ((  - (schema.Params.BEND_DST)  * 2 )) );
						//line 216 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
						int __temp_stmt68 = ((int) (( schema.Params.BEND_DST * 2 )) );
						//line 215 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
						curve1 = new schema.Curve(((java.lang.Object) (__temp_stmt65) ), ((java.lang.Object) (__temp_stmt66) ), __temp_stmt67, __temp_stmt68);
						//line 217 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
						java.lang.Object __temp_stmt69 = null;
						//line 217 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
						{
							//line 217 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
							int __temp_odecl29 = ((int) (haxe.lang.Runtime.getField_f(box2.center, "x", true)) );
							//line 217 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
							int __temp_odecl30 = ( ((int) (haxe.lang.Runtime.getField_f(box2.topleft, "y", true)) ) + box2.height );
							//line 217 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
							__temp_stmt69 = new haxe.lang.DynamicObject(new java.lang.String[]{}, new java.lang.Object[]{}, new java.lang.String[]{"x", "y"}, new double[]{((double) (((double) (__temp_odecl29) )) ), ((double) (((double) (__temp_odecl30) )) )});
						}
						
						//line 218 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
						java.lang.Object __temp_stmt70 = null;
						//line 218 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
						{
							//line 218 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
							int __temp_odecl31 = ( ((int) (haxe.lang.Runtime.getField_f(box1.topleft, "x", true)) ) + box1.width );
							//line 218 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
							int __temp_odecl32 = ( ((int) (haxe.lang.Runtime.getField_f(box1.topleft, "y", true)) ) + 32 );
							//line 218 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
							__temp_stmt70 = new haxe.lang.DynamicObject(new java.lang.String[]{}, new java.lang.Object[]{}, new java.lang.String[]{"x", "y"}, new double[]{((double) (((double) (__temp_odecl31) )) ), ((double) (((double) (__temp_odecl32) )) )});
						}
						
						//line 219 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
						int __temp_stmt71 = ((int) (( schema.Params.BEND_DST * 2 )) );
						//line 219 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
						int __temp_stmt72 = ((int) ((  - (schema.Params.BEND_DST)  * 2 )) );
						//line 217 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
						curve2 = new schema.Curve(((java.lang.Object) (__temp_stmt69) ), ((java.lang.Object) (__temp_stmt70) ), __temp_stmt71, __temp_stmt72);
					}
					
				}
				else
				{
					//line 222 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
					if (schema.Box.topToBottom(box1, box2)) 
					{
						//line 223 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
						java.lang.Object __temp_stmt57 = null;
						//line 223 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
						{
							//line 223 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
							int __temp_odecl33 = ((int) (haxe.lang.Runtime.getField_f(box1.topleft, "x", true)) );
							//line 223 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
							int __temp_odecl34 = ( ( ((int) (haxe.lang.Runtime.getField_f(box1.topleft, "y", true)) ) + box1.height ) - 32 );
							//line 223 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
							__temp_stmt57 = new haxe.lang.DynamicObject(new java.lang.String[]{}, new java.lang.Object[]{}, new java.lang.String[]{"x", "y"}, new double[]{((double) (((double) (__temp_odecl33) )) ), ((double) (((double) (__temp_odecl34) )) )});
						}
						
						//line 224 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
						java.lang.Object __temp_stmt58 = null;
						//line 224 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
						{
							//line 224 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
							int __temp_odecl35 = ((int) (haxe.lang.Runtime.getField_f(box2.center, "x", true)) );
							//line 224 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
							int __temp_odecl36 = ((int) (haxe.lang.Runtime.getField_f(box2.topleft, "y", true)) );
							//line 224 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
							__temp_stmt58 = new haxe.lang.DynamicObject(new java.lang.String[]{}, new java.lang.Object[]{}, new java.lang.String[]{"x", "y"}, new double[]{((double) (((double) (__temp_odecl35) )) ), ((double) (((double) (__temp_odecl36) )) )});
						}
						
						//line 224 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
						int __temp_stmt59 = ((int) ((  - (schema.Params.BEND_DST)  * 2 )) );
						//line 224 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
						int __temp_stmt60 = ((int) (( schema.Params.BEND_DST * 2 )) );
						//line 223 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
						curve1 = new schema.Curve(((java.lang.Object) (__temp_stmt57) ), ((java.lang.Object) (__temp_stmt58) ), __temp_stmt59, __temp_stmt60);
						//line 225 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
						java.lang.Object __temp_stmt61 = null;
						//line 225 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
						{
							//line 225 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
							int __temp_odecl37 = ( ((int) (haxe.lang.Runtime.getField_f(box2.topleft, "x", true)) ) + box2.width );
							//line 225 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
							int __temp_odecl38 = ((int) (haxe.lang.Runtime.getField_f(box2.center, "y", true)) );
							//line 225 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
							__temp_stmt61 = new haxe.lang.DynamicObject(new java.lang.String[]{}, new java.lang.Object[]{}, new java.lang.String[]{"x", "y"}, new double[]{((double) (((double) (__temp_odecl37) )) ), ((double) (((double) (__temp_odecl38) )) )});
						}
						
						//line 226 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
						java.lang.Object __temp_stmt62 = null;
						//line 226 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
						{
							//line 226 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
							int __temp_odecl39 = ( ((int) (haxe.lang.Runtime.getField_f(box1.topleft, "x", true)) ) + 32 );
							//line 226 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
							int __temp_odecl40 = ( ((int) (haxe.lang.Runtime.getField_f(box1.topleft, "y", true)) ) + box1.height );
							//line 226 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
							__temp_stmt62 = new haxe.lang.DynamicObject(new java.lang.String[]{}, new java.lang.Object[]{}, new java.lang.String[]{"x", "y"}, new double[]{((double) (((double) (__temp_odecl39) )) ), ((double) (((double) (__temp_odecl40) )) )});
						}
						
						//line 227 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
						int __temp_stmt63 = ((int) (( schema.Params.BEND_DST * 2 )) );
						//line 227 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
						int __temp_stmt64 = ((int) ((  - (schema.Params.BEND_DST)  * 2 )) );
						//line 225 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
						curve2 = new schema.Curve(((java.lang.Object) (__temp_stmt61) ), ((java.lang.Object) (__temp_stmt62) ), __temp_stmt63, __temp_stmt64);
					}
					else
					{
						//line 229 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
						java.lang.Object __temp_stmt49 = null;
						//line 229 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
						{
							//line 229 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
							int __temp_odecl41 = ( ((int) (haxe.lang.Runtime.getField_f(box1.topleft, "x", true)) ) + 32 );
							//line 229 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
							int __temp_odecl42 = ((int) (haxe.lang.Runtime.getField_f(box1.topleft, "y", true)) );
							//line 229 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
							__temp_stmt49 = new haxe.lang.DynamicObject(new java.lang.String[]{}, new java.lang.Object[]{}, new java.lang.String[]{"x", "y"}, new double[]{((double) (((double) (__temp_odecl41) )) ), ((double) (((double) (__temp_odecl42) )) )});
						}
						
						//line 230 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
						java.lang.Object __temp_stmt50 = null;
						//line 230 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
						{
							//line 230 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
							int __temp_odecl43 = ( ((int) (haxe.lang.Runtime.getField_f(box2.topleft, "x", true)) ) + box2.width );
							//line 230 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
							int __temp_odecl44 = ((int) (haxe.lang.Runtime.getField_f(box2.center, "y", true)) );
							//line 230 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
							__temp_stmt50 = new haxe.lang.DynamicObject(new java.lang.String[]{}, new java.lang.Object[]{}, new java.lang.String[]{"x", "y"}, new double[]{((double) (((double) (__temp_odecl43) )) ), ((double) (((double) (__temp_odecl44) )) )});
						}
						
						//line 230 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
						int __temp_stmt51 = ((int) (( schema.Params.BEND_DST * 2 )) );
						//line 230 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
						int __temp_stmt52 = ((int) (( schema.Params.BEND_DST * 2 )) );
						//line 229 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
						curve1 = new schema.Curve(((java.lang.Object) (__temp_stmt49) ), ((java.lang.Object) (__temp_stmt50) ), __temp_stmt51, __temp_stmt52);
						//line 231 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
						java.lang.Object __temp_stmt53 = null;
						//line 231 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
						{
							//line 231 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
							int __temp_odecl45 = ((int) (haxe.lang.Runtime.getField_f(box2.center, "x", true)) );
							//line 231 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
							int __temp_odecl46 = ( ((int) (haxe.lang.Runtime.getField_f(box2.topleft, "y", true)) ) + box2.height );
							//line 231 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
							__temp_stmt53 = new haxe.lang.DynamicObject(new java.lang.String[]{}, new java.lang.Object[]{}, new java.lang.String[]{"x", "y"}, new double[]{((double) (((double) (__temp_odecl45) )) ), ((double) (((double) (__temp_odecl46) )) )});
						}
						
						//line 232 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
						java.lang.Object __temp_stmt54 = null;
						//line 232 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
						{
							//line 232 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
							int __temp_odecl47 = ((int) (haxe.lang.Runtime.getField_f(box1.topleft, "x", true)) );
							//line 232 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
							int __temp_odecl48 = ( ((int) (haxe.lang.Runtime.getField_f(box1.topleft, "y", true)) ) + 32 );
							//line 232 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
							__temp_stmt54 = new haxe.lang.DynamicObject(new java.lang.String[]{}, new java.lang.Object[]{}, new java.lang.String[]{"x", "y"}, new double[]{((double) (((double) (__temp_odecl47) )) ), ((double) (((double) (__temp_odecl48) )) )});
						}
						
						//line 233 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
						int __temp_stmt55 = ((int) ((  - (schema.Params.BEND_DST)  * 2 )) );
						//line 233 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
						int __temp_stmt56 = ((int) ((  - (schema.Params.BEND_DST)  * 2 )) );
						//line 231 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
						curve2 = new schema.Curve(((java.lang.Object) (__temp_stmt53) ), ((java.lang.Object) (__temp_stmt54) ), __temp_stmt55, __temp_stmt56);
					}
					
				}
				
				//line 236 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
				curves.push(curve1);
				//line 237 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
				curves.push(curve2);
			}
			
		}
		
		//line 239 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/schema/MCDToSVG.hx"
		return curves;
	}
	
	
}


