Hi Peter Thanks for your answer and for your help! I will study the elm-style-animation package you mentioned to learn how I can use it for my application. Regarding the Elm Guide I have so far just browsed this information. I have also just a basic knowledge about the Elm Architecture. I will however go through these more deeply to learn more about Elm.
Regards Staffan Den söndag 24 juli 2016 kl. 10:03:16 UTC+2 skrev Peter Damoc: > > Hi Staffan and welcome to the Elm community! > > I would recommend that you use elm-style-animation package for your > animation needs. > > As for the presentation of text, you have full control over the generated > SVG, you can show or don't show the text based on the state of the model. > > Have you went through the Elm Guide? Have you become familiar with the Elm > Architecture? > http://guide.elm-lang.org/ > > > > > > > On Sun, Jul 24, 2016 at 9:46 AM, <[email protected] <javascript:>> wrote: > >> Hello >> >> I have started to learn the elm language and would be very thankful if >> you please could help me with the following. >> >> I would like to implement a graphical presentation of a protocol stack >> and show how packets flow through this >> protocol stack to an from another computer. >> The protocol stack shall be presented as a number of rectangles, one per >> protocol layer. I would like a packet >> going through the protocol stack to be shown as a rectangle. A packet >> shall move through the protocol layers >> and to/from another computer. When the packet is within a certain >> protocol layer, a text shall be shown >> describing the protocol layer. When the packet moves to the next protocol >> layer, this text shall be removed >> and a new text corresponding to the new protocol layer shall be shown. >> >> I have thought of using SVG in elm and to use the animation feature of >> SVG for moving the packet rectangle >> one a given path. Is this idea good do you think or are there better ways? >> If you think SVG and its animation function is to be recommended, how can >> I implement the presentation of >> texts corresponding to the protocol layers the packets are going through? >> >> Thanks >> Staffan >> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Elm Discuss" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > There is NO FATE, we are the creators. > blog: http://damoc.ro/ > -- You received this message because you are subscribed to the Google Groups "Elm Discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
