public Inteline(Connector from, Connector to) {
		super(from, to);
		cpFrom = from.getParent();
		cpTo = to.getParent();
		panel = cpFrom.getPanel();

		for (Component c : cpFrom.getPanel().getElements())
			add(c);

		Point mp = Component.getMidPoint(cpFrom, cpTo);

		add(mp);

		buildMap();

		if (ndFrom == null || ndTo == null)
			return;

		ndFrom.setCost(0);

		expand(ndFrom);
	}