Uploaded image for project: 'Kieler Pragmatics'
  1. Kieler Pragmatics
  2. KIPRA-1844

Hierarchical edges in klighd broken

    XMLWordPrintable

    Details

      Description

      With the following graph klighd's edge endpoint adjustment does not work. See attached screenshot.

      Uncommenting the

      if (adjustments) ...  

      parts of the KlighdDiagramLayoutConnector#edgeToViewModel method resolves the issue.

      hierarchyHandling: INCLUDE_CHILDREN
       
      node parent {
      	nodePlacement.strategy: NETWORK_SIMPLEX
      	port p1
      	port p2
      	port p3
      	port p4 
      	node n1_1 {
      		layout [
      			size: 10, 20     
      		]
      		label ""
      	}    
      	edge p1 -> n1_1 {
      		layout [
      		] 
      	}
      	edge n1_1 -> p2 { 
      		layout [
      		]
      	}
      	edge n1_1 -> p3 { 
      		layout [
      		]   
      	}
      	edge n1_1 -> p4 {
      		layout [
      		]
      	}
      }
      node other {
      	layout [
      		size: 20, 40
      	]
      }
      edge other -> parent.p1 {
      	layout [
      	]
      }
      edge other -> parent.n1_1
      

        Attachments

          Activity

            People

            Assignee:
            cds Christoph Daniel Schulze [X] (Inactive)
            Reporter:
            uru Ulf Rueegg [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: