* Contributors: Details at https://graphviz.org
*************************************************************************/
+#pragma once
+
#ifdef __cplusplus
extern "C" {
#endif
-#ifndef BLOCK_H
-#define BLOCK_H
-
#include <circogen/nodelist.h>
typedef struct block block_t;
#define COALESCED(b) (BLK_FLAGS(b)&COALESCED_F)
#define SET_COALESCED(b) (BLK_FLAGS(b) |= COALESCED_F)
-#endif
-
#ifdef __cplusplus
}
#endif
* Contributors: Details at https://graphviz.org
*************************************************************************/
+#pragma once
+
#ifdef __cplusplus
extern "C" {
#endif
-#ifndef BLOCKPATH_H
-#define BLOCKPATH_H
-
#include <circogen/circular.h>
extern nodelist_t *layout_block(Agraph_t * g, block_t * sn, double);
extern void prTree(Agraph_t * g);
#endif
-#endif
-
#ifdef __cplusplus
}
#endif
* Contributors: Details at https://graphviz.org
*************************************************************************/
+#pragma once
+
#ifdef __cplusplus
extern "C" {
#endif
-#ifndef BLOCKTREE_H
-#define BLOCKTREE_H
-
#include <render.h>
#include <circogen/circular.h>
extern void print_blocktree(block_t * sn, int depth);
#endif
-#endif
-
#ifdef __cplusplus
}
#endif
* Contributors: Details at https://graphviz.org
*************************************************************************/
-#ifndef CIRCO_H
-#define CIRCO_H
+#pragma once
#include "render.h"
#ifdef __cplusplus
}
#endif
-#endif
* Contributors: Details at https://graphviz.org
*************************************************************************/
+#pragma once
+
#ifdef __cplusplus
extern "C" {
#endif
-#ifndef CIRCPOS_H
-#define CIRCPOS_H
-
#include <render.h>
#include <circogen/circular.h>
extern void circPos(Agraph_t * g, block_t * sn, circ_state *);
-#endif
-
#ifdef __cplusplus
}
#endif
* Contributors: Details at https://graphviz.org
*************************************************************************/
-#ifndef CIRCULAR_H
-#define CIRCULAR_H
+#pragma once
#include "render.h"
#include <circogen/block.h>
#ifdef __cplusplus
}
#endif
-#endif
* Contributors: Details at https://graphviz.org
*************************************************************************/
+#pragma once
+
#ifdef __cplusplus
extern "C" {
#endif
-#ifndef DEGLIST_H
-#define DEGLIST_H
-
/* List of nodes sorted by increasing degree */
#include <render.h>
extern void printDeglist(deglist_t *);
#endif
-#endif
-
#ifdef __cplusplus
}
#endif
* Contributors: Details at https://graphviz.org
*************************************************************************/
+#pragma once
+
#ifdef __cplusplus
extern "C" {
#endif
-#ifndef EDGELIST_H
-#define EDGELIST_H
-
#include <render.h>
typedef struct edgelistitem {
extern void print_edge(edgelist *);
#endif
-#endif
-
#ifdef __cplusplus
}
#endif
* Contributors: Details at https://graphviz.org
*************************************************************************/
+#pragma once
+
#ifdef __cplusplus
extern "C" {
#endif
-#ifndef NODELIST_H
-#define NODELIST_H
-
#include <render.h>
typedef struct nodelistitem nodelistitem_t;
extern void printNodelist(nodelist_t * list);
#endif
-#endif
-
#ifdef __cplusplus
}
#endif
* Contributors: Details at https://graphviz.org
*************************************************************************/
+#pragma once
+
#ifdef __cplusplus
extern "C" {
#endif
-#ifndef NODESET_H
-#define NODESET_H
-
#include <render.h>
typedef struct {
extern void printNodeset(nodeset_t *);
#endif
-#endif
-
#ifdef __cplusplus
}
#endif