All Downloads are FREE. Search and download functionalities are using the official Maven repository.

pl.touk.nussknacker.engine.additionalInfo.AdditionalInfo.scala Maven / Gradle / Ivy

The newest version!
package pl.touk.nussknacker.engine.additionalInfo

import io.circe.generic.extras.ConfiguredJsonCodec
import pl.touk.nussknacker.engine.api.CirceUtil._

/**
 * This trait represents additional information which can be presented for each node
 * To see usage please check NodeAdditionalInfoProvider trait and NodeAdditionalInfoBox component
 * Each type of info (i.e. implementation of this trait) must also be handled in NodeAdditionalInfoBox.ts!
 */
@ConfiguredJsonCodec sealed trait AdditionalInfo

/**
 *  Contents will be rendered via https://github.com/rexxars/react-markdown component
 */
case class MarkdownAdditionalInfo(content: String) extends AdditionalInfo




© 2015 - 2024 Weber Informatics LLC | Privacy Policy