GithubHelp home page GithubHelp logo

abdelghanidr / qml-ogdf Goto Github PK

View Code? Open in Web Editor NEW

This project forked from schulzch/qml-ogdf

0.0 2.0 0.0 4.65 MB

A QML extension plug-in to provide a binding of OGDF to QtQML.

CMake 0.01% QML 0.03% C++ 98.68% C 1.27% Python 0.01%

qml-ogdf's Introduction

OGDF for QML

This plug-in provides a binding of Open Graph Drawing Framework to QtQML (Version 5.0+).

The Open Graph Drawing Framework offers sophisticated algorithms and data structures for the automatic layout of diagrams. Some parts of OGDF are experimental and unstable, so don't expect all algorithms to work equally well.

Features

  • A wide range of layout algorithms such as
    • Orthogonal and polyline layouts
    • Multilevel layouts
    • Energy-based layouts
    • Upward layouts
    • Planar layouts
    • Tree layouts
    • etc.
  • Various generators for
    • Random graphs
    • Random trees
    • Random hierarchies
    • etc.
  • Easy to use - it's QML after all

Building

You need to have a C++ compiler, Qt 5.0+ and CMake 2.8.11+ installed.

There are many ways to use CMake, but this is the easiest one: start Qt Creator, open CMakeLists.txt as new project, follow the instructions, hit build and you're done.

Quick Start

Once build, you can start ogdf-demo to find out what algorithms are available and how you want to use them to solve your problem.

To use the plug-in in your own project, you need to compile an OGDF directory and copy it to your application's working directory as follows:

OGDF/                 -- plug-in directory
  libogdfplugin.so    -- compiled plug-in (Linux only)
  libogdfplugin.dylib -- compiled plug-in (OS X only)
  ogdfplugin.dll      -- compiled plug-in (Windows only)
  qmldir              -- module definition file

Whats next?

Here are some quick links to help you get started:

License

Licensed under the GNU Lesser General Public License Version 2.1 or Version 3.0. Copyright (c) 2013 Christoph Schulz.

Note: OGDF is licensed under the GNU General Public License Version 2.0 or Version 3.0. They kindly grand an exception to compile OGDF into this software and distribute it under weaker terms to prevent you from having legal issues when using this plug-in.

qml-ogdf's People

Contributors

schulzch avatar

Watchers

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