-
as seen on Stack Overflow
- Search for 'Stack Overflow'
In a program I am writing, I wrote for two classes (Coordinate, and Graph), with one of them taking the other as constructor arguments.
When I try to compile it I get the following error for Graph.cpp:
Undefined symbols:
"Graph::Coordinate::Coordinate(double)", referenced from:
Graph::Graph()…
>>> More
-
as seen on C# Corner
- Search for 'C# Corner'
We can use GDI+ to draw chart components in C# or VB.NET language in memory and once the components are drawn in memory, we can save the drawing in an image on the Web server. Once the image is saved, we can display this image in an ASP.NET page using any Image tag or image control.
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Can anyone please tell me that once I've created a graph using Boost Graph library, how can I display that graph?
My biggest concern is that the edge weights are coming from an exernal data source over the network. And I need to be able to display the edgeweights live as they get updated.
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi, I have a task to draw electrostatic field between
two electrodes( at given sizes and shape ),
what i have now is that i draw the electrodes with area plot (area(elect_x,elect_y))
the graph looks like this:
------------------.---
|..
.---. |..
|...| |…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have an file that is a long list of weighted edges, in the following form
node1_id node2_id weight
node1_id node3_id weight
and so on. So one weighted edge per line.
I want to load this file into boost graph and find the connected components in the graph. Each of these connected components…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I am trying to draw a graph showing search prefixes using twopi. I have a simple input file and am getting this output:
(full image)
Here is the input file:
digraph search {
// ordering=out;
// color=blue;
// rank=same;
// overlap=scale;
rankdir=LR;
root=root;
ranksep=1.25;
overlap=true;
"root";
a…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Once again, here I am writing C without really knowing what I'm doing...
I've slapped together a simple function that I can call from a C# program that takes a DOT string, an output format, and a file name and renders a graph using Graphviz.
#include "types.h"
#include "graph.h"
#include "gvc.h"
#define…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi,
i'm trying to generate the following diagram using Image_GraphViz for PEAR. However It only shows a top-level node (with the text "0") and childnodes "1", "2", "3" and "4" directly under the top-node. Am I missing something?
This is the code:
$gv = new Image_GraphViz(true);
$gv->addEdge(array('1'…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I'm looking into writing a program that will show a graph to the user. The graph will change over time (the user should be able to right-click on a graph item and ask for more detail, which will pop out new bits of the graph), and the user might be able to drag parts of the graph around. I would ideally…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
The XWiki FAQ gives an example for XWiki 1.0 syntax:
{graphviz:type=dot}digraph G {Hello->world}{graphviz}
My XWiki is properly set up to display this.
But I'm not able to translate this into XWiki 2.0 syntax. I tried this
{{graphviz type=dot}} ... {{/graphviz}}
and other variations, but…
>>> More