How to draw nodes and edges in blog - graph-drawing

I started writing a blog. I am new at it.
can someone help me how to draw nodes/edges and also colouring/editing like this:
Is there any software or any website, where i can get help?
Example: like this post, I want to draw image like that and how to code like that in a box.

Here are several ways of drawing a "professional" looking graph:
Use Graphviz, e.g. with a graph defined through a .dot file.
Use tikz in LaTeX, e.g. in Overleaf.
Draw it manually in e.g. Google Slides, and stylize it with e.g. Times New Roman font.
The first two approaches have the advantage that you don't draw anything directly, but rather define the graph textually, which also makes it easy to edit later if needed.

Another option is Cacoo, an Online Diagram and Flowchart Software. Free trial and easy WYSIWYG interface available on cacoo.com. I did with Cacoo two diagrams that I included in my BSc thesis and both were very similar to the one included in your question.
Instead, if using LaTeX, the package forest may be appropriate.

Related

What kind of chart has a count of objects?

I was trying to figure out how to make a chart like this but can't seem to find any information. I can't even find a name for this type of chart to Google it.
Does anyone know what these type of charts are called?
This is actually a little different that what I normally see. This is more of a percentage while most represent a certain number of people (one person = 100,000 people)
Here's a better example. I want to try to make something like this programmatically so it can be populated by data.
This is less of a chart and more of an Infographic. It's used to visual display facts or statistics in a friendly and accessible manner. There are plenty of tools on-line that can help you make one of these, but generally they're made custom by graphic designers using image processing tools such as Adobe Illustrator or Inkscape (free).

Non-language-specific graphical code organization

I'm working with a PLC program that runs over a hundred subroutines in parallel, and each one affects the flow of the others. Countless labels and GOTOs, function calls, etc. My office desk is covered with little stickynotes to help me visualize and track the flow through the program, but it's starting to get too complex to manage that way. Has anyone ever heard of any sort of graphical flowchart-ish program to help organize stuff like that? What I'm picturing is a little text box that I can fill full of pseudocode, then link to other textboxes. Unless I'm actually working in them, the boxes stay collapsed, and you only see a title or something to show what it is. All the links connected to my "open" box are red, or bold, and all other links are dim gray, or maybe not even shown.
Does anything like this exist? I've heard that MATLAB uses something similar to what I'm picturing, but what I want is just a generic sort of "fill in your own info" program; not language-specific. I'd be tempted to make one on my own, but I'm way too busy with WORK-work to start creating NOT-AT-WORK-work for myself.
You can try Dia or yEd. Both are available for linux, I know that yEd is also for Windows. Those are diagramming tools, maybe you'll find them useful.
Graphviz http://graphviz.org/ would be a good tool to achieve this.
It allows you to write your graph descriptions as simple text and it generates and lays out the graph. It can handle pretty large and complicated flows. Here is a simple example to give you an idea of the syntax:
digraph g {
NodeA -> NodeB;
}

Intensity map using GWT

Google has a library for GWT gwt-visualization (can be obtained HERE). I tried to find an example on how to draw intensity heat (IntensityMap) map but was not able to find anything.
What I'm trying to achieve is to create a city map and the intensity circles over the cities. Similar to example image below.
So, my question is how do I make such a map using GWT using gwt-visualization library.
In your screenshot a GeoChart is used and not an IntensitiyMap.
So if you use the IntensityMap from gwt-visualization it will look like this and not like the screenshot you posted.
Unfortunately there is no ''GeoChart'' wrapper in the gwt-visualization (there is only one for the old GeoMap).
It is really easy to implement a wrapper for an existing google chart (see here for more details). You can take an existing wrapper as an example and modify it.
I created a wrapper for the ''GeoChart'' because I needed one for one of my projects. You can use it and also modify it as you like.

chart library which can edit graph by dragging points?

I'm looking for preferably javascript (but flash would do too) charting library which would be able to render time series as line chart and then allow to drag points in chart to change the underlying data.
I was said that Excel can do exactly the same thing, but I need it on web. No well-known charting library like Highcharts, amCharts, GoogleCharts or dygraphs cand apparently do that - I found some draggable graphs solutions like WireIt or http://radokirov.com/js-graph-editor/ but these are nodes and edges types of graphs not really-usable for chart drawing.
Do you know any ready for use solution to this problem? I don't care whether it's opensource or commercial.
Late response; I might help future visitors, though.
I'm looking for something similar. try: http://www.jqplot.com/deploy/dist/examples/customHighlighterCursorTrendline.html
Some other options (hopefully helpful to future visitors):
FusionCharts: https://www.fusioncharts.com/charts/visually-editable-charts/editable-line-chart
Chart.js (plugin): https://github.com/chrispahm/chartjs-plugin-dragData

Visualize Friend of a Friend (foaf) graph

I wrote a script to export twitter friends as foaf rdf description. Now I'm looking for a tool to visualize the friend networks. I tried http://foafscape.berlios.de/ but for 300+ Nodes it is really slow and does a bad job on auto formatting.
Any hints for good graph visualization tools? It's ok if they do not support foaf directly, but they should be able to use images for graph nodes and be able to display large graphs. Linux support would be nice.
Oh, and I'm searching for an interactive tool where I can move nodes by hand.
Update: Thanks for your input. I know graphviz and for static images it is really great. But for large datasets I need to be able to select nodes and highlight all neighbours.
Prefuse looks great: http://prefuse.org/gallery/graphview/
trough prefuse I found vizster, which is exactly what I search (just need to find some sourcecode) http://jheer.org/vizster/
perhaps the prefuse visualization toolkit might help you. It's based on Java and has many sample apps including a graph viewer.
You could try Graphviz. It runs on Linux, Windows and Mac OS X and it will generate an image (PNG, PS, etc) of the graph. You will have to transform your foaf data into its own custom language, but it's pretty easy to learn.
I don't know of any program that auto-generates graph visualizations and allows you to interactively adjust nodes, but Graphviz is a really popular tool for graph visualization. It can export to SVG so you can edit the result in your favorite vector graphics editor.
As recommended by other posters, definitely Graphviz. It takes an input file, let's call it foaf.dot, in the following format:
graph G {
"George Formby" [shape=custom, shapefile="file:formby.png"];
"Michael Jackson" [shape=custom, shapefile="file:jackson.png"];
"George Formby" -- "Michael Jackson";
"Fred Flinstone" -- "Michael Jackson";
"Michael Jackson" -- "Steve McQueen";
}
Note that this file describes an undirected graph (hopefully your friendships are reciprocal). The syntax for directed graphs is similar.
In order to output your graph to a pdf file (assuming that you have already installed graphviz) run the following command
dot -Tpdf foaf.dot > foaf.pdf
Graphviz supports a number of output formats other than pdf, see its documentation for details.
I find that the 'dot' program usually provides the best output results, however graphviz contains a total of 5 layout programs. From the documentation:
dot - filter for drawing directed graphs
neato - filter for drawing undirected graphs
twopi - filter for radial layouts of graphs
circo - filter for circular layout of graphs
fdp - filter for drawing undirected graphs
I previously recommended Graphviz, but thought I should add another recommendation now that I have used Gephi, a newer tool than a lot of the stuff here. It's a very powerful interactive graph exploration tool which I have found much more usable and much faster than a lot of the alternatives here.
Try using Google Social Graph. In one of the talks at dConstruct08 last week there was a social graph showing the friend connections of Robert Scoble.
http://code.google.com/apis/socialgraph/
http://dconstruct.org/2008
If you're using Java, you could use JGraph.
I know Adobe Flex has a few graph visualization components out there, and of course that would enable the app to run on Flash which has an excellent penetration rate into your potential userbase. I'd Google up the Flex SpringGraph component, and check that out. There are a ton of graphing components in the wild for Flex, both paid and free versions.
Just one SpringGraph off the top of my head:
http://www.adobe.com/cfusion/exchange/index.cfm?event=extensionDetail&extid=1048510
check this forum: http://goosebumps4all.net/34all/bb/forumdisplay.php?fid=28
for some flare examples, there is a friend of a friend graph around there.
have you tried the Python-based IDE NodeBox (1.0)? That's what I used to generate these: http://givememydata.com/#images
vizster looks cool though, I'll check out that.
For large graphs, Gephi (http://gephi.org/) is very popular. It is highly customisable, with lots of layout and presentation options.