Skip to content

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

Open
@nheir

Description

@nheir

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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions