Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected connections in the diagram #76

Open
tk0miya opened this issue May 5, 2018 · 2 comments
Open

Unexpected connections in the diagram #76

tk0miya opened this issue May 5, 2018 · 2 comments
Labels
blockdiag bug Something isn't working

Comments

@tk0miya
Copy link
Contributor

tk0miya commented May 5, 2018

Hi,

I am on blockdiag 1.5.3 and I don't quite fully understand why in the output diagram there are connections from:

  • collect.user.data -> accept.redirect
  • accept.cookie -> accept.redirect

They really should not be there - I don't understand why they are added?

I'm using a diagram definition as below and the diagram is attached.

blockdiag {
   orientation = portrait;
   default_shape = box;
   node_width = 200;

group {
  orientation = portrait;
  color = "#ccccdd";
}

   begin [shape = beginpoint];

   begin -> collect.user.data;

   collect.user.data -> accept.cookie;
   collect.user.data -> rejected;

   accept.cookie -> redirect.user;
   accept.cookie -> rejected;

   redirect.user -> accept.data;

   accept.data -> accept.redirect;
   accept.data -> rejected;
}

@tk0miya tk0miya added blockdiag bug Something isn't working labels May 5, 2018
@tk0miya
Copy link
Contributor Author

tk0miya commented May 5, 2018

From Takeshi KOMIYA on 2015-11-29 02:21:45+00:00

Sorry for inconvinience.
It is unexpected behavior. but it is hard to fix.
I will fix it in the future. Maybe, it will fixed at v2.0.

@jstallkamp
Copy link

jstallkamp commented May 15, 2020

Any chance for a fix for this one? It messes up one of my diagrams as well. The edge routing overlays different edges, leaving the impression of connections/edges that must not be there.

BTW, I just noticed that the layouting seems to work for vertically running edges. Only the horizontally running edges overlap.
You can see this, if you change the orientation to landscape in the example in the original post.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blockdiag bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants