| 1 | /* $Id$ $Revision$ */ |
| 2 | /* vim:set shiftwidth=4 ts=8: */ |
| 3 | |
| 4 | /************************************************************************* |
| 5 | * Copyright (c) 2011 AT&T Intellectual Property |
| 6 | * All rights reserved. This program and the accompanying materials |
| 7 | * are made available under the terms of the Eclipse Public License v1.0 |
| 8 | * which accompanies this distribution, and is available at |
| 9 | * http://www.eclipse.org/legal/epl-v10.html |
| 10 | * |
| 11 | * Contributors: See CVS logs. Details at http://www.graphviz.org/ |
| 12 | *************************************************************************/ |
| 13 | |
| 14 | |
| 15 | #include "config.h" |
| 16 | |
| 17 | #include "gvplugin_layout.h" |
| 18 | |
| 19 | typedef enum { LAYOUT_DOT, } layout_type; |
| 20 | |
| 21 | extern void dot_layout(graph_t * g); |
| 22 | extern void dot_cleanup(graph_t * g); |
| 23 | |
| 24 | gvlayout_engine_t dotgen_engine = { |
| 25 | dot_layout, |
| 26 | dot_cleanup, |
| 27 | }; |
| 28 | |
| 29 | |
| 30 | gvlayout_features_t dotgen_features = { |
| 31 | LAYOUT_USES_RANKDIR, |
| 32 | }; |
| 33 | |
| 34 | gvplugin_installed_t gvlayout_dot_layout[] = { |
| 35 | {LAYOUT_DOT, "dot" , 0, &dotgen_engine, &dotgen_features}, |
| 36 | {0, NULL, 0, NULL, NULL} |
| 37 | }; |
| 38 | |