GithubHelp home page GithubHelp logo

connorjak / connectatron Goto Github PK

View Code? Open in Web Editor NEW
5.0 5.0 0.0 12.56 MB

Node editor for planning networks of devices (computers, peripherals, etc)

License: MIT License

CMake 1.76% C++ 96.34% C 1.89%

connectatron's People

Contributors

connorjak avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

connectatron's Issues

Basic user documentation

Users will require documentation for how to use Connectatron, especially as it continues to accrue more features.

Options:

  • In-app UI popup from a question mark button or help menu option
    • Could be markdown formatted with proper imgui addons
  • PDF distributed with the app
    • Harder to version-control

Devices in projects stored as filepath / reference instead of flattening to JSON

  • Saves storage space
    • Depends how we implement
  • Allows for updating devices across all projects
    • If a change is made on one project, the other projects don't continue to have outdated devices
    • Might be possible to do optional-updating per-device, with the option to create a new device using the old device data that's saved in the project
      • This ensures there is an opportunity to save data in case of accidentally overlapping names of devices, and other cases
  • Enables #18

Device Editor for creating/editing devices

A way to, within a GUI, create and edit devices.

  • Modify device name
  • Modify device description
  • Add and remove connectors
  • Modify connector type (PinType)
  • Modify protocols supported on connectors
  • Modify connector description
  • Save device to file

Warning for device info being out of date w.r.t. saved device

Got a few options for this:

  • Warn on mismatched data
  • Projects save filepaths to devices instead of unwrapping devices to straight json
    • Could result in edits to one project changing nodes in another, unless we work on some immutability features

"Inventory" of existing devices

A way to save a list of devices with quantities for the purpose of knowing which devices you have remaining after using some of them in a project. There is a somewhat similar feature in PCPartPicker.

Could also modify these devices with information such as broken connectors or other custom info.

Recursive "Device Internals" revealing internal connections

Ability to open any device as a .con project file, which would allow for device internals planning, or just categorization of a big set of devices in a larger scope project. This would be recursive, and would have all of the connectors of the exterior device reflected on the inside.

Protocol "Sources" and "Sinks"

As an extension of #1, store on a device whether a protocol on a connector is a Source, a Sink, or a Relay. This will allow proper walking of the path from sources of protocols to sinks, which will determine which protocols are actually supported the entire way through, and where a device drops a protocol.

Replace OS title bar with custom one

One notable thing we can't yet do is give a warning that closing the editor window will discard unsaved changes. We could do that if we made our own exit button instead of using the OS one.

Connector and Protocol definitions load-from-JSON

At the moment, Connectatron uses C++ enums and the magic_enum library for automated operations like stringizing all enum names.

This has the following limitations:

  • Must follow C++ variable name character restrictions
    • Partially solved by underscore-encoding
  • No way to add more connectors and protocols
  • Difficult to add associative information like Category in a very flexible way
    • Currently implemented categories as ranges of the enumerations, so any connector or protocol cannot exist in multiple categories

Benefits that should be preserved:

  • Connectors and protocols are only stored by string name
    • Changes to enum-order and metadata like category, etc do not disrupt the validity of the saved string
  • Exactly one place to edit information about a single connector/protocol, no matter how many aliases that has
  • Software only allows you to apply/change valid connectors/protocols

Handle "Proprietary" Connectors

Could be as simple as "all proprietary connectors can connect to all other proprietary connectors", or something like having to match a key (like a specification title or part number).

Connector Shape or Logo Icons for better readability

Particularly for common connectors, readability of the interface would be improved if a recognizeable diagram of the connector or logo of the standard were shown instead of a generic connector symbol like we have now.

Fix Actions build

Having problems with vcpkg libraries...

Fixing this will allow for the CI to produce automated releases.

Proper unique IDs for UUID

At the moment I use std::random stuff to get a uniform 1->100,000 random. This needs to be redone to get a better guarantee of uniqueness.

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.