Skip to content

problem with entering edges direction when dir attribute is "back" #220

Description

@kasra0

Hi,

digraph {
     rankdir="LR"
      node [shape="circle" fixedsize=1]
      center -> right  [style="none"]
      left  -> center  [style="invis" dir="back"]
}

When we change the style attribute value from "invis" to "none"
the entering edge for center -> right goes from center node to the right node ( logic behavior)
the entering edge for left -> center goes from left node to the center node but the dir attribute is "back".
The entering edge should go from center node to left node.

this example shows the problem.

Another example would be with Circo layout. If the edges are from outside to the center using the dir attribute then we have the same issue.

A solution would be using the neato layout, doing all the positioning, and having the right direction by default without using the dir attribute but I lose all the simplicity of the dot layout.

Thanks for your help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions