////
  // Copyright (c) 2021, 2025 Contributors to the Eclipse Foundation
  //
  // This program and the accompanying materials are made
  // available under the terms of the Eclipse Public License 2.0
  // which is available at https://www.eclipse.org/legal/epl-2.0/
  //
  // SPDX-License-Identifier: EPL-2.0
////

include::_initCommon.adoc[]

== Generate GraphML from CIF specification

{lsat} also gives you the opportunity to generate a GraphML diagram from a CIF specification.
This feature allows the user to verifying the correctness of the CIF specification.

image::{imgsdir}/cif-to-yed.png[]
To do so, execute the following steps:

. Right click on the desired file containing the CIF specification.
. Select  _Convert CIF to yEd diagram.._ as shown in the figure above.
. Select your desired output from the available radio buttons: error, warning, normal or debug.
. Press _OK_.
. Two new files should be generated: 
.. (name of your cif file).model.graphml
.. (name of your cif file).relations.graphml

For the official documentation on the CIF to yEd transformer, click
ifdef::eclipse-help[]
link:/help/topic/org.eclipse.escet.cif.documentation/target/eclipse-help/index.html#tools-chapter-cif2yed[here]
endif::eclipse-help[]
ifndef::eclipse-help[]
https://www.eclipse.org/escet/cif/#tools-chapter-cif2yed[here].
endif::eclipse-help[]
