71 Commits

Author SHA1 Message Date
BarsDev
6ba2705386 Large refactoring and new nodes
* Fix node reference when changing elements

* Fix ScriptVariables parsing

* Fix invariant text and niagara types

* Niagara convert nodes

* Move node tests to own files

* More Niagara tests

* Niagara float and smaller fixes

* More Decoding

* More decoding

* WIP

* Float is real

* WIP

* More types and colors

* Test case and small polish

* WIP

* WIP

* Fix niagara script variables merging

* Fix Niagara variables

* Fixing mirrored ExportPath

* Fix Export paths name adjustments

* Simplify arc calculation

* Simplify a bit arc calculation

* source / destionation => origin / target

* Minor refactoring

* Fix switched link position

* Rename some properties for uniformity

* Fix input escape

* Simplify test

* About window

* Dialog backdrop style

* About dialog touches

* Remove dependency and minot improvement

* Light mode

* Fix link location and css small improvement

* Link direction and minor fixes

* Some minor fixes and refactoring

* Refactoring WIP

* Shorting repetitive bits

* More tests

* Simplify linking tests
2025-02-07 00:36:03 +02:00
barsdeveloper
a8d78483d5 Remove unnecessary default attributes 2024-10-16 20:52:27 +02:00
barsdeveloper
19ef3bd10e Small refactoring 2024-09-08 22:28:42 +02:00
barsdeveloper
23ee628e28 Refactoring entities (#23)
* Still WIP

* WIP

* ArrayEntity parsing fixed

* Fix format text entity

* Tests for various entity classes and update entity class implementations

* More tests and fixed

* More entities fixed

* Simple entities serialization fixed

* Entities tests fixed

* Remove serialization bits

* Fix Function reference

* CustomProperties creating fixed

* WIP

* Better typing for grammars

* Decoding code fixes

* Fixing still

* Several fixes

* rename toString to serialize

* Several fixes

* More fixes

* Moving more stuff out of Utility

* Several fixes

* Fixing Linear color entity print

* Serialization fixes

* Fix serialization

* Method to compute grammar

* Renaming fix

* Fix array grammar and equality check

* Fix inlined keys

* Fix type

* Several serialization fixes

* Fix undefined dereference

* Several fixes

* More fixes and cleanup

* Fix keys quoting mechanism

* Fix natural number assignment

* Fix Int64 toString()

* Fix quoted keys for inlined arrays

* Fix PG pins

* Fix several test cases

* Types fixes

* New pin default value empty

* Fix non existing DefaultValue for variadic nodes

* Smaller fixes for crashes

* Fix link color when attached to knot

* Linking test and more reliability operations for adding pins

* Improve issue 18 test

* More tests and fixes

* Fix enum pin entity

* Remove failing test
2024-09-08 11:46:36 +02:00
barsdeveloper
a5813d0b4d Niagara and Metasound nodes WIP
* Keep track of entities

* Fix renaming

* Niagara variables wip

* Several niagara decode and test

* Move nodeTemplate code to dedicated file, self node added

* Move node decoding functions to dedicated files

* Move pin decoding logic to dedicated files

* Accept space separated keys in objects

* Build

* Prevent a crash in case of incomplete object

* Avoid creating objects unnecessarily

* types formatting

* Initial metasound style

* Common pcg nodes colors

* Fix string serialization

* Metasound new styles and fixes

* More metasound styles and colors

* WIP

* Several fixes

* More tests and fixes

* Clean gitignore
2024-05-20 12:56:36 +02:00
barsdeveloper
279163cd54 Simple serialization entities fixes and tests 2024-03-30 20:07:26 +01:00
barsdeveloper
cc9e3d833a Attributes initialization refactoring (#19) 2024-03-24 17:30:50 +01:00
barsdeveloper
7469d55518 Replace parsing and test libraries
* WIP

* WIP

* wip

* WIP

* Several fixes

* Tests wip port to playwright

* WIP

* Fix more tests

* Serialization tests fixed

* Several fixes for tests

* Input options types

* Type adjustments

* Fix object reference parser

* Tests fixes

* More tests fixes
2024-02-14 00:40:42 +01:00
barsdeveloper
354944d5c6 Grid Size node title 2023-09-25 00:02:38 +02:00
barsdeveloper
25a445ec0e Several visual fixes 2023-09-24 23:20:30 +02:00
barsdeveloper
fdd86ce5de Refactor jsdoc types (#16)
* WIP

* Fix type 1

* Missing types info

* Some fixes

* Several types refactoring and fixes

* WIP

* Fix grammar
2023-09-22 22:56:33 +02:00
barsdeveloper
78c62ee59a Split grammar (#15)
* Move grammar parsers to entity classes

* Fix includes

* Fix Entity5 test

* Small detail

* Fix unknown keys entities

* Persistent grammar objects

* Fix grammar

* Grammar from variable
2023-09-18 21:13:28 +02:00
barsdeveloper
6f674b284d PCG nodes and other fixes (#14)
* Various fixes

* Fix name from SettingsInterface

* Allow path lookbehind for unknown keys entity

* Subraph object name

* Several fixes

* Various fixes

* Fix colors

* Various pin types
2023-09-14 23:07:09 +02:00
barsdeveloper
fd991b94b3 Various improvements (#13)
* Union lookbehind

* Fix quoted inline array
2023-09-02 14:08:29 +02:00
barsdeveloper
5bda087b81 Quoted keys supported 2023-08-11 18:37:48 +02:00
barsdeveloper
9fc936f228 How to use 2023-05-24 19:45:01 +02:00
barsdeveloper
c4813d8106 Add pin (#6)
* Add pin and minor style fix WIP

* Fix default pin graphics

* Fix sorting

* Min, max nodes are variadic
2023-05-15 22:29:52 +02:00
barsdeveloper
90f19e1bca Entities semplification
* Entities semplification WIP

* Bug fixes after entity semplification

* Fix object serialization
2023-05-05 18:50:31 +02:00
barsdeveloper
4eb1ff2a7c Mirrored entities 2023-05-03 21:14:01 +02:00
barsdeveloper
8a96af670e Dropdown implementation, switch refactoring
* Various fixes

* Fix tests

* Dropdown names deduced from pin names

* Remove update callbacks

* Fix double pins issue

* return undefined if not switch
2023-04-22 12:44:37 +02:00
barsdeveloper
baf40a9094 Several serialization and deserialization fixes 2023-04-15 12:20:53 +02:00
barsdeveloper
d10589f0bd Arrays elements can now be inlined 2023-04-11 21:21:03 +02:00
barsdeveloper
2a7f208070 More tests for grammar 2023-04-09 18:25:46 +02:00
barsdeveloper
ce1f875f46 Simplify attribute prefix 2023-04-09 13:58:17 +02:00
barsdeveloper
53d79a16f5 Inline attributes semantics and tests 2023-04-09 10:41:50 +02:00
barsdeveloper
ba3e9fa592 Inlineable objects 2023-04-06 19:23:20 +02:00
barsdeveloper
a9e4a4f66f Serialization methods names simplified 2023-04-05 21:38:17 +02:00
barsdeveloper
721db0702b Serialization test 2023-04-05 21:25:37 +02:00
barsdeveloper
62b3968af3 Fix unexpected key types 2023-04-03 19:12:00 +02:00
barsdeveloper
bb24486303 Grammar refactoring
* Grammar refactoring WIP

* ISerializer.grammar

* Fixing various bugs in the grammar

* Small touch that improoves performance

* Fix unknown values grammar

* Various fixes

* Serialization refactoring to drop suboject logic

* Details fixed

* Entity attributes initialization refactoring

* JSDoc error fixed

* Rename value key to default

* Remove useless default

* Revert string keys
2023-04-01 19:55:16 +02:00
barsdeveloper
b235d63348 Specify extension in include paths 2023-03-23 16:24:32 +01:00
barsdeveloper
76df14de95 Node naming refactoring and additional tests 2023-02-07 21:48:34 +01:00
barsdeveloper
8de12775a7 Fix input wrap 2023-01-30 21:39:31 +01:00
barsdeveloper
abc19f831a Various fixes to hid nodes 2023-01-25 20:37:18 +01:00
barsdeveloper
47106f748d Various fixes, tests and refactoring 2023-01-17 22:22:25 +01:00
barsdeveloper
a3e0d6be2b Moving node and pins information to Configuration 2023-01-06 18:23:56 +01:00
barsdeveloper
af44de4539 Prevent error from unexpected attribute 2023-01-04 22:16:51 +01:00
barsdeveloper
f59217ffd9 Fixes and Utility test added 2023-01-04 15:53:51 +01:00
barsdeveloper
a16481194c Filterable attributes, Int64 entity 2023-01-03 22:53:17 +01:00
barsdeveloper
f4ebfa488a Get rid of the Observable class 2023-01-02 00:46:07 +01:00
barsdeveloper
984bf32b51 Type initialization using objects 2023-01-02 00:22:50 +01:00
barsdeveloper
c3ab6478b0 Make elements default constructible, testing wip 2022-12-24 15:29:12 +01:00
barsdeveloper
6bf1174c38 Suppress warnings for KnotEntity creation 2022-12-17 09:56:25 +01:00
barsdeveloper
401ce75fdc Generic unknown keys object entity 2022-11-20 18:03:40 +01:00
barsdeveloper
b55779312b Small refactoring, set variable node 2022-11-19 18:40:20 +01:00
barsdeveloper
704049c869 SVGIcon class, Macro reference entity 2022-11-16 17:47:11 +01:00
barsdeveloper
900245d69e Small fix for knot creation 2022-11-15 16:30:30 +01:00
barsdeveloper
f2c09faedb Create knot on link double click 2022-11-15 14:31:26 +01:00
barsdeveloper
cd911b0d0c Initialize events handler in class 2022-11-12 11:46:22 +01:00
barsdeveloper
aa7c9932f0 Various improvements 2022-11-09 22:14:30 +01:00