Hi i want to build a schematics system based on pi...
# tornadofx
l
Hi i want to build a schematics system based on pipes, my question is how can I build composed objects like a t using basic shapes like a rectangle to be create the pieces
m
You place them inside a layout. You don't necessarily need to use only rectangles, unless, for some reason, you need to. You can use complex shapes defined as Paths.
l
what kind of component would i use as canvas. What i want is to create a workspace with a drag and drop functionality, and snapping capabilities. Something like blockly but with pipes.
m
JavaFx has a Canvas control. Read about it and compare it to Shapes. It's your choice. Also "workspace" is a term with a specific meaning in TornadoFX (not in JavaFX).