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

Record shaped nodes rendering #3

Open
p-gen opened this issue Feb 17, 2020 · 3 comments
Open

Record shaped nodes rendering #3

p-gen opened this issue Feb 17, 2020 · 3 comments

Comments

@p-gen
Copy link

p-gen commented Feb 17, 2020

Hi, I wasn't able to render record shaped nodes. Is it possible to render something like that?

digraph structs {
	node[shape=record]
	struct1 [label="<f0> left|<f1> mid\ dle|<f2> right"]
	struct2 [label="{<f0> one|<f1> two\n\n\n}" shape=Mrecord]
	struct3 [label="hello\nworld |{ b |{c|<here> d|e}| f}| g | h"]
	struct1:f1 -> struct2:f0
	struct1:f0 -> struct3
}
@ggerganov
Copy link
Owner

Looks like the "Mrecord" shape is not supported. If you just change it to "record" it should render:

https://dot-to-ascii.ggerganov.com/?src_hash=5b908fa7

@p-gen
Copy link
Author

p-gen commented Feb 19, 2020

Thank you, I hope Mrecords will be supported soon

@ggerganov
Copy link
Owner

dot-to-ascii is just a simple wrapper around the Graph::Easy perl cli tool, so support depends on when it gets implemented in Graph::Easy.

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

2 participants