Comments (3)
Couple other thoughts in no particular order:
- If I were to split it out, I'd be able to create explicit
InputPort
andOutputPort
classes - without worrying about Unity polymorphic list serialization headaches - If I wanted to extend in the future into different port directions (e.g.
Direction.Down
,Direction.Up
,Direction.ExecutionFlow
or whatever actually makes sense for particular use cases), I'd have to make an explicit collection and methods per new direction. Whereas right now it's a simpleAddPort(new Port(configured however I want))
andGetPort("Foo")
- While it's kinda awkward that IO can't have the same name, maybe that'd help reduce debugging confusion later?
from bluegraph.
For the storage format in runtime nodes, I'm going to keep this as a single list. Moving forward - I might look at changing the API to be more explicit, but since that won't be a breaking change on the format itself I'm moving this off the priority list for release.
from bluegraph.
Closing this out - I'm sticking with a single port list until it becomes a problem. At which point I can look at doing a 2.0 for it.
from bluegraph.
Related Issues (20)
- ISearchProvider Example HOT 2
- Ideas for New Attributes HOT 2
- Empty References Bug HOT 1
- Open Graph Instance at runtime HOT 1
- Add wiki docs - new context menu attribute HOT 1
- add a performance page to the wiki
- Json (Netwonsoft | STJ) Serialization. HOT 4
- Lost port when reload
- Doubts about stability HOT 3
- After restarting Unity 2021.2, graph loads missing data HOT 7
- NullReferenceException when editor window is left open after a Unity reboot HOT 1
- Node gouping and sub-graphs HOT 2
- Unused node space in nodes with no output fields HOT 4
- Minimap for larger graphs
- Graphs in ExecutionFlow example only work when in sample directory HOT 1
- Real-time refresh HOT 4
- Custom GraphView hard to implement due to strong dependencies on CanvasView HOT 2
- error when Instantiate graph
- Add the ability for Dynamic Port Lists
- Adding new ports does not refresh existing instances
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bluegraph.