/* $Id$ $Revision$ */
/* vim:set shiftwidth=4 ts=8: */
/*************************************************************************
* Copyright (c) 2011 AT&T Intellectual Property
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* <a href="http://www.eclipse.org/legal/epl-v10.html
" rel="nofollow">http://www.eclipse.org/legal/epl-v10.html
</a> *
* Contributors: See CVS logs. Details at <a href="http://www.graphviz.org/
" rel="nofollow">http://www.graphviz.org/
</a> *************************************************************************/
/* Note that, with the call to gvParseArgs(), this application assumes that
* a known layout algorithm is going to be specified. This can be done either
* using argv[0] or requiring the user to run this code with a -K flag specifying
* which layout to use. In the former case, after this program has been built as
* 'demo', you will need to rename it as one of the installed layout engines such
* as dot, neato, sfdp, etc.
*/
#include <gvc.h>
int main(int argc, char **argv)
{
Agraph_t *g;
Agnode_t *n, *m;
Agedge_t *e;
GVC_t *gvc;
/* set up a graphviz context */
gvc = gvContext();
/* parse command line args - minimally argv[0] sets layout engine */
gvParseArgs(gvc, argc, argv);
/* Create a simple digraph */
g = agopen("g", Agdirected, 0);
n = agnode(g, "n", 1);
m = agnode(g, "m", 1);
e = agedge(g, n, m, 0, 1);
/* Set an attribute - in this case one that affects the visible rendering */
agsafeset(n, "color", "red", "");
/* Compute a layout using layout engine from command line args */
gvLayoutJobs(gvc, g);
/* Write the graph according to -T and -o options */
gvRenderJobs(gvc, g);
/* Free layout data */
gvFreeLayout(gvc, g);
/* Free graph structures */
agclose(g);
/* close output file, free context, and return number of errors */
return (gvFreeContext(gvc));
}
물론 세벌식을 쓴다고 오타가 전혀 안 나는 건 아니죠. 두벌식보다 덜 나고 오타 유형이 다릅니다.
ㅇ벗어 아시죠? 두벌식에서 자주 나는 오타입니다. 없어를 치려면 ㅇㅓㅂㅅㅇㅓ 이 순서로 쳐야 되는데 빨리 치다 보면 순서가 꼬여서 ㅓ와 ㅂ 순서가 바뀌면 이런 오타가 나지요.
이빈다 스빈다 이런 오타들도 두벌식에서 자주 나는 오타!
gnu 라이브러리인데 만들면서배우는 lisp 라는
gnu 라이브러리인데 만들면서배우는 lisp 라는 책에서 본적 있습니다
c++ 버전도 있을겁니다
라이브러리 이름은 까먹었습니다
죄송합니다
graphviz 라는 것이
graphviz 라는 것이 있습니다.
http://www.graphviz.org
graphviz가 c에서 사용할 수 있나요??
gephi랑 graphviz랑 소스는 있는데
제가 프로젝트에 import 하는 법을 몰라서 그런가..
어렵네요
사용하기 쉬워요. 문서를
사용하기 쉬워요. 문서를 읽어보세요
http://www.graphviz.org/Documentation.php
문서에 import 한느법이 안보여요ㅠㅠ
.문서에 import 한느법이 안보여요ㅠㅠ
See the sample
See the sample files
http://www.graphviz.org/dot.demo/demo.c
그리고 visio 라는 것도
그리고 visio 라는 것도 있습니다.
https://products.office.com/ko-kr/visio/flowchart-software
한느법? 무슨 뜻인가 잠깐 헤맸네요... 하는
한느법? 무슨 뜻인가 잠깐 헤맸네요... 하는 법... 세벌식을 쓰면 이런 오타는 안 나지요...
세벌 https://sebuls.blogspot.kr/
궁금해서 그런데, 세벌식을 사용하면 어떤 형태의
궁금해서 그런데, 세벌식을 사용하면 어떤 형태의 오타도 나오지 않나요?
e.g.,
물론 세벌식을 쓴다고 오타가 전혀 안 나는 건
물론 세벌식을 쓴다고 오타가 전혀 안 나는 건 아니죠. 두벌식보다 덜 나고 오타 유형이 다릅니다.
ㅇ벗어 아시죠? 두벌식에서 자주 나는 오타입니다. 없어를 치려면 ㅇㅓㅂㅅㅇㅓ 이 순서로 쳐야 되는데 빨리 치다 보면 순서가 꼬여서 ㅓ와 ㅂ 순서가 바뀌면 이런 오타가 나지요.
이빈다 스빈다 이런 오타들도 두벌식에서 자주 나는 오타!
세벌 https://sebuls.blogspot.kr/
댓글 달기