패킷들을 모아서 그림으로 나타내고 싶은데 어떤 라이브러리를 써야될지 모르겠어요

kimdw0305의 이미지

os : windows
언어 : c, c++
visual studio 2015

밑에 올린 사진처럼 그림으로 나타내고 싶은데..
어떤 라이브러리를 써야될가요ㅠㅠ
그리는 라이브러리같은거 따로 있나요

File attachments: 
첨부파일 크기
Image icon aaaa.JPG16.54 KB
zooloo의 이미지

gnu 라이브러리인데 만들면서배우는 lisp 라는 책에서 본적 있습니다
c++ 버전도 있을겁니다
라이브러리 이름은 까먹었습니다
죄송합니다

익명 사용자의 이미지

graphviz 라는 것이 있습니다.
http://www.graphviz.org

kimdw0305의 이미지

gephi랑 graphviz랑 소스는 있는데
제가 프로젝트에 import 하는 법을 몰라서 그런가..
어렵네요

익명 사용자의 이미지

사용하기 쉬워요. 문서를 읽어보세요

http://www.graphviz.org/Documentation.php

kimdw0305의 이미지

.문서에 import 한느법이 안보여요ㅠㅠ

익명 사용자의 이미지

See the sample files

http://www.graphviz.org/dot.demo/demo.c

/* $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));
}
익명 사용자의 이미지

그리고 visio 라는 것도 있습니다.
https://products.office.com/ko-kr/visio/flowchart-software

세벌의 이미지

한느법? 무슨 뜻인가 잠깐 헤맸네요... 하는 법... 세벌식을 쓰면 이런 오타는 안 나지요...

익명_사용자의 이미지

궁금해서 그런데, 세벌식을 사용하면 어떤 형태의 오타도 나오지 않나요?
e.g.,

XX? 무슨뜻인가 잠깐 헤맸네요. 두벌식을 사용하면 이런식의 오타는 나오지 않습니다.

세벌의 이미지

물론 세벌식을 쓴다고 오타가 전혀 안 나는 건 아니죠. 두벌식보다 덜 나고 오타 유형이 다릅니다.
ㅇ벗어 아시죠? 두벌식에서 자주 나는 오타입니다. 없어를 치려면 ㅇㅓㅂㅅㅇㅓ 이 순서로 쳐야 되는데 빨리 치다 보면 순서가 꼬여서 ㅓ와 ㅂ 순서가 바뀌면 이런 오타가 나지요.
이빈다 스빈다 이런 오타들도 두벌식에서 자주 나는 오타!

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.