We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I raised this ticket in viz.js project orginally. But cannot wait see it resolved. Don't know you can help. Thanks.
mdaines/viz-js#125
The text was updated successfully, but these errors were encountered:
Below is a way to do it with d3-graphviz. You can achieve the same thing with Viz.js as @mdaines points out in mdaines/viz-js#125 (comment)
See it live here
<!DOCTYPE html> <meta charset="utf-8"> <body> <script src="//d3js.org/d3.v5.min.js"></script> <script src="https://unpkg.com/[email protected]/viz.js" type="javascript/worker"></script> <script src="https://unpkg.com/[email protected]/build/d3-graphviz.min.js"></script> <div id="graph" style="text-align: center;"></div> <script> dotSrc = ` digraph { node [shape = box, color=blue]; edge [dir = none]; I0000 [label=<<table border="0" cellborder="0"><tr><td><img src="http://yuanqingfei.me/images/sparrow2.jpeg" width="50" height="60"/></td></tr><tr><td>清<br/>袁<br/>1122</td></tr></table>>] } `; d3.select("#graph").graphviz() .addImage("http://yuanqingfei.me/images/sparrow2.jpeg", 50, 60) .renderDot(dotSrc); </script>
Sorry, something went wrong.
You are always kind and helpful! Thanks a lot!
No branches or pull requests
I raised this ticket in viz.js project orginally. But cannot wait see it resolved. Don't know you can help. Thanks.
mdaines/viz-js#125
The text was updated successfully, but these errors were encountered: