Giter Site home page Giter Site logo

jqyy / d3-graph-with-thumbnail Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zhixiaotong/d3-graph-with-thumbnail

0.0 1.0 0.0 1.64 MB

基于d3.js的simulation力导图,canvas实现的带缩略图的关系图谱案例

JavaScript 92.20% HTML 1.00% Vue 6.81%

d3-graph-with-thumbnail's Introduction

d3-graph-with-thumbnail

> d3 graph using canvas with thumbnail

description

基于d3.js的simulation力导图,canvas实现的带缩略图的关系图谱案例

在线演示Demo采用vue框架开发,基于vue cli版本(version:3.8.2)脚手架搭建,核心代码为原生js,可用于任何js框架中。

网上鲜有基于canvas的缩略图案例,因此放上来做一个记录,代码中还包含一些canvas性能优化的方式。给有需求的朋友帮助,与君共勉。

本案例遵从MIT协议,请认准[http://www.github.com/zhixiaotong] 如果该案例对你有所启发或帮助,请留下你的小心心!!!

在线预览:

https://zhixiaotong.github.io/demo-online/example/thumbnail

预览图:

Demo picture

安装项目依赖

npm install

本地开发者模式运行

npm run serve

线上模式打包运行

npm run build

执行测试

npm run test

提示和修复文件

npm run lint

自定义配置

请参考 Configuration Reference.

d3-graph-with-thumbnail's People

Contributors

zhixiaotong avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.