gvlayout_dot_layout.c 960 B

12345678910111213141516171819202122232425262728293031323334
  1. /*************************************************************************
  2. * Copyright (c) 2011 AT&T Intellectual Property
  3. * All rights reserved. This program and the accompanying materials
  4. * are made available under the terms of the Eclipse Public License v1.0
  5. * which accompanies this distribution, and is available at
  6. * https://www.eclipse.org/legal/epl-v10.html
  7. *
  8. * Contributors: Details at https://graphviz.org
  9. *************************************************************************/
  10. #include "config.h"
  11. #include <gvc/gvplugin_layout.h>
  12. typedef enum { LAYOUT_DOT, } layout_type;
  13. extern void dot_layout(graph_t * g);
  14. extern void dot_cleanup(graph_t * g);
  15. gvlayout_engine_t dotgen_engine = {
  16. dot_layout,
  17. dot_cleanup,
  18. };
  19. gvlayout_features_t dotgen_features = {
  20. LAYOUT_USES_RANKDIR,
  21. };
  22. gvplugin_installed_t gvlayout_dot_layout[] = {
  23. {LAYOUT_DOT, "dot", 0, &dotgen_engine, &dotgen_features},
  24. {0, NULL, 0, NULL, NULL}
  25. };