Giter Club home page Giter Club logo

smkflow's Introduction

logo

travis issues license contributors

SMKFLOW is a node editor in C++ compatible with WebAssembly using SMK

Features:

  • Compatible with WebAssembly.
  • The permissive MIT license.
  • Use CMake FetchContent. No download is needed. You use the cmake snippet below to depends on smkflow.

Warning. This is an active project. Please do not expect the API to be stable for the next few months.

Examples/Demo:

Use the ./examples/ directory. This produce the following webassembly demo

API

The API consists of 4 files:

  • Model.hpp Let you define how your nodes will look like. Please try example: ./examples/minimal.cpp.

  • Elements.hpp Contains the public definition elements composing the view at runtime. You can use them to query/update the view. See ./examples/algebra.cpp file.

  • Constants.hpp Contains the default sizes and colors the library is using for staying consistant. Feel free to fork and modify this file to make smkflow suits your needs.

  • Widget/. Every nodes can display some GUI inside. This directory contains the GUI public interface. You can also easily define your own components if needed.

CMake

Include the following lines in your CMake and you are ready to go.

include(FetchContent)

FetchContent_Declare(smkflow
  GIT_REPOSITORY https://github.com/ArthurSonzogni/smkflow
  GIT_TAG master # Please choose a fixed commit hash here.
)

FetchContent_GetProperties(smkflow)
if(NOT smkflow_POPULATED)
  FetchContent_Populate(smkflow)
  add_subdirectory( ${smkflow_SOURCE_DIR} ${smkflow_BINARY_DIR} EXCLUDE_FROM_ALL)
endif()

Then link your application with smkflow:

target_link_library(my_applcation PRIVATE smkflow::smkflow)

Want to contribute?

Feel free to post issues, ask questions or submit any work to this repository.

smkflow's People

Contributors

arthursonzogni avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

smkflow's Issues

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.