private void writeLinks(Workspace workspace, Worksheet worksheet, PrintWriter pw) {
pw.println("| From | Property | To |");
pw.println("| --- | -------- | ---|");
Alignment alignment = AlignmentManager.Instance().getAlignment(workspace.getId(), worksheet.getId());
if(alignment != null) {
DirectedWeightedMultigraph<Node, LabeledLink> alignmentGraph = alignment.getSteinerTree();
if(alignmentGraph != null) {
List<LabeledLink> links = Arrays.asList(alignmentGraph.edgeSet().toArray(new LabeledLink[0]));
Collections.sort(links, new Comparator<LabeledLink>() {
@Override
public int compare(LabeledLink l1, LabeledLink l2) {