@antv/g6
Version:
graph visualization frame work
1 lines • 2.91 kB
JSON
{"expireTime":9007200828528711000,"key":"transformer-remark-markdown-html-ast-3a2baed18bc150be7d2b0293ca61a762-gatsby-remark-prettiergatsby-remark-prismjsgatsby-remark-external-linksgatsby-remark-autolink-headersgatsby-remark-reading-time-","val":{"type":"root","children":[{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"Tooltip is a built-in components in G6.","position":{"start":{"line":2,"column":1,"offset":1},"end":{"line":2,"column":40,"offset":40}}}],"position":{"start":{"line":2,"column":1,"offset":1},"end":{"line":2,"column":40,"offset":40}}},{"type":"text","value":"\n"},{"type":"element","tagName":"h2","properties":{"id":"usage"},"children":[{"type":"element","tagName":"a","properties":{"href":"#usage","aria-label":"usage permalink","class":"anchor"},"children":[{"type":"raw","value":"<svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg>"}]},{"type":"text","value":"Usage","position":{"start":{"line":4,"column":4,"offset":45},"end":{"line":4,"column":9,"offset":50}}}],"position":{"start":{"line":4,"column":1,"offset":42},"end":{"line":4,"column":9,"offset":50}}},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"The demo below show how to use tooltip on graph. Tooltip's style can be defined by the CSS with class name ","position":{"start":{"line":5,"column":1,"offset":51},"end":{"line":5,"column":108,"offset":158}}},{"type":"raw","value":"<code class=\"language-text\">g6-tooltip</code>","position":{"start":{"line":5,"column":108,"offset":158},"end":{"line":5,"column":120,"offset":170}}},{"type":"text","value":":","position":{"start":{"line":5,"column":120,"offset":170},"end":{"line":5,"column":121,"offset":171}}}],"position":{"start":{"line":5,"column":1,"offset":51},"end":{"line":5,"column":121,"offset":171}}},{"type":"text","value":"\n"},{"type":"raw","value":"<div class=\"gatsby-highlight\" data-language=\"text\"><pre class=\"language-text\"><code class=\"language-text\">.g6-tooltip {\n border: 1px solid #e2e2e2;\n border-radius: 4px;\n font-size: 12px;\n color: #545454;\n background-color: rgba(255, 255, 255, 0.9);\n padding: 10px 8px;\n box-shadow: rgb(174, 174, 174) 0px 0px 10px;\n }</code></pre></div>","position":{"start":{"line":6,"column":1,"offset":172},"end":{"line":16,"column":6,"offset":415}}}],"position":{"start":{"line":1,"column":1,"offset":0},"end":{"line":16,"column":6,"offset":415}}}}