Giter VIP home page Giter VIP logo

graphv's Introduction

About

graphv,一个基于C++和JavaScript的图分析可视化工具

功能

graphv_algorithm

核心算法API,包括:

  • 最短路
  • 最小生成树
  • 中心度
  • 不同边阈值下的连通分量

graphv_visual

基于D3的可视化组件

graphv_creator

通过数据建图,使用json保存结果

开发环境

VS 2017

规范

参与需遵循如下代码规范(my partner)

  1. 所有类和函数统一放在名称为graphv的命名空间中
  2. 不允许仅仅使用#pragma once来防止重复引用
  3. 对每个类,如果实现了五个default函数中的任意一个或多个,应当显式地对这五个函数的每一个进行声明。
    1. 五个函数指拷贝构造、拷贝赋值、移动构造、移动赋值、析构函数
    2. 对仍然采用默认行为的函数,使用 = default
    3. 对禁止进行的操作,使用 = delete
    4. 特别地,对于含有动态资源的类(包括指针和容器等),显式声明这五个函数
  4. 使用unique_ptr代替不可共享的指针,shared_ptr代替可以共享的指针
    1. unique_ptr几乎没有额外开销
    2. 如果使用裸指针,注释说明不使用unique_ptr的原因并说明何时释放资源
  5. 使用enum class表示枚举常量
  6. 不允许全局使用using namespace

LICENSE

基于MIT LICENSE

graphv's People

Contributors

hutianyi003 avatar

Watchers

James Cloos avatar  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.