I have an application made of multiple microservices. I would like to visualize it for newer developer to understand the flow chart.
In some previous experiences, I have seen people draw flowchart like this one below.
Question: What is this kind of flow chart called?
Is there any software tool that can draw it?
flow chart
Use https://www.planttext.com/ for creating the flowchart, You need to first understand the syntax for creating the flowchart.
This diagram is called "sequence diagram". You can use https://www.zenuml.com for creating sequence diagram. It comes with a super-developer-friendly syntax and is real-time.
Disclaimer: I am the author :)
This diagram is called "Sequence Diagram". You can learn about its annotation at IBM Rational site
You can use tools like Visual Paradigm to draw it. They have a community version for non-commercial use.
Related
After some investigation, I have found out that the sparkling water H2O flow UI has a very limited set of plots - just Box plots, and distributions, for data visualization in Scala.
But if I want to use a third party library (need recommendations on this, I have already checked the Scala-charts library), how would I embed the generated plots in the H2O flow UI itself?
I’ve seen a couple of examples of this over the years, but the real answer is this really isn’t supported well.
Here is a pointer to the best example I can remember:
https://github.com/h2oai/sparkling-water/blob/master/examples/flows/2016_H2O_Tour_Chicago.flow
If you really want to do this, the best guide is the source code of H2O Flow.
I asked a similar question to Anylogic linkedin forum so sorry for multiple posting (possibly for some of you). I just heard about the Anylogic program. My purpose is not simulation I want to visualize a log file. I want to allow the admin-user (who will be the user of the Anylogic model) to enter some settings which will cause some filtering and I want to visualize the whole file with Anylogic.
The file is a communication file. Possibly I will show communication attendees and interactions using Anylogic. I want to emphasize unnormal patterns in the log using visual and interactive properties of Anylogic. There may also some need for like zooming in and out during the execution of the model.
Is it something very difficult to do? I am a Java developer. I can understand that I should have to learn Anylogic. What other skills and development and test environments (Ide etc.) do I need?
I plan to do a serial of implementations for several log file types and currently I am trying to find the best tool which will allow me to make changes in visualization part of the models easily till I find the best representation of the data.
There are some examples of Anylogic which are installed built-in but I couldn't see an example which suits my situation. I do not know where to start. If someone helps me to start the design I would be very happy :)
Thank you for your attention..
Edit:
I am attaching a sample stereoscopic view model and a sample view. I want to do something similar to this. Is it ok with AnyLogic?
Ferda
simple answer: yes its possible.
Some more comments:
I am currently working on a very similar project actually. For me as an experienced AnyLogic user, it is very natural and AnyLogic offers all the features you ask for.
Is it something very difficult to do?
That depends on how quickly you can learn AL. But if you are experienced with Java, it will not be too hard, I imagine.
What other skills and development and test environments (Ide etc.) do I need?
None, really. You need to figure out how to use the visual elements of AL. All of them can be changed statically via the AL IDE but you can always change them dynamically via Java code. That is very important to realize and play around with.
I am attaching a sample stereoscopic view model and a sample view. I want to do something similar to this. Is it ok with AnyLogic?
Yes, that can be done.
I suggest you try checking the example models that come with AL. If you find something that looks like what you need, try to figure out how they did it. Then try to recreate it in a simple example model for yourself.
We need to visualize BP (business process) into BPMN, but NOT by hands using modeler. We need to do it automatically in crm-web-based system written on PHP. I have input data (etc. array, xml, not care...(but not BPEL)), then I need to process it into nice BPMN graph (using SVG).
We have first nice-looking realization of it. We use matrix to draw: several times goes through matrix and optimize graph each time, no no, it working fast, but it not agile, hard to rebuilt, upgrade, add new features... We made this algorithm by ourselves (I mean we didn't find it in google or books). Problem is that we couldn't find any algorithms in the internet. I suppose we don't know correct keywords to do it. Every try returned us to BPEL vis. from BPMN, "Data flow vis." returned modelers...
Please help us to find some algorithms, or give correct keywords to find out information.
Think you're probably looking for "graph layout algorithms". The only library I'm aware of that can (I think) generate BPMN directly is the yFiles library from yWorks. It's not free. They do however offer a free application using the library that does auto-layout. Perhaps you could do some prototyping with that.
If that's not applicable, there are several other options. I'm not aware any of these can generate BPMN symbols directly; you'd have to construct the symbols. However all will auto-layout graphs according to various algorithms. Also all open source/free.
graphviz. Written in C. Quite old now but well used, stable and scalable.
tulip. Newer than graphviz. Haven't used it but heard good things about flexibility and scalability.
see also this post for javascript based options.
There are many more, just google for graph layout algorithms / libraries.
hth.
I am making a design document and I need to draw pictures using Visio. I have searched through the Internet, but there is no getting started guide or tutorial. Can somebody help? I need a tutorial which helps me to draw figures of moderate complexity.
At the surface, this looks like a fairly straightforward question, but I would argue that there are some underlying problems inherent in what you are looking for. There are a couple of ways to address this question:
First, how to use Visio.. Finding that information is fairly straightforward. The documentation via the Help menu is handy when trying to determine how to actually add elements, tie them together and define schemas based on those elements (be it an E-R diagram, UML, or some other architectural diagram). Finding the tutorials you are seeking might be difficult as Microsoft has moved Visio from a standalone product, to a part of the Visual Studio Suite, to part of the Office Suite, back to a standalone product. I would start my search on MSDN. Here are a few resources:
Visio Insight - A blog dedicated to using and modifying Visio
A portion of the Visio documentation
Second, how to you develop diagrams (and perhaps more specifically architectural diagrams). This falls outside of the realm of Visio and moves more towards fundamentals. There are a lot of books on UML and diagramming problem domains. I keep a copy of the UML Cheat Sheet handy. The same goes for E-R diagrams as well as other models.
And finally, with a question: What kind of diagrams are you trying to create? As with all tools, make sure that Visio is the right tool for the job. Would the table diagraming system in SSMS work for you? How about the class diagraming system build into Visual Studio? (and this is just assuming you are using Microsoft technologies in order to develop software). Visio is great for creating flowcharts and systems diagrams as well -- and those are much more straightforward.
As one final note, check out some of the samples that should be included. Here is a link to some (albeit older) sample for Visio that should get you started.
You can always read a book on the tool and that's my personal preference. I learned Visio 2010 by reading the book "Microsoft Press Microsoft Visio 2010 Step by Step"
Well, I've been following the NerdDinner tutorial online and I've completed it to a T.
Now I've implemented a project of my own using pretty much the same architecture.
I notice my process is:
Create database.
Create DBML.
Create |TableName|Repository.cs class with data access methods.
Create partial |TableName| class to handle validation.
Rinse and repeat for all tables.
By the time I'm done I'm exhausted and I haven't really done anything except drag and copypaste code and change variable names.
What am I missing here. Where can I improve this boilerplate haze I'm in?
Edit: Sans creating my own T4 template, is there a tool that will help me?
See Visual Studio Templates.
I haven't used them, but I assume if you take the time to customize them, you'll be able to make Visual Studio generate a lot of what you already do instantly specifically using the T4 template language/interpreter thats embedded in Visual Studio.
I haven't used it much but perhaps you could create a codesmith template to handle this. http://www.codesmithtools.com/
I have seen it used to good effect with Nettiers and in some other scenarios.
Have a look at this for ideas. It uses a generic repository and the unit of work pattern.
http://elegantcode.com/2009/12/15/entity-framework-ef4-generic-repository-and-unit-of-work-prototype/
Also here.
Advantage of creating a generic repository vs. specific repository for each object?
I've implemented something based on these ideas. You may also want to look at using a service layer more interfaces etc than the nerd dinner example shows.
As good as the tutorial is, it isn't IMO really fit for use in an enterprise application as it is still quite tightly coupled.
Hope this helps.
I use my own tool for that: http://github.com/Necroskillz/NecroNetToolkit
It basically bypasses all the steps that u mentioned (except validation, because I have validation on my view models).
While its not directly MVC focused, I've enjoyed using NetTiers http://nettiers.com for this kind of foundation. We start with the Db tables and indexing and then generate the stored procedures and their related data and service layer code. After that we add our own custom stored procedures, creating a rich (and easily understood) foundation. Future changes are easily accommodated through this mechanism.
We also bolt the code generation into our Nant build procedures, providing a very quick way of updating all of the mundane 'plumbing' code, allowing us to concentrate on the interesting stuff.
We've just started working with MVC and have found the netTiers service layer works nicely with it - time will tell as our MVC experience grows. I hope that helps!
Create a framework!