Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
wxRuby3/Shapes (Wx::SF) is a pure Ruby software library/framework based on wxRuby3 which allows easy development of software applications manipulating graphical objects (shapes) like various CASE tools, technological processes modeling tools, etc. This library is a pure Ruby implementation based on the excellent wxShapeFramework C++ library based on wxWidgets.
The library consists of several classes encapsulating a so called 'Shape canvas' (visual GUI control used for management of diagrams) providing the following features:
The shape framework (and shape canvas) allows to define the relationship between various shape types (for example which shape can be a child of another one, which shape types can be connected together by which connection type, how do various connections look like, etc) and provides an extensive set of events for customizing the interactive creation of diagrams.
More over, the library source code is pure Ruby based on wxRuby3 GUI toolkit, so it will run on any platform that supports Ruby and wxRuby3.
The wxRuby3/Shapes project provides gems on RubyGems which can be installed with the
standard gem install
command line this:
gem install wxruby3-shapes
See INSTALL for more details.
After installation run this:
wx-shapes test
After installation run this:
wx-shapes sampler
See the output of wx-shapes --help
for more options.
wxruby3/shapes is free and open-source. It is distributed under the liberal MIT licence which is compatible with both free and commercial development. See LICENSE for more details.
See the wxRuby3 project for more information concerning licensing of wxRuby3.
Generally, neither wxRuby3 nor wxRuby3/Shapes require attribution, beyond retaining existing copyright notices. See here for more details and acknowledgements.
All platforms supporting Ruby and wxRuby3. See the wxRuby3 project for more information
Use GitHUb Issues.
When asking a question, if something is not working as you expect, please provide a minimal, runnable sample of code that demonstrates the problem, and say what you expected to happen, and what actually happened. Please also provide basic details of your platform, Ruby, wxRuby3/Shapes, wxRuby and wxWidgets version, and make a reasonable effort to find answers in the archive and documentation before posting. People are mostly happy to help, but it's too much to expect them to guess what you're trying to do, or try and debug 1,000 lines of your application. Very important also; do not use offensive language and be polite.
The wxRuby3/Shapes API has a lot of features and takes some time to learn. The wxRuby3/Shapes distribution comes with several samples which illustrate how to use many specific parts of the API. Good one's to start with are the basic samples (samples/sample1|2|3|4) which provide insights in various basic features. The samples also include a fairly advanced and complete diagramming demo application showcasing most of the features of wxRuby3/Shapes.
Complete (more or less) wxRuby3/Shapes API documentation should be part of any complete wxRuby3/Shapes build. This tends to focus on providing a reference of all available modules, classes ad methods and how to use specific classes and methods, rather than on how to construct an application overall. This documentation (for the latest release) is also available online here.
wxRuby3/Shapes is not a straight port of wxShapeFramework although much of the structure is maintained with the following major implementation differences:
In addition many small tweaks, improvements and also bugfixes have been implemented as part of the port.
Please double-check the INSTALL documents, and search issue archives. If this doesn't help, please post your question using GitHub Issues.
FAQs
Unknown package
We found that wxruby3-shapes demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.