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

Visualization of contrary and contradictory relations #62

Open
ggbetz opened this issue Aug 7, 2018 · 3 comments
Open

Visualization of contrary and contradictory relations #62

ggbetz opened this issue Aug 7, 2018 · 3 comments

Comments

@ggbetz
Copy link

ggbetz commented Aug 7, 2018

In a map, the following cases are visualized in the same way.

(A)

a
  <- b
  -> b

(B)

a
  >< b

That's unfortunate, because (A) espresses that a and b are contrary, not more, and (B) expresses that they are contradictory.

Suggestion: Red arrow with arrows at both ends for contradictory.

@ggbetz
Copy link
Author

ggbetz commented Oct 2, 2018

For example, in dot, this could be the visualization of a contradicory relation:

  n1 -> n0 [color="red", type="map-edge", dir="both", arrowhead="diamond", arrowtail="diamond"];

And this could be the visualization of a contrary relation:

  n1 -> n0 [color="red", type="map-edge", dir="both"];

@christianvoigt
Copy link
Owner

Currently dagre-d3 does not support arrow heads at both ends, but there is a pull request ready to be merged:

dagrejs/dagre-d3#316

Let's hope it gets merged soon. Until then, contrary and contradictory relations will only be one-headed in the Dagre-D3 map.

@christianvoigt
Copy link
Owner

This has still not been merged into Dagre and has changed to dagrejs/dagre-d3/pull/361

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants