Left to right arrow question

0 votes
asked Jul 24, 2018 in Question / help by MarcV (340 points)

Hello,

I created a diagram like this.

But is is possible to create it like this (edited with paint)

This is the code I use;

@startuml
skinparam linetype ortho 
left to right direction

object FC1234 {
  REGPVNIM
  02/09/123
}

object FI1234 {
  ANINNIM
  02/09/01/01
}

object FN1234 {
  NUMERNIM
  02/09/0001
}

object FV1234 {
  ANOUTNIM
  02/09/02/10
}

object FV12345 {
  ANOUTNIM
  02/09/02/11
}

FI1234 "PV" ..> "IN1" FC1234 
FN1234 "PV" --> "IN2" FC1234 
FC1234 "OP" --> "OP" FV1234 
FN1234 "OP" --> "OP" FV12345
FV1234 "OP" --> "IN3" FC1234
@enduml

1 Answer

0 votes
answered Aug 4, 2018 by albert (3,520 points)

By chance I found this post:

https://stackoverflow.com/questions/30260377/dot-language-with-concentrate-true-confusing-the-graph

with in an answer:

digraph G {
  concentrate=true
  edge [dir=none]
  a  -> b 
  b -> c   
  c -> b 
  b:nw -> a:se [color=red]
}

At the moment I don't see how to use the :nw and :se inside plantuml but maybe it is a starting point for some experiments or an implementation in plantuml.
...