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

html-like labels #51

Closed
jcable opened this issue Nov 17, 2015 · 2 comments
Closed

html-like labels #51

jcable opened this issue Nov 17, 2015 · 2 comments

Comments

@jcable
Copy link

jcable commented Nov 17, 2015

digraph G {
  "Welcome" [ shape=box, label=<
  <TABLE BORDER="0" CELLBORDER="1" CELLSPACING="0">
  <TR><TD>left</TD><TD PORT="f1">mid dle</TD><TD PORT="f2">right</TD></TR> 
  </TABLE>> ];
    "Welcome" -> "To";
    "To" -> "Web";
    "To" -> "GraphViz!";
  }

results in the error:

Warning: Not built with libexpat. Table formatting is not available. in label of node Welcome

(sorry can't work out how to stop Markdown intepreting the table).

I'm up for helping implement this if it makes sense.

@mdaines
Copy link
Owner

mdaines commented Nov 17, 2015

Which build of Viz.js are you using? The example you quoted should be supported -- it works for me on the demo site: http://mdaines.github.io/viz.js/

I've edited your issue to fix the Markdown formatting. You need to use backticks on both sides of the code block, and put them on lines by themselves, like this:

```
digraph G {
...
}
```

@jcable
Copy link
Author

jcable commented Nov 18, 2015

Thanks, you are right. I had some problems with the latest build which I have now resolved so the experiments I did where the html-like labels did not work were the version here: http://webgraphviz.com/

@jcable jcable closed this as completed Nov 18, 2015
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