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

Frame drawing: Some nouns not moved to the top #171

Open
dimkart opened this issue Nov 5, 2024 · 0 comments
Open

Frame drawing: Some nouns not moved to the top #171

dimkart opened this issue Nov 5, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@dimkart
Copy link
Contributor

dimkart commented Nov 5, 2024

Last case of Issue 710 in the internal repo:

like = Box('like', n @ n, n @ n)
x = Box('x', n @ n @ n, n @ n @ n)
y = Box('y', n @ n, n @ n)
z = Box('z', n @ n, n @ n)
alice = Box('Alice', Ty(), n)
tuna = Box('tuna', Ty(), n)
it = Box('it', Ty(), n)
blank = Box('', Ty(), n)
w = Frame('and', n @ n @ n, n @ n @ n, components=[
    x, y, z, z
])
doesnt = Frame('doesn\'t', Ty(), n @ n, components=[
    like, like, like, w,
])
diag = (n @ alice @ n @ tuna @ doesnt @ it @ blank @ n @ n)
diag.draw(figsize=(12, 12))

Image

@dimkart dimkart added the bug Something isn't working label Nov 5, 2024
@dimkart dimkart changed the title Frame drawing: Nouns not moved to the top Frame drawing: Some nouns not moved to the top Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants