Skip to content

Instantly share code, notes, and snippets.

Avatar

Sylvain Pillet SteamWind

View GitHub Profile
View machine.js
const stateNames = Object.freeze({
idleing: 'idleing',
drawn: 'drawn',
fitZooming: 'fitZooming',
drawingColumn: 'drawingColumn',
drawingU0: 'drawingU0',
drawingHoles: 'drawingHoles',
influencingU0: 'influencingU0',
drawingAncoplus: 'drawingAncoplus',
drawingTemporaryAncoplus: 'drawingTemporaryAncoplus',
@SteamWind
SteamWind / testLDD.skema
Created Jul 27, 2018
c'est juste un test
View testLDD.skema
[{"name":"Bears","color":"Blue","position":{"x":239,"y":128},"modelclass":"Bear","increment":false,"timestamp":false,"softdelete":false,"column":[{"colid":"c217","name":"id","type":"increments","length":"0","order":0,"defaultvalue":"","enumvalue":""},{"colid":"c218","name":"name","type":"string","length":"200","order":1,"defaultvalue":"","enumvalue":""},{"colid":"c219","name":"danger_level","type":"string","length":"200","order":2,"defaultvalue":"","enumvalue":""}],"relation":[{"extramethods":"","foreignkeys":"","name":"fish","relatedmodel":"Fish","relationtype":"hasOne","usenamespace":""},{"extramethods":"","foreignkeys":"","name":"trees","relatedmodel":"Trees","relationtype":"hasMany","usenamespace":""},{"extramethods":"","foreignkeys":"bear_id, picnic_id","name":"picnics","relatedmodel":"Picnics","relationtype":"belongsToMany","usenamespace":""}],"seeding":[]},{"name":"Fish","color":"Yellow","position":{"x":1100,"y":78},"modelclass":"Fish","increment":false,"timestamp":false,"softdelete":false,"column":[{"