usalu / semio Goto Github PK
View Code? Open in Web Editor NEW✏️Collaborative, scalable and cross-platform designing.
✏️Collaborative, scalable and cross-platform designing.
While it is not necissary to have an ontology to publish and consume rdf, it helps future adopters to have a formal definitions instead of a textual specification.
Additionally it can be used for unittesting with great feedback instead of arbitrary error codes.
More general version of current element resolving. Currently all elements are "PointDependent" where they keep their view but change their point of view according the connection.
A more general version can specifiy: Independent (keeps its pose), PointDependent (keeps view but get's point assigned.), ViewDependent (keeps point but get's view assigned.), Dependent (get's pose assigned and doesn't need it's own pose).
As a reference: https://code.visualstudio.com/api/extension-guides/custom-editors
Idea: Reuse Editor code for a layout editor:
Developing a jupyter like file format (for .semio) to store logic and results (good UI concept necissary).
Something like cells->variants, outputs->designs
As grpc is from google and buf supports bazel, it seems like a good idea to use bazel.
Migrate tests from https://github.com/usalu/semio.py
Layouts are intended to be a fuzzy description of connected elements in a design. As every element should be placed exactly once, only a tree per connected elements is required. To have potentially the full control, unfinished assemblies can be provided which will be resolved through something like breadth-first search.
An algorithm could be this:
Undirected graphs:
Result would be:
{
"assemblies": [
{
"sobject_id":"1"
},
{
"sobject_id":"3"
},
{
"sobject_id":"6",
"parts":[
{
"sobject_id":"2"
}
]
},
{
"sobject_id":"10",
"parts":[
{
"sobject_id":"4",
"parts":[
{
"sobject_id":"5",
"parts":[
{
"sobject_id":"8"
}
]
}
]
},
{
"sobject_id":"9",
"parts":[
{
"sobject_id":"7"
},
{
"sobject_id":"16"
}
]
},
{
"sobject_id":"11"
}
]
},
{
"sobject_id":"14",
"parts":[
{
"sobject_id":"12"
},
{
"sobject_id":"17"
}
]
},
{
"sobject_id":"20",
"parts":[
{
"sobject_id":"19",
"parts":[
{
"sobject_id":"15"
},
{
"sobject_id":"18"
}
]
},
{
"sobject_id":"23"
}
]
},
{
"sobject_id":"21",
"parts":[
{
"sobject_id":"13"
},
{
"sobject_id":"22"
}
]
}
]
}
Directed multi graphs;
Idea use networkx as graph engine for finding subcomponents of the graph, do breadth-first search on them, etc
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.