Class DOTEventDrivenImporter

    • Field Detail

      • DEFAULT_GRAPH_ID_KEY

        public static final java.lang.String DEFAULT_GRAPH_ID_KEY
        Default key used for the graph ID.
        See Also:
        Constant Field Values
      • unescapeId

        private final org.apache.commons.text.translate.CharSequenceTranslator unescapeId
      • notifyVertexAttributesOutOfOrder

        private boolean notifyVertexAttributesOutOfOrder
      • notifyEdgeAttributesOutOfOrder

        private boolean notifyEdgeAttributesOutOfOrder
    • Constructor Detail

      • DOTEventDrivenImporter

        public DOTEventDrivenImporter()
        Constructs a new importer.
      • DOTEventDrivenImporter

        public DOTEventDrivenImporter​(boolean notifyVertexAttributesOutOfOrder,
                                      boolean notifyEdgeAttributesOutOfOrder)
        Constructs a new importer.
        Parameters:
        notifyVertexAttributesOutOfOrder - whether to notify for vertex attributes out-of-order even if they appear together in the input
        notifyEdgeAttributesOutOfOrder - whether to notify for edge attributes out-of-order even if they appear together in the input
    • Method Detail

      • unescapeId

        private java.lang.String unescapeId​(java.lang.String input)
        Unescape a string DOT identifier.
        Parameters:
        input - the input
        Returns:
        the unescaped output
      • unescapeHtmlString

        private static java.lang.String unescapeHtmlString​(java.lang.String input)
        Unescape an HTML string DOT identifier.
        Parameters:
        input - the input
        Returns:
        the unescaped output