gvplugin_layout.h 809 B

12345678910111213141516171819202122232425262728293031
  1. /// @file
  2. /// @ingroup plugin_api
  3. /*************************************************************************
  4. * Copyright (c) 2011 AT&T Intellectual Property
  5. * All rights reserved. This program and the accompanying materials
  6. * are made available under the terms of the Eclipse Public License v1.0
  7. * which accompanies this distribution, and is available at
  8. * https://www.eclipse.org/legal/epl-v10.html
  9. *
  10. * Contributors: Details at https://graphviz.org
  11. *************************************************************************/
  12. #pragma once
  13. #include "types.h"
  14. #include "gvplugin.h"
  15. #include "gvcjob.h"
  16. #ifdef __cplusplus
  17. extern "C" {
  18. #endif
  19. /// @ingroup plugin_api
  20. struct gvlayout_engine_s {
  21. void (*layout) (graph_t * g);
  22. void (*cleanup) (graph_t * g);
  23. };
  24. #ifdef __cplusplus
  25. }
  26. #endif