Skip to content

Center "c" compass point is missing from the grammar #307

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

Open
nheir opened this issue Apr 14, 2025 · 0 comments
Open

Center "c" compass point is missing from the grammar #307

nheir opened this issue Apr 14, 2025 · 0 comments

Comments

@nheir
Copy link

nheir commented Apr 14, 2025

It's not possible to specify c as compass for portPos

Example from https://forum.graphviz.org/t/port-pos-center/1899/2

digraph top {
    node[shape=none]
    i [label=<<TABLE CELLSPACING="5" CELLPADDING="4" BORDER="0" CELLBORDER="1">
    <TR>
      <TD port="am">top of the morning</TD>
    </TR>  
    <TR>
      <TD port="cow">cattle crossing</TD>
    </TR>  
    <TR>
      <TD>d</TD>
    </TR>  
    </TABLE>> ]
    
  j [label=<<TABLE CELLSPACING="5" CELLPADDING="4" BORDER="0" CELLBORDER="1">
    <TR>
      <TD port="pm">afternoon</TD>
    </TR>  
    <TR>
      <TD>d</TD>
    </TR>  
    </TABLE>> ]

    p -> i:am:c [headclip=false]
    j:pm:c -> i:cow:c [headclip=false tailclip=false]
}

The grammar may be the only thing to fix

= 'n'/'ne'/'e'/'se'/'s'/'sw'/'w'/'nw'

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

No branches or pull requests

1 participant