elk icon indicating copy to clipboard operation
elk copied to clipboard

compaction.connectedComponents does not respect edge labels

Open soerendomroes opened this issue 2 years ago • 1 comments

This model

node main_x {
  elk.direction: RIGHT
  compaction.connectedComponents: true
  port p0
  node main_x_src {
    port p1
  }
  edge e0: main_x_src.p1 -> p0 {
    label "0"
  }
}

draws the label outside the drawing.

This model

node main_x {
  elk.direction: RIGHT
  compaction.connectedComponents: true
  portConstraints: FIXED_POS
  port p0
  node main_x_src {
    port p1
  }
  edge e0: main_x_src.p1 -> p0 {
    label "0"
  }
}

somehow does not since the fixed port position seems to however rescue it.

It seems that connected components compaction does somehow disrespect the edge label.

soerendomroes avatar Aug 16 '23 07:08 soerendomroes

lf-issue1624-bad lf-issue1624-good

soerendomroes avatar Aug 16 '23 07:08 soerendomroes