Re: [akka-user] [akka-streams] It is not possible to create Graph with the custom shapes

2016-09-20 Thread Sergey Sopin
Hi Roland, Yeah, you are right, I forgot about toInlet() and from(Inlet[]) functions. Everything is good now. Thanks! Regards, Sergey вторник, 20 сентября 2016 г., 1:01:30 UTC+3 пользователь rkuhn написал: > > Hi Sergey, > > Just add your custom stage using builder.add() and then write the

Re: [akka-user] [akka-streams] It is not possible to create Graph with the custom shapes

2016-09-19 Thread Roland Kuhn
Hi Sergey, Just add your custom stage using builder.add() and then write the ports of the resulting Shape using the normal GraphDSL methods. There is no need to make the wiring aware of your special shape. Regards, Roland Sent from my iPhone > On 19 Sep 2016, at 22:35, Sergey Sopin

[akka-user] [akka-streams] It is not possible to create Graph with the custom shapes

2016-09-19 Thread Sergey Sopin
Hi, Due to performance reasons I decided to create my new custom Shape with several inlets and several outlets (5 in and 3 out in my case). Then I decided to create Graph with the new element and realized that it is not possible without rewriting Graph object. In order to create my own shape I