// Path: src/com/hdweiss/codemap/view/workspace/fragments/CodeMapLink.java
// public class CodeMapLink {
// 
// 	public CodeMapItem parent;
// 	public CodeMapItem child;
// 	
// 	public float yOffset = 0;
// 
// 	public CodeMapLink(CodeMapItem parent, CodeMapItem child, float yOffset) {
// 		this.parent = parent;
// 		this.child = child;
// 		this.yOffset = yOffset;
// 	}
// 	
// 	public boolean hasItem(CodeMapItem item) {
// 		return parent == item || child == item;
// 	}
// 	
// 	public void doDraw(Canvas canvas) {
// 		Paint paint = new Paint();
// 		
// 		float startX = parent.getX() + parent.getWidth();
// 		float startY = parent.getY() + yOffset;
// 		
// 		float endX = child.getX();
// 		float endY = child.getTitleViewYMid();
// 
// 		float midX = (startX + endX) / 2;
// 		
// 		canvas.drawLine(startX, startY, midX, startY, paint);
// 		canvas.drawLine(midX, startY, midX, endY, paint);
// 		canvas.drawLine(midX, endY, endX, endY, paint);
// 	}
// 	
// 	public String toString() {
// 		return parent.getUrl() + "->" + child.getUrl();
// 	}
// }


import java.io.Serializable;
import java.util.UUID;
import com.hdweiss.codemap.view.workspace.fragments.CodeMapLink;
package com.hdweiss.codemap.data;



public class SerializableLink implements Serializable {
	private static final long serialVersionUID = 1L;
	
	public UUID parent;
	public UUID child;
	public float offset;
	
	public SerializableLink(UUID parent, UUID child, float offset) {
		this.parent = parent;
		this.child = child;
		this.offset = offset;
	}
	
// Path: src/com/hdweiss/codemap/view/workspace/fragments/CodeMapLink.java
// public class CodeMapLink {
// 
// 	public CodeMapItem parent;
// 	public CodeMapItem child;
// 	
// 	public float yOffset = 0;
// 
// 	public CodeMapLink(CodeMapItem parent, CodeMapItem child, float yOffset) {
// 		this.parent = parent;
// 		this.child = child;
// 		this.yOffset = yOffset;
// 	}
// 	
// 	public boolean hasItem(CodeMapItem item) {
// 		return parent == item || child == item;
// 	}
// 	
// 	public void doDraw(Canvas canvas) {
// 		Paint paint = new Paint();
// 		
// 		float startX = parent.getX() + parent.getWidth();
// 		float startY = parent.getY() + yOffset;
// 		
// 		float endX = child.getX();
// 		float endY = child.getTitleViewYMid();
// 
// 		float midX = (startX + endX) / 2;
// 		
// 		canvas.drawLine(startX, startY, midX, startY, paint);
// 		canvas.drawLine(midX, startY, midX, endY, paint);
// 		canvas.drawLine(midX, endY, endX, endY, paint);
// 	}
// 	
// 	public String toString() {
// 		return parent.getUrl() + "->" + child.getUrl();
// 	}
// }


// Path: src/com/hdweiss/codemap/data/SerializableLink.java
import java.io.Serializable;
import java.util.UUID;
import com.hdweiss.codemap.view.workspace.fragments.CodeMapLink;

package com.hdweiss.codemap.data;



public class SerializableLink implements Serializable {
	private static final long serialVersionUID = 1L;
	
	public UUID parent;
	public UUID child;
	public float offset;
	
	public SerializableLink(UUID parent, UUID child, float offset) {
		this.parent = parent;
		this.child = child;
		this.offset = offset;
	}
	
	public SerializableLink(CodeMapLink link) {